maintainer-feedback requested: [Bug 278457] x11/lightdm: Fix VT/user switching

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 19 Apr 2024 10:31:49 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 278457: x11/lightdm: Fix VT/user switching
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278457



--- Description ---
The first xserver runs on VT9.	When you run the command "dm-tool lock" lightdm
starts a new xserver with a greeter on VT10.  When you unlock the session
lightdm needs to switch back to VT9 and this fails currently.  Similar for
commands like "dm-tool switch-to-greeter" and "dm-tool switch-to-user
USERNAME".

This is a patch to put in x11/lightdm/files.  It ports src/vt.c so lightdm can
do VT switching on FreeBSD.