On Mon, Sep 14, 2015 at 07:58:39PM -0500, Bruce Dubbs wrote: > 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. >
Ah yes, this old problem. > 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 > One suggestion was: exec ck-launch-session dbus-launch startxfce4 because the user part of dbus (as well as the system part) is needed. But somebody else claims that dbus-session is spawned by startxfce4. I've also used 'startxfce4 --with-ck-launch' but as far as I can remember none of them made any difference. > 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 ĸen -- Il Porcupino Nil Sodomy Est! (if you will excuse my latatian) aka "The hedgehog song" -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
