Incompatibility with Wayland and openvt
I'm trying to run a command with openvt on Debian Testing. (stable has the same problem)
For testing purposes I'm running
# logger STARTING OPENVT && openvt -ws sleep 5
Running with gdm3 this crashes the machine completely. Please find a debug log attached GDM-wayland-debug.txt
There is no problem, when doing the same with
-
WaylandEnable=false
in/etc/gdm3/daemon.conf
using lightdm- using sddm
The debug log shows clearly, that gdm spawns a new display on the new VT.
gdm3: GdmLocalDisplayFactory: received VT change event
gdm3: GdmLocalDisplayFactory: VT changed from tty2 to tty1
gdm3: GdmLocalDisplayFactory: creating new display on seat0 because of VT change
gdm3: GdmLocalDisplayFactory: wayland login display for seat seat0 requested
gdm3: GdmLocalDisplayFactory: Adding display on seat seat0
Why is this only happening with Wayland and can I disable this behaviour?
EDIT: Sorry, the machine doesn't crash, just gdm. When I restart it via ssh
systemctl restart gdm3
I have gdm running on VT1 and my old Gnome session on VT2. openvt then returns with
# logger STARTING OPENVT && openvt -ws sleep 5
openvt: Couldn't deallocate console 1
Edited by Ghost User