Re: System freeze with multiple ttys in Debian Jessie

2015-08-22 Thread Jonathan de Boyne Pollard
Brian: Systemd handles the terminals [...] ... and all of the mucking around that you two and participants in some other Debian bugs are doing, laudable as it is, is to tweak something that is in fact already superseded by TTYVTDisallocate=yes in autovt@.service . (-: August Karlstrom:

Re: System freeze with multiple ttys in Debian Jessie

2015-07-03 Thread Brian
On Fri 03 Jul 2015 at 12:13:22 +0200, August Karlstrom wrote: On 2015-07-03 01:00, Brian wrote: On Thu 02 Jul 2015 at 23:35:56 +0100, Brian wrote: The colour has changed to That looks like light at the end of the tunnel. :) The light is getting brighter. $SHLVL appears to be one of

Re: System freeze with multiple ttys in Debian Jessie

2015-07-03 Thread August Karlstrom
On 2015-07-03 00:40, Brian wrote: I do not know what the explanation is in any detail but here is something to do which is constructive and instructive: mv ~/.bash_logout ~/.bash_logout-orig and exit. Where are you now? X or a terminal? Yes, without the logout script it works as expected; no

Re: System freeze with multiple ttys in Debian Jessie

2015-07-03 Thread August Karlstrom
On 2015-07-03 01:00, Brian wrote: On Thu 02 Jul 2015 at 23:35:56 +0100, Brian wrote: The colour has changed to That looks like light at the end of the tunnel. :) The light is getting brighter. $SHLVL appears to be one of the players. Change if [ $SHLVL = 1 ]; then in ~/.bash_logout to

Re: System freeze with multiple ttys in Debian Jessie

2015-07-02 Thread Brian
On Thu 02 Jul 2015 at 10:50:07 +0100, Brian wrote: Systemd handles the terminals so this very much looks like a bug in that package. Do you intend to report it? I don't see what is special about tty1. I'm having doubts that systemd is involved in this issue. Installing sysvinit-core and

Re: System freeze with multiple ttys in Debian Jessie

2015-07-02 Thread Brian
On Thu 02 Jul 2015 at 07:07:58 +0200, August Karlstrom wrote: On 2015-07-02 00:20, Brian wrote: Suppose you reboot. You will be on tty1 afterwards. Change to tty2, log in and then log out with the exit command. Are you still on tty2? Yes, this works as expected. I then logged in on tty1 and

Re: System freeze with multiple ttys in Debian Jessie

2015-07-02 Thread Brian
On Thu 02 Jul 2015 at 23:35:56 +0100, Brian wrote: The colour has changed to That looks like light at the end of the tunnel. :) The light is getting brighter. $SHLVL appears to be one of the players. Change if [ $SHLVL = 1 ]; then in ~/.bash_logout to if [ $SHLVL = 2 ]; then and see

Re: System freeze with multiple ttys in Debian Jessie

2015-07-02 Thread August Karlstrom
On 2015-07-02 13:50, Brian wrote: On Thu 02 Jul 2015 at 10:50:07 +0100, Brian wrote: Systemd handles the terminals so this very much looks like a bug in that package. Do you intend to report it? I don't see what is special about tty1. I'm having doubts that systemd is involved in this issue.

Re: System freeze with multiple ttys in Debian Jessie

2015-07-02 Thread Brian
On Thu 02 Jul 2015 at 17:58:35 +0200, August Karlstrom wrote: On 2015-07-02 13:50, Brian wrote: There is no hanging this time but returning to a tty after logging out of one doesn't occur most of the time. When it does happen it is almost as though pressing keys at random is the trigger. A

Re: System freeze with multiple ttys in Debian Jessie

2015-07-02 Thread Brian
On Thu 02 Jul 2015 at 18:45:24 +0100, Brian wrote: On Thu 02 Jul 2015 at 17:58:35 +0200, August Karlstrom wrote: Could it be related to the graphics driver? What card/driver do you use? I remember having issues with switching between ttys when using the NVIDIA driver in Debian Wheezy:

Re: System freeze with multiple ttys in Debian Jessie

2015-07-01 Thread Elimar Riesebieter
* August Karlstrom fusionf...@gmail.com [2015-07-01 08:30 +0200]: I run Debian 8.1. With X-Windows running in tty1, if I login on tty2 (without X) and then logout, instead of seeing the tty2 login prompt the system switches to tty1 and X freezes; I cannot move the mouse, not even switch to a

Re: System freeze with multiple ttys in Debian Jessie

2015-07-01 Thread Brian
On Wed 01 Jul 2015 at 08:30:52 +0200, August Karlstrom wrote: I run Debian 8.1. With X-Windows running in tty1, if I login on tty2 (without X) and then logout, instead of seeing the tty2 login prompt the system switches to tty1 and X freezes; I cannot move the mouse, not even switch to a

Re: System freeze with multiple ttys in Debian Jessie

2015-07-01 Thread August Karlstrom
On 2015-07-01 20:50, Brian wrote: On Wed 01 Jul 2015 at 08:30:52 +0200, August Karlstrom wrote: I run Debian 8.1. With X-Windows running in tty1, if I login on tty2 (without X) and then logout, instead of seeing the tty2 login prompt the system switches to tty1 and X freezes; I cannot move the

System freeze with multiple ttys in Debian Jessie

2015-07-01 Thread August Karlstrom
I run Debian 8.1. With X-Windows running in tty1, if I login on tty2 (without X) and then logout, instead of seeing the tty2 login prompt the system switches to tty1 and X freezes; I cannot move the mouse, not even switch to a different tty. The only keyboard command that seems to work is

Re: System freeze with multiple ttys in Debian Jessie

2015-07-01 Thread August Karlstrom
On 2015-07-02 00:20, Brian wrote: Suppose you reboot. You will be on tty1 afterwards. Change to tty2, log in and then log out with the exit command. Are you still on tty2? Yes, this works as expected. I then logged in on tty1 and started X. Then I logged in and out of tty2 four times and the

Re: System freeze with multiple ttys in Debian Jessie

2015-07-01 Thread August Karlstrom
On 2015-07-01 20:50, Elimar Riesebieter wrote: * August Karlstrom fusionf...@gmail.com [2015-07-01 08:30 +0200]: I run Debian 8.1. With X-Windows running in tty1, if I login on tty2 (without X) and then logout, instead of seeing the tty2 login prompt the system switches to tty1 and X freezes;

Re: System freeze with multiple ttys in Debian Jessie

2015-07-01 Thread Brian
On Wed 01 Jul 2015 at 21:54:40 +0200, August Karlstrom wrote: On 2015-07-01 20:50, Brian wrote: On Wed 01 Jul 2015 at 08:30:52 +0200, August Karlstrom wrote: I run Debian 8.1. With X-Windows running in tty1, if I login on tty2 (without X) and then logout, instead of seeing the tty2 login