[Bug 221452] sysutils/consolekit2: session's active state lost when switching between virtual terminals

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 25 15:53:50 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221452

--- Comment #25 from Christina Mueller <chris at mumac.de> ---
Sorry for the delay, things got into the way. I've now reproduced the issue on
a new VM with 13-CURRENT and KDE/SCCM with kern.vty=vt:

This is with KDE on the screen after switching between various VTs:
chris at ck-test:~ $ sysctl kern.vty
kern.vty: vt
chris at ck-test:~ $ ck-list-sessions
Session2:
        unix-user = '1001'
        realname = 'Christina Mueller'
        seat = 'Seat1'
        session-type = 'unspecified'
        session-class = 'user'
        session-state = 'online'
        active = FALSE
        x11-display = ':0'
        x11-display-device = '/dev/ttyv8'
        display-device = '/dev/   ?   '
        remote-host-name = ''
        is-local = TRUE
        on-since = '2020-05-25T15:42:38.148925Z'
        login-session-id = ''
        XDG_RUNTIME_DIR = '/var/run/user/1001'
        VTNr = '9'

One thing worth noting is that just switching from the X VT to VT #1 doesn't
trigger the problem. the X session is still reported as active. Even logging in
on VT #1 did not change anything. switching to VT #2/3/4 and back finally made
the X session inactive and it did not reactivate when switching back to it.

I haven't noticed this before but this could mean that consolekit2 misses some
of the VT switches and this might be part of the problem.

I'll recompile the installed packages with debug info and see if I can track
this down but debugging dbus-launched services is a pain as dbus tends to start
new instances almost at will (I guess it's not happy with the delays incurred
by debugging).

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


More information about the freebsd-gnome mailing list