[Bug 278457] x11/lightdm: Fix VT/user switching

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 19 Apr 2024 10:31:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278457

            Bug ID: 278457
           Summary: x11/lightdm: Fix VT/user switching
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: tijl@FreeBSD.org
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

Created attachment 250085
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250085&action=edit
patch-src_vt.c

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.