Bug#1076094: lightdm: switching VTs only works after having delayed or restarted lightdm
Package: lightdm
Version: 1.26.0-8
Severity: normal
Dear Maintainer,
I am using lightdm on several Bookworm machines with openbox and
autologin (using lightdm-autologin-greeter).
However, I noticed that after boot switching VTs does not work —
neither with Ctrl+Alt+Fx nor using chvt. Indeed, chvt hangs forever
and `strace` shows that it is constantly trying to activate the other
TTY and then waiting for the actual switch.
Furthermore, I noticed, that switching the VT works again if I restart
lightdm after boot, or, alternatively, add a delay to the
lightdm.service unit:
ExecStartPre=/usr/bin/sleep 1
After having restarted lightdm, I was unable to reproduce the buggy
behavior, so it seems to me that something starts to quickly.
Thanks in advance for any advice.
Best,
Max
Reply to: