FS#70528 - [sddm] switching vtty does not activate graphical session

Attached to Project: Arch Linux
Opened by Georg Wolfram (Gosi) - Wednesday, 21 April 2021, 17:25 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 21 April 2021, 20:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

After upgrading sddm from 0.19.0-4 to 0.19.0-5 switching to a tty and then back to the graphical session shows only boot messages (text).

Switching to the graphical session can still be achieved by:
$ loginctl
SESSION UID USER SEAT TTY
11 1000 georg seat0 tty2
13 1000 georg seat0

% loginctl activate 13

After looking at the changes I suspect the sddm-x11-server-vt-allocate.patch as the origin of this issue.


Additional info:
I am running plasma with Xorg
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 21 April 2021, 20:47 GMT
Reason for closing:  Upstream
Comment by Georg Wolfram (Gosi) - Wednesday, 21 April 2021, 18:30 GMT
It seems that Xorg is started on the "wrong" vtty:
/usr/lib/Xorg -nolisten tcp -background none -seat seat0 vt2 -auth /var/run/sddm/{5a3bbd6d-1d5e-4fbf-8438-e5c609fac15f} -noreset -displayfd 17

After a reboot I can switch between vttys again, but X is on vtty2 now.

vtty2 was occupied after updating and therefore it looked as if it is not possible to switch.
Comment by Antonio Rojas (arojas) - Wednesday, 21 April 2021, 20:07 GMT
So can this be closed? The patch changes the way new VTs are allocated, if you think there's something wrong with the new behavior please bring it up upstream.
Comment by Georg Wolfram (Gosi) - Wednesday, 21 April 2021, 20:46 GMT
It can be closed, I filed a bugreport upstream.
https://github.com/sddm/sddm/issues/1394

Loading...