Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #188318
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: X crashes when closing one of two running X sessions |
| Date | 2017-10-26 00:40 +0200 |
| Message-ID | <uECv7-5GY-5@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <uDOI2-7Q-11@gated-at.bofh.it> <uDRwd-1V1-11@gated-at.bofh.it> <uDSVk-2EN-9@gated-at.bofh.it> <uE0ga-7hh-1@gated-at.bofh.it> <uE5IS-2fS-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue 24 Oct 2017 at 07:31:32 -0400, The Wanderer wrote: > On 2017-10-24 at 01:40, Robert Arkiletian wrote: > > > On Mon, Oct 23, 2017 at 2:51 PM, The Wanderer <wanderer@fastmail.fm> wrote: > > > >> On 2017-10-23 at 16:21, Robert Arkiletian wrote: > >> > >>> Just tried this on a different box running Fedora 25 (64) and it > >>> works perfectly, no problem. So I think this is a Debian bug. > >>> Although on Fedora I'm not starting the first X session with startx, > >>> I can start another X session on tty2 with startx and switch to tty3, > >>> log in and log out without issue. > >> > >> Per the description in bug 791342 (linked to from 858073 as being the > >> same issue), "[s]tarting the server on tty[2-6] does not generally > >> appear to lead to the behaviour described above". So I don't think this > >> is enough of a test to conclude that Fedora does not exhibit the same > >> behaviour. > > > > My mistake. Confirmed the same behavior on the Debian Stretch box. If > > I don't use tty1 everything is fine. I can use tty2 (running X) and > > tty3 logging in and out switching back and forth, no issues. What an > > odd bug. Well at least I have a workaround now. I will simply avoid > > using tty1. > > > > Update: Looked further into the thread with Brian and August from 2015 > > and it seems like the clear_console command (in .bash_logout) is at > > fault. So I commented out clear_console in .bash_logout and everything > > works great. No issues even on tty1. clear_console man page says > > > > clear_console clears your console if this is possible. It looks in the > > environment for the terminal type and then in the terminfo database to > > figure out how to clear the screen. To clear the buffer, it then > > changes the foreground virtual terminal to another terminal and then > > back to the original terminal. > > > > The log files I posted earlier in this thread indicate the crash was > > due to "Permission denied". It makes sense that the bug did not > > manifest itself while logging in and out of the root account as > > permission was not a factor in "changes the foreground virtual > > terminal to another terminal and then back to the original > > terminal". My guess is clear_console has tty1 hard coded in. I notice > > Matthias K. is the maintainer of the bash package (which has > > clear_console) for Debian. I wonder if he might consider poking > > upstream devs of clear_console about this issue? > > That program is shipped as part of bash, so it looks as if this might > actually be considered a bash bug. I'd see about reporting it there, yes > - either in Debian or upstream. https://bugs.freedesktop.org/show_bug.cgi?id=93164 Which could be added to the existing Debian report. -- Brian.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
X crashes when closing one of two running X sessions Robert Arkiletian <robark@gmail.com> - 2017-10-18 18:20 +0200
Re: X crashes when closing one of two running X sessions Floris <jkfloris@dds.nl> - 2017-10-19 10:10 +0200
Re: X crashes when closing one of two running X sessions Greg Wooledge <wooledg@eeg.ccf.org> - 2017-10-19 14:40 +0200
Re: X crashes when closing one of two running X sessions Robert Arkiletian <robark@gmail.com> - 2017-10-22 18:20 +0200
Re: X crashes when closing one of two running X sessions Robert Arkiletian <robark@gmail.com> - 2017-10-22 18:50 +0200
Re: X crashes when closing one of two running X sessions Brian <ad44@cityscape.co.uk> - 2017-10-23 18:40 +0200
Re: X crashes when closing one of two running X sessions Robert Arkiletian <robark@gmail.com> - 2017-10-23 19:30 +0200
Re: X crashes when closing one of two running X sessions Robert Arkiletian <robark@gmail.com> - 2017-10-23 22:30 +0200
Re: X crashes when closing one of two running X sessions The Wanderer <wanderer@fastmail.fm> - 2017-10-24 00:00 +0200
Re: X crashes when closing one of two running X sessions Robert Arkiletian <robark@gmail.com> - 2017-10-24 07:50 +0200
Re: X crashes when closing one of two running X sessions The Wanderer <wanderer@fastmail.fm> - 2017-10-24 13:40 +0200
Re: X crashes when closing one of two running X sessions Greg Wooledge <wooledg@eeg.ccf.org> - 2017-10-24 14:20 +0200
Re: X crashes when closing one of two running X sessions The Wanderer <wanderer@fastmail.fm> - 2017-10-24 14:40 +0200
Re: X crashes when closing one of two running X sessions David Wright <deblis@lionunicorn.co.uk> - 2017-10-24 18:20 +0200
Re: X crashes when closing one of two running X sessions Marc Shapiro <marcnshap@gmail.com> - 2017-10-25 04:40 +0200
Re: X crashes when closing one of two running X sessions Robert Arkiletian <robark@gmail.com> - 2017-10-25 19:30 +0200
Re: X crashes when closing one of two running X sessions Brian <ad44@cityscape.co.uk> - 2017-10-26 00:40 +0200
Re: X crashes when closing one of two running X sessions Jimmy Johnson <field.engineer@gmail.com> - 2017-10-24 21:40 +0200
Re: X crashes when closing one of two running X sessions Jimmy Johnson <field.engineer@gmail.com> - 2017-10-19 17:40 +0200
Re: X crashes when closing one of two running X sessions David Wright <deblis@lionunicorn.co.uk> - 2017-10-19 22:10 +0200
Re: X crashes when closing one of two running X sessions Jimmy Johnson <field.engineer@gmail.com> - 2017-10-20 00:00 +0200
Re: X crashes when closing one of two running X sessions David Wright <deblis@lionunicorn.co.uk> - 2017-10-20 00:20 +0200
csiph-web