[cause] Re: logout kills X

2019-02-04 Thread Holger Herrlich
The crash happens due to a race condition in switching forth and back using: ioctl(fd,VT_ACTIVATE, tmp_tty) ioctl(fd,VT_WAITACTIVE,tmp_tty) <- here ioctl(fd,VT_ACTIVATE, org_tty) ioctl(fd,VT_WAITACTIVE,org_tty) in clear_console.c's clear_console() function

[solved] Re: logout kills X

2019-02-01 Thread Holger Herrlich
On Thu, 31 Jan 2019 18:36:58 + Brian wrote: > On Thu 31 Jan 2019 at 12:56:59 -0500, Felix Miata wrote: > > > tty1 became special with the introduction of systemd. Do not use > > tty1 for X. Instead use tty2 and/or tty3 and/or tty4 and/or tty5 > > and/or tty6. Buster may have this fixed, as

Re: logout kills X

2019-01-31 Thread Holger Herrlich
systemd is very aware the state: loginctl list-sessions SESSIONUID USER SEAT TTY 1 1000 addams seat0/dev/tty1 25 1000 addams seat0/dev/tty2 2 sessions listed.

Re: logout kills X

2019-01-31 Thread Holger Herrlich
On Wed, 30 Jan 2019 20:25:59 + Brian wrote: > On Wed 30 Jan 2019 at 14:57:59 -0500, Felix Miata wrote: > > > Brian composed on 2019-01-30 19:12 (UTC): > > > > > On Wed 30 Jan 2019 at 13:48:17 -0500, Felix Miata wrote: > > > > >> hoh...@arcor.de composed on 2019-01-30 18:38 (UTC+0

Re: logout kills X

2019-01-31 Thread Holger Herrlich
On Wed, 30 Jan 2019 14:57:59 -0500 Felix Miata wrote: > Brian composed on 2019-01-30 19:12 (UTC): > > > On Wed 30 Jan 2019 at 13:48:17 -0500, Felix Miata wrote: > > >> hoh...@arcor.de composed on 2019-01-30 18:38 (UTC+0100): > > >> > I logged in (to tty1) > >> > started X (startx) > >>

Re: logout kills X

2019-01-31 Thread Holger Herrlich
On Wed, 30 Jan 2019 20:33:44 + Brian wrote: > On Wed 30 Jan 2019 at 13:54:14 -0600, David Wright wrote: > > > On Wed 30 Jan 2019 at 19:12:42 (+), Brian wrote: > > > On Wed 30 Jan 2019 at 13:48:17 -0500, Felix Miata wrote: > > > > hoh...@arcor.de composed on 2019-01-30 18:38 (UTC+

Re: logout kills X

2019-01-31 Thread Holger Herrlich
On Wed, 30 Jan 2019 19:23:43 +0100 deloptes wrote: > hoh...@arcor.de wrote: > > > I finally want to know how to separate the sessions. > > why don't you use a window manager. Most of them offer the option to > log in as different user, which will open a new session on the next > console.