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


Groups > linux.debian.user > #188256

Re: X crashes when closing one of two running X sessions

From Marc Shapiro <marcnshap@gmail.com>
Newsgroups linux.debian.user
Subject Re: X crashes when closing one of two running X sessions
Date 2017-10-25 04:40 +0200
Message-ID <uEjLP-2BV-1@gated-at.bofh.it> (permalink)
References (6 earlier) <uE0ga-7hh-1@gated-at.bofh.it> <uE5IS-2fS-11@gated-at.bofh.it> <uE6lz-2Kc-9@gated-at.bofh.it> <uE6EW-2QN-11@gated-at.bofh.it> <uEa5P-52D-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/24/2017 09:14 AM, David Wright wrote:
> On Tue 24 Oct 2017 at 08:29:50 (-0400), The Wanderer wrote:
>> On 2017-10-24 at 08:15, Greg Wooledge wrote:
>>
>>> On Tue, Oct 24, 2017 at 07:31:32AM -0400, The Wanderer wrote:
>>>
>>>>> clear_console clears your console if this is possible.  It looks in the
>>>> 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.
>>> Definitely not upstream.
>>>
>>> wooledg:/usr/src/bash$ tar xzf bash-4.3.30.tar.gz
>>> wooledg:/usr/src/bash$ cd bash-4.3.30
>>> wooledg:/usr/src/bash/bash-4.3.30$ grep -ri clear_console .
>>> wooledg:/usr/src/bash/bash-4.3.30$
>>>
>>> I'd never even heard of it until now.  It's definitely a Debian add-on.
>> Thanks. I hadn't considered checking that way, but it's good to have
>> this confirmed.
> I looked at my ~/.bash_logout and found I had recrafted it
> long enough ago to forget doing it, just after starting to
> use jessie.
>
> It uses reset, and I often type reset myself, at times like
> when the ssh pipe breaks during emacs -nw which throws you back
> to a local bash prompt but with no visible cursor and a broken
> command history recall.
>
> Cheers,
> David.
>
That fixed it here.  I noticed this problem a few months ago, but never 
tracked down the source.  About the only time anyone actually logs out 
of a terminal session on this box is if I need to reboot (such as for a 
new kernel).  This is an annoyance due to causing an unclean shutdown, 
but nothing more.  My workaround had been to shut down the X session on 
vt01 first, then the other two.  But this is better.  I replaced 
clear_console with a call to reset and the problem went away.  I shut 
down my dfaughter's X session and logged her out.  My X session on vt01 
is still up and running.


Thanks for the tip, David.


Marc

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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