[blfs-dev] ConsoleKit problems
Bruce Dubbs
bruce.dubbs at gmail.com
Mon Sep 14 17:58:39 PDT 2015
I'm trying to get the permissions right in an xfce session and I've
narrowed down the problem to ConsoleKit. The symptom is that when
trying to log out, the poweroff, reboot, etc icons are greyed out and do
not work.
I'm trying to get this to work at runlevel 3 and starting Xorg via the
command line.
When I log in, the session looks fine:
$ ck-list-sessions
Session1:
unix-user = '1000'
realname = 'Bruce Dubbs'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2015-09-15T00:35:23.549063Z'
login-session-id = '1'
But after I startx, it looks like:
Session3:
unix-user = '1000'
realname = 'Bruce Dubbs'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = '/dev/tty1'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2015-09-15T00:38:01.457963Z'
login-session-id = '1'
Session1:
unix-user = '1000'
realname = 'Bruce Dubbs'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2015-09-15T00:35:23.549063Z'
login-session-id = '1'
idle-since-hint = '2015-09-15T00:38:30.830416Z'
Notice that the Session 3 with x11-display = ':0' has active = FALSE.
My .xinitrc right now has
ck-launch-session xfce4-session
but I've tried several alternatives. Does anyone know how to get the
Xorg session to become active when it is started?
One thing I've noticed is that the display-device is the same for both
sessions. Perhaps getting it back to tty7 would help and I'm going to
investigate that next.
Does anyone have any suggestions?
-- Bruce
More information about the blfs-dev
mailing list