You are not logged in.
I am starting my X from within a tmux session:
exec tmux start-server \; \
new-session -d -s xorg startx \; \My .xinitrc looks as follows:
exec ck-launch-session dbus-launch xmonadBut when I check my running ck-sessions, is says it's not active!
$ ck-list-sessions
Session2:
unix-user = '1000'
realname = 'Crazy Person'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = '/dev/tty2'
display-device = '/dev/pts/0'
remote-host-name = ''
is-local = FALSE
on-since = '2012-06-27T10:40:43.409347Z'
login-session-id = '1Could that be because of me starting it from tmux? Can I somehow fix this? I really need consolekit.
EDIT: I just did everything by hand: login to TTY1, run tmux, startx from within tmux, and the result is the same: the session with the x11-display is shown as is-local = FALSE.
Last edited by Stalafin (2012-06-27 12:39:52)
Offline
Could that be because of me starting it from tmux?
Does it register correctly when launched without tmux?
Offline
Stalafin wrote:Could that be because of me starting it from tmux?
Does it register correctly when launched without tmux?
Yes, it does launch correctly when starting without tmux.
What I have noticed:
If I log into TTY1 and $ startx, $ ck-list-session shows my X-related session as both active = TRUE and is-local = TRUE.
If I log into TTY1, then $ tmux, and in there $ startx, the same as above applies. I can also detach the tmux session, exit TTY1, and ck-list-session is still active = TRUE and is-local = TRUE for my X-session.
However, if I just log into TTY1, and have the following in my .zlogin
#!/usr/bin/env zsh
exec tmux start-server \; \
new-session -d -s xorg startx \; \
set-option -t xorg remain-on-exit offthen $ ck-list-sessions shows my X-sessions as active = FALSE and is-local = FALSE.
But I want to launch my X server via my tmux somehow.
Last edited by Stalafin (2012-07-11 13:31:23)
Offline