Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #212244 > unrolled thread

x and virtual consoles

Started byEd <ed-debian@s5h.net>
First post2019-08-04 22:10 +0200
Last post2019-08-05 20:30 +0200
Articles 7 on this page of 27 — 11 participants

Back to article view | Back to linux.debian.user


Contents

  x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-04 22:10 +0200
    Re: x and virtual consoles Cindy Sue Causey <butterflybytes@gmail.com> - 2019-08-05 00:10 +0200
    Re: x and virtual consoles nektarios <nektarios@mail.nektarioskatakis.xyz> - 2019-08-05 00:10 +0200
      Re: x and virtual consoles Cindy Sue Causey <butterflybytes@gmail.com> - 2019-08-05 00:40 +0200
      Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-05 08:30 +0200
    Re: x and virtual consoles Felix Miata <mrmazda@earthlink.net> - 2019-08-05 02:10 +0200
      Re: x and virtual consoles Ed Neville <ed-debian@s5h.net> - 2019-08-05 08:30 +0200
    Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-05 12:00 +0200
      Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-05 23:00 +0200
    Re: x and virtual consoles deloptes <deloptes@gmail.com> - 2019-08-05 13:20 +0200
      Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-05 23:00 +0200
        Re: x and virtual consoles David Wright <deblis@lionunicorn.co.uk> - 2019-08-06 00:10 +0200
          Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-06 08:20 +0200
            Re: x and virtual consoles David Wright <deblis@lionunicorn.co.uk> - 2019-08-06 16:20 +0200
        Re: x and virtual consoles Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-06 08:10 +0200
          Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-06 08:20 +0200
            Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-06 09:40 +0200
              Re: x and virtual consoles deloptes <deloptes@gmail.com> - 2019-08-06 14:50 +0200
                Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-06 15:30 +0200
                  Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-06 15:50 +0200
                  Re: x and virtual consoles Gene Heskett <gheskett@shentel.net> - 2019-08-06 16:40 +0200
                    Re: x and virtual consoles Ed Neville <ed-debian@s5h.net> - 2019-08-06 21:00 +0200
              Re: x and virtual consoles Marc Shapiro <marcnshap@gmail.com> - 2019-09-10 08:40 +0200
    Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-05 13:40 +0200
      Re: x and virtual consoles Felix Miata <mrmazda@earthlink.net> - 2019-08-05 17:20 +0200
        Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-05 19:20 +0200
        Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-05 20:30 +0200

Page 2 of 2 — ← Prev page 1 [2]


#212315

FromGene Heskett <gheskett@shentel.net>
Date2019-08-06 16:40 +0200
Message-ID<ys8N4-3nt-7@gated-at.bofh.it>
In reply to#212309
On Tuesday 06 August 2019 09:22:15 Curt wrote:

> On 2019-08-06, deloptes <deloptes@gmail.com> wrote:
> > Curt wrote:
> >> LightDM's dm-tool command can be used to allow multiple users to be
> >> logged in on separate ttys. The following will send a signal
> >> requesting that the current session be locked and then will
> >> initiate a switch to LightDM's greeter, allowing a new user to log
> >> in to the system.
> >
> > it says multiple users - not the same user
>
> curty@einstein:~/glimmer$ man dm-tool
> <snipperooney>
>     switch-to-greeter
>            Switch to the greeter suitable for logging into a new
>            session.
>
> Says "logging into a new *session*." (emphasis mine).
>
> Let's ask Gene to try it and report back.

I did, created a user test, logged in, but when I came back to the 
machine 10 minutes later, the screen was locked and showing gene as the 
default login.

I've shut it down as I needed to switch cards and boot a stretch that 
works with linuxcnc. But I'm also installing a new upper countershaft 
and bearings for one end of it as a metal spray failed and wrecked the 
bearings. So I bought a new shaft but it had no woodruff key seats cut.
Thats been fun, the shaft is hardened to 60C and carbide tooling is 
dulled instantly.  So I used that tool up trying to EDM the keyway, but 
ran out of broken 1/8" carbide to serve as the electrode. Finally wound 
up with it rigged in my 4 axis gantry, mill and using 3/4" cutoff 
wheels, stacked 4 thick on a dremel arbor being spun by a 1.5 horse 
water cooled motor, at 24k rpms, was able to get it done.

And I'll run the stretch install until a pi4 gets here, if I even get it 
back together before the pi4 arrives. Since new bearings won't be here 
till Thursday late, I'll be Friday pulling those in, then Saturday will 
be wasted putting the spindle back together with new powertwist belting 
hanging down into the drive, then Sunday back to sitting on a very low 
creeper/stool trying to put this shaft back in with belts that may be a 
link short. That involves putting a taperlock hub into the pulley that 
drives those belts, making an even shorter arm allan wrench to tighten 
the taperlock I made because the pulley bore was washed out, and 
tightening that is a multistep process that takes several hours due to 
lack of space to properly run that allen wrench. I can only tighten one 
screw 1/6th turn at time, then rotate to bring the next of 3 screws 
reachable.  But it will be tight enough when done that the lack of a key 
is a never mind. It will not slip.

I haven't over the years, cared for my back all that well, been pushed 
too hard too many times, so 2 crushed disks pinning my sciatic nerves 
isn't fun. Its painfull, and sometimes my legs do not do what my brain 
tells them to, so I may have to kill some time resting to recouperate.

Getting old isn't for wimps as I'm finding out while looking for some 
reason to celebrate my 85th in a couple months.  I guess that makes me 
officially an old fart?

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#212335

FromEd Neville <ed-debian@s5h.net>
Date2019-08-06 21:00 +0200
Message-ID<yscQF-5R8-1@gated-at.bofh.it>
In reply to#212315
On 2019-08-06 10:31-0400, Gene Heskett wrote:
> I did, created a user test, logged in, but when I came back to the 
> machine 10 minutes later, the screen was locked and showing gene as 
> the default login.

dm-tool did work to switch the user. That solves a problem for now. 
Please don't see this as being too picky, but it would be nice for tty 
invoked startx to work like it used to, say if lightdm drops dm-tool at 
some point in the future. ctrl-alt-function keys seems to work in other 
distros, just not debian any longer, something seems different here.

> Getting old isn't for wimps as I'm finding out while looking for some 
> reason to celebrate my 85th in a couple months.  I guess that makes me 
> officially an old fart?

Many, many people failed to make it that far. I wonder what the kernel 
will be like when I get to 85, maybe it will insult me telepathically!

-- 
Best regards,
Ed http://www.s5h.net/

[toc] | [prev] | [next] | [standalone]


#213851

FromMarc Shapiro <marcnshap@gmail.com>
Date2019-09-10 08:40 +0200
Message-ID<yEHYJ-59C-7@gated-at.bofh.it>
In reply to#212301
On 8/6/19 12:29 AM, Curt wrote:
> On 2019-08-06, Ed <ed-debian@s5h.net> wrote:
>> On 2019-08-06 09:02+0300, Andrei POPESCU wrote:
>>> On Lu, 05 aug 19, 21:56:55, Ed wrote:
>>>> How do you run two login managers though so that you can have two users
>>>> share the same computer without having to log out? In other words,
>>>> whilst I go and make dinner I want to allow someone else to sit here,
>>>> without having to shut applications down?
>>> Some login managers have the "switch user" feature.
>> Does that feature take the user back to the login screen without leaving
>> the applications running?
>>
>
> https://wiki.archlinux.org/index.php/LightDM
>
>   LightDM's dm-tool command can be used to allow multiple users to be logged in
>   on separate ttys. The following will send a signal requesting that the current
>   session be locked and then will initiate a switch to LightDM's greeter,
>   allowing a new user to log in to the system.
>
> $ dm-tool switch-to-greeter
>
> Looks promising.
>
I am another one of those who like to boot to a terminal and then run 
startx (which then runs mate), so this may not apply if you want to boot 
to a DE's login manager, but just to get it out there for those who are 
interested:

My wife, daughter and I each have separate logins on a single box.  On 
the rare occasions that the system gets rebooted, I log on to vt1 and 
run startx (using alias startx='clear; startx -- :0'), my wife logs on 
to vt2 and runs startx (using alias startx='clear; startx -- :1'), and 
my daughter uses vt3 and alias startx='clear; startx -- :2'.  After that 
ctl-alt-f1 gets to my session, ctl-alt-f2 gets to my wife's session and 
ctl-alt-f3 gets to my daughter's session.  All sessions running all the 
time.  The only disadvantage to this is that occasionally a web page 
that my daughter has up will decide that it's time to play music.  Then 
I have to find the offending page and mute it.  Other than that, this 
system has worked for us for years.

Marc

[toc] | [prev] | [next] | [standalone]


#212260

FromCurt <curty@free.fr>
Date2019-08-05 13:40 +0200
Message-ID<yrJvj-4m5-1@gated-at.bofh.it>
In reply to#212244
On 2019-08-04, Ed <ed-debian@s5h.net> wrote:
>
>   1. log in via lightdm/gdm
>   2. switch to a text console
>   3. run startx and use the window manager for a moment or two
>   4. switch back to first session

Maybe this is the bug we're looking for:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834270

Fix (Simon says):

 * removing the call to /usr/bin/clear_console from ~/.bash_logout 
 (console is cleared anyway nowadays)
 * replacing the call to /usr/bin/clear_console with /usr/bin/reset in 
 ~/.bash_logout

-- 
“We are all in the gutter, but some of us are looking at the stars.” 
― Oscar Wilde, Lady Windermere's Fan

[toc] | [prev] | [next] | [standalone]


#212263

FromFelix Miata <mrmazda@earthlink.net>
Date2019-08-05 17:20 +0200
Message-ID<yrMWd-6yf-3@gated-at.bofh.it>
In reply to#212260
Curt composed on 2019-08-05 11:29 (UTC):

> Maybe this is the bug we're looking for:

> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834270

> Fix (Simon says):

>  * removing the call to /usr/bin/clear_console from ~/.bash_logout 
>  (console is cleared anyway nowadays)
>  * replacing the call to /usr/bin/clear_console with /usr/bin/reset in 
>  ~/.bash_logout

That's the bug and workaround I couldn't remember for my  previous reply. I rarely
login on vtty1 as a habit going back many moons.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

[toc] | [prev] | [next] | [standalone]


#212269

FromEd <ed-debian@s5h.net>
Date2019-08-05 19:20 +0200
Message-ID<yrOOl-7Ie-1@gated-at.bofh.it>
In reply to#212263
On 2019-08-05 11:11-0400, Felix Miata wrote:
> 
> > Fix (Simon says):
> 
> >  * removing the call to /usr/bin/clear_console from ~/.bash_logout 
> >  (console is cleared anyway nowadays)
> >  * replacing the call to /usr/bin/clear_console with /usr/bin/reset in 
> >  ~/.bash_logout

Why would bash_logout be involved thought? Switching vt should not force 
a logout. I can understand it forcing a lock screen, but not a logout, 
surely?

> That's the bug and workaround I couldn't remember for my  previous reply. I rarely
> login on vtty1 as a habit going back many moons.

That didn't solve it for me, unfortunately. I will try again this week 
with a selection of different Debian versions.

To explain a little more about why I used this heavily, my local user 
'ed' would have a normal xfce desktop, whilst my working from home user 
would match the username at $corp for convenience. The rest of the 
family have their own user accounts and we could work in harmony.

What I've found though, is that this issue doesn't occur with 
Elementary. I've not tested with plain Ubuntu. In a way, if the problem 
exists in Ubuntu or one of the other variants then I may have a delta to 
investigate.

-- 
Best regards,
Ed http://www.s5h.net/

[toc] | [prev] | [next] | [standalone]


#212270

FromCurt <curty@free.fr>
Date2019-08-05 20:30 +0200
Message-ID<yrPU6-8kR-7@gated-at.bofh.it>
In reply to#212263
On 2019-08-05, Felix Miata <mrmazda@earthlink.net> wrote:
> Curt composed on 2019-08-05 11:29 (UTC):
>
>> Maybe this is the bug we're looking for:
>
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834270
>
>> Fix (Simon says):
>
>>  * removing the call to /usr/bin/clear_console from ~/.bash_logout 
>>  (console is cleared anyway nowadays)
>>  * replacing the call to /usr/bin/clear_console with /usr/bin/reset in 
>>  ~/.bash_logout
>
> That's the bug and workaround I couldn't remember for my  previous reply. I rarely
> login on vtty1 as a habit going back many moons.

Wading through extraneous material until arrival at the relevant log
files, which may reveal some clue, except those are curiously kept under
wraps.


-- 
“We are all in the gutter, but some of us are looking at the stars.” 
― Oscar Wilde, Lady Windermere's Fan

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.debian.user


csiph-web