[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xfce4, systemd - shutdown via builtin-dialog isn't working



On Sun, Mar 31, 2013 at 6:17 PM, Michael Biebl <biebl@debian.org> wrote:
>
> I would guess your session is not marked as active
> ck-list-sessions will tell you that.
>
> That is a problem of starting your X session via startx.
>
> My suggestion would be to use a display manager like gdm3 or lightdm.

Using a DM probably makes things simpler/smoother but using Debian's
default X setup results in:

(from ps)

/usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session
x-window-manager

and

(from ck-list-sessions)

Session1:
unix-user = '0'
realname = 'root'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2013-03-31T23:08:23.830488Z'
login-session-id = '4294967295'
idle-since-hint = '2013-03-31T23:09:33.195468Z'

Session2:
unix-user = '0'
realname = 'root'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2013-03-31T23:09:05.930568Z'
login-session-id = '4294967295'


Reply to: