[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 19:53:13 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221452
--- Comment #29 from Olivier Duchateau <duchateau.olivier at gmail.com> ---
It's SSDM problem! I'm using Xfce with LightDM and session properties are fine.
With Xorg session, I get
>gdbus introspect -y -d org.freedesktop.ConsoleKit -o /org/freedesktop/ConsoleKit/Session2 --only-properties
>node /org/freedesktop/ConsoleKit/Session2 {
> interface org.freedesktop.ConsoleKit.Session {
> properties:
> readonly u unix-user = 1001;
> readonly u user = 0;
> readonly (so) Seat = ('Seat1', '/org/freedesktop/ConsoleKit/Seat1');
> readonly s session-type = 'unspecified';
> readonly s session-class = 'user';
> readonly s session-state = 'active';
> readonly s remote-host-name = '';
> readonly s display-device = '/dev/ ? ';
> readonly s x11-display = ':0';
> readonly s x11-display-device = '/dev/ttyv8';
> readonly u VTNr = 9;
> readonly b active = true;
> readonly b is-local = true;
> readwrite b idle-hint = false;
> readonly b LockedHint = false;
> };
>};
The object path (/org/freedesktop/ConsoleKit/Session2) is found with following
command:
>gdbus introspect -y -d org.freedesktop.ConsoleKit -o /org/freedesktop/ConsoleKit
If I switch to VT #2 (or another) I get:
>gdbus introspect -y -d org.freedesktop.ConsoleKit -o /org/freedesktop/ConsoleKit/Session2 --only-properties
>node /org/freedesktop/ConsoleKit/Session2 {
> interface org.freedesktop.ConsoleKit.Session {
> properties:
> readonly u unix-user = 1001;
> readonly u user = 0;
> readonly (so) Seat = ('Seat1', '/org/freedesktop/ConsoleKit/Seat1');
> readonly s session-type = 'unspecified';
> readonly s session-class = 'user';
> readonly s session-state = 'online';
> readonly s remote-host-name = '';
> readonly s display-device = '/dev/ ? ';
> readonly s x11-display = ':0';
> readonly s x11-display-device = '/dev/ttyv8';
> readonly u VTNr = 9;
> readonly b active = false;
> readonly b is-local = true;
> readwrite b idle-hint = false;
> readonly b LockedHint = false;
> };
>}
And when I switch back to VT#9 session-state is still **active**.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gnome
mailing list