** Changed in: xorg (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1822184
Title:
clear_console locks up video when X is running and you log out from a
plain text console
Status in X.Org X server:
New
Status in bash package in Ubuntu:
Fix Released
Status in xorg-server package in Ubuntu:
Confirmed
Status in xorg package in Debian:
Fix Released
Status in xorg-server package in Debian:
Fix Released
Bug description:
References:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810660
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866898
If X is running and you switch to a plain text console (ie ctrl-alt-f3), log
in as a regular user, and then log out, the display switches back to the
graphical login screen and locks up. The system is still functioning (can ssh
in, etc) but the video output is frozen.
The underlying cause is:
https://gitlab.freedesktop.org/xorg/xserver/issues/492
However, the problem can at least be worked around by making
clear_console switch to tty 6 and back instead of switching to 1 and
back. This patch corrects the problem:
--- bash-4.4.18.orig/debian/clear_console.c 2019-03-28 12:09:02.415907787
-0400
+++ bash-4.4.18/debian/clear_console.c 2019-03-28 12:08:11.984366858 -0400
@@ -205,7 +205,7 @@
#if defined(__linux__)
num = vtstat.v_active;
#endif
- tmp_num = (num == 1 ? 2 : 1);
+ tmp_num = (num == 6 ? 5 : 6);
/* switch vt to clear the scrollback buffer */
if (ioctl(fd, VT_ACTIVATE, tmp_num))
To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1822184/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp