You are not logged in.

#1 2017-09-11 22:28:43

tsh
Member
From: Munich
Registered: 2014-07-25
Posts: 47
Website

[SOLVED] Unable to switch to virtual terminals

Hi! I am unable to switch to a virtual terminal from X; the X display freezes and when I press Ctrl+Alt+F7 (where my X runs) it display is again responsive.

This behavior doesn't seem to be consistent, but when it starts it stays like that until rebooted.

I noticed this first with linux linux-4.12.8-2, but it could very well be present in earlier versions.  I am currently using linux 4.12.10-1-ARCH with Intel modesetting driver. This is on a Thinkpad with a Haswell processor and I use it with an external monitor connected through a dock.

Can anyone with a similar setup confirm this? Tips/feedback also appreciated.

Thanks.

Last edited by tsh (2018-01-29 21:28:29)

Offline

#2 2017-09-11 22:49:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Unable to switch to virtual terminals

Post your Xorg log and journal from a frozen session. Does it happen using native modesetting?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-09-12 09:43:55

tsh
Member
From: Munich
Registered: 2014-07-25
Posts: 47
Website

Re: [SOLVED] Unable to switch to virtual terminals

I do not know what native modesetting is. I am not using any userspace Xorg drivers from intel --- I haven't installed xserver-xorg-video-intel.

Here is an excerpt from Xorg.log when the freeze happens. Notice that the freeze occurred when I changed to VT5, and ended when I changed bact to VT7.

[114837.373] (II) event6  - (II) Power Button: (II) device removed
[114837.389] (II) event16 - (II) Video Bus: (II) device removed
[114837.448] (II) event5  - (II) Sleep Button: (II) device removed
[114837.468] (II) event22 - (II) Integrated Camera: (II) device removed
[114837.513] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device removed
[114837.532] (II) event14 - (II) SynPS/2 Synaptics TouchPad: (II) device removed
[114837.572] (II) event23 - (II) TPPS/2 IBM TrackPoint: (II) device removed
[114837.616] (II) event7  - (II) ThinkPad Extra Buttons: (II) device removed
[114837.636] (II) AIGLX: Suspending AIGLX clients for VT switch
[114840.591] (II) AIGLX: Resuming AIGLX clients after VT switch
[114840.646] (II) modeset(0): EDID vendor "LGD", prod id 1034
[114840.646] (II) modeset(0): Printing DDC gathered Modelines:
[114840.646] (II) modeset(0): Modeline "1920x1080"x0.0  140.10  1920 1980 2016 2092  1080 1083 1088 1116 +hsync -vsync (67.0 kHz eP)
[114840.829] (II) event6  - (II) Power Button: (II) is tagged by udev as: Keyboard
[114840.829] (II) event6  - (II) Power Button: (II) device is a keyboard
[114840.830] (II) event16 - (II) Video Bus: (II) is tagged by udev as: Keyboard
[114840.830] (II) event16 - (II) Video Bus: (II) device is a keyboard
[114840.830] (II) event5  - (II) Sleep Button: (II) is tagged by udev as: Keyboard
[114840.830] (II) event5  - (II) Sleep Button: (II) device is a keyboard
[114840.831] (II) event22 - (II) Integrated Camera: (II) is tagged by udev as: Keyboard
[114840.831] (II) event22 - (II) Integrated Camera: (II) device is a keyboard
[114840.831] (II) event0  - (II) AT Translated Set 2 keyboard: (II) is tagged by udev as: Keyboard
[114840.831] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device is a keyboard
[114840.831] (II) event14 - (II) SynPS/2 Synaptics TouchPad: (II) is tagged by udev as: Touchpad
[114840.831] (II) event14 - (II) SynPS/2 Synaptics TouchPad: (II) device is a touchpad
[114840.832] (II) event23 - (II) TPPS/2 IBM TrackPoint: (II) is tagged by udev as: Mouse Pointingstick
[114840.832] (II) event23 - (II) TPPS/2 IBM TrackPoint: (II) set to const accel 1.00
[114840.832] (II) event23 - (II) TPPS/2 IBM TrackPoint: (II) device is a pointer
[114840.832] (II) event7  - (II) ThinkPad Extra Buttons: (II) is tagged by udev as: Keyboard Switch
[114840.832] (II) event7  - (II) ThinkPad Extra Buttons: (II) device is a keyboard

And from the journal:

Sep 12 11:25:23 iris systemd-logind[846]: VT changed to 5
Sep 12 11:25:23 iris systemd-logind[846]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/login1/session/c2 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=588 reply_cookie=0 error=n/a
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/dri/card0 for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/dri/renderD128 for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/hwC0D0 for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/pcmC0D10p for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/pcmC0D3p for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/pcmC0D7p for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/pcmC0D8p for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/pcmC0D9p for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/controlC0 for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/video1 for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/hwC1D0 for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/pcmC1D0c for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/pcmC1D0p for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/controlC1 for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/kvm for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found udev node /dev/snd/timer for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found static node /dev/snd/seq for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Found static node /dev/snd/timer for seat seat0
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC0D9p for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/hwC1D0 for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/controlC0 for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC1D0p for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/video1 for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/dri/renderD128 for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/hwC0D0 for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/kvm for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/timer for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC0D3p for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/seq for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC1D0c for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC0D10p for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/dri/card0 for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC0D7p for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC0D8p for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Changing ACLs at /dev/snd/controlC1 for seat seat0 (uid 1000→0 del)
Sep 12 11:25:23 iris systemd-logind[846]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/login1/seat/seat0 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=589 reply_cookie=0 error=n/a
Sep 12 11:25:23 iris systemd-logind[846]: Got message type=method_call sender=:1.19 destination=org.freedesktop.login1 object=/org/freedesktop/login1/session/c2 interface=org.freedesktop.DBus.Properties member=Get cookie=10 reply_cookie=0 error=n/a
Sep 12 11:25:23 iris systemd-logind[846]: Sent message type=method_return sender=n/a destination=:1.19 object=n/a interface=n/a member=n/a cookie=590 reply_cookie=10 error=n/a
Sep 12 11:25:26 iris systemd-logind[846]: VT changed to 7
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/dri/card0 for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/dri/renderD128 for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/hwC0D0 for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/pcmC0D10p for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/pcmC0D3p for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/pcmC0D7p for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/pcmC0D8p for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/pcmC0D9p for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/controlC0 for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/video1 for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/hwC1D0 for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/pcmC1D0c for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/pcmC1D0p for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/controlC1 for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/kvm for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found udev node /dev/snd/timer for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found static node /dev/snd/seq for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Found static node /dev/snd/timer for seat seat0
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC0D8p for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC0D3p for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/seq for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/hwC0D0 for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/dri/card0 for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/dri/renderD128 for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC0D10p for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/timer for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/hwC1D0 for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/video1 for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC1D0c for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/kvm for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC0D7p for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/controlC1 for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/controlC0 for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC1D0p for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Changing ACLs at /dev/snd/pcmC0D9p for seat seat0 (uid 0→1000 add)
Sep 12 11:25:26 iris systemd-logind[846]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/login1/session/c2 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=591 reply_cookie=0 error=n/a
Sep 12 11:25:26 iris systemd-logind[846]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/login1/seat/seat0 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=592 reply_cookie=0 error=n/a
Sep 12 11:25:27 iris systemd-logind[846]: Got message type=method_call sender=:1.18 destination=:1.1 object=/org/freedesktop/login1/session/c2 interface=org.freedesktop.login1.Session member=SetIdleHint cookie=87 reply_cookie=0 error=n/a
Sep 12 11:25:27 iris systemd-logind[846]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetConnectionUnixUser cookie=593 reply_cookie=0 error=n/a
Sep 12 11:25:27 iris systemd-logind[846]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.1 object=n/a interface=n/a member=n/a cookie=138 reply_cookie=593 error=n/a

Full Xorg.log: https://ptpb.pw/Bp2s

Last edited by tsh (2017-09-12 10:40:09)

Offline

#4 2017-09-12 12:54:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,229

Re: [SOLVED] Unable to switch to virtual terminals

The errors are likely not in logind, but dmesg might turn out being interesting.

Offline

#5 2018-01-29 21:28:10

tsh
Member
From: Munich
Registered: 2014-07-25
Posts: 47
Website

Re: [SOLVED] Unable to switch to virtual terminals

I solved it by disabling the lightdm display manager.  Now I just use startx from VTs of two different users and run Xorg as non-root.  This way, I can keep two or more graphical sessions without losing either of them.  For some reason, when I startx from a VT while there is a session started by lightdm, the lightdm sessions gets terminated after some time. Marking as solved.

Offline

Board footer

Powered by FluxBB