You are not logged in.
After an upgrade I have a small problem witch console-kit:
└─[21:24 wto,15 maj 12:$]→ ck-list-sessions
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = '/dev/tty2'
display-device = ''
remote-host-name = ''
is-local = FALSE
on-since = '2012-05-15T19:17:31.558072Z'
login-session-id = '4294967295'I am using systemd and start the X server witch a deamon in it:
└─[21:36 wto,15 maj 12:$]→ cat /lib/systemd/system/xinit.service
[Unit]
Description=Direct login to X
Requires=dev-tty7.device
After=dev-tty7.device systemd-user-sessions.service
[Service]
ExecStart=/bin/su dragonn -l -c "/bin/bash --login -c startx"
[Install]
WantedBy=graphical.targetMy .xinitrc looks:
└─[21:41 wto,15 maj 12:$]→ cat .xinitrc
#!/bin/sh
exec ck-launch-session dbus-launch wm-managerWhy is my console kit session "active = FALSE"?
Offline
this cannot work with systemd. There was a discussion about this in the systemd thread: https://bbs.archlinux.org/viewtopic.php … 4#p1096774
The problem is that by starting X with a service file you are not properly creating a PAM session. Until systemd supports this kind of setup you will have to use a display manager. I suggest using lxdm with autologin, works fine for me. A lxdm service file is available in systemd-arch-units.
I think this should be removed this from the wiki, no point to suggest something like this if it doesn't work properly.
Offline
Thanks for info, is there any way to fix it without using a login manager? I really don't need it - it will only slow down the boot process.
Offline
Thanks for info, is there any way to fix it without using a login manager? I really don't need it - it will only slow down the boot process.
Not yet, but it seems to be the planned:
http://freedesktop.org/wiki/Software/sy … imizations (point 10 in the second list)
see also http://lists.freedesktop.org/archives/s … 04974.html
btw. I added a note about this in the wiki. I didn't want to remove it because there are a few people who don't use ConsoleKit anyway and won't care about this problem.
Offline
Ok, thanks for info, can you tell my watch is the lightest login manager? Watch will by faster - slim or lxdm?
Offline
Ok, thanks for info, can you tell my watch is the lightest login manager? Watch will by faster - slim or lxdm?
I don't think there is a big difference, especially if you use autologin, they are both pretty lightweight. Although I don't know if slim works with systemd, I assume it does but I haven't tested it.
Offline
slim works fine with systemd. at least the newest version. But here's a guy that got autologin.c and systemd work without any login manager; https://bbs.archlinux.org/viewtopic.php?id=120228
I might test it this week end.
Offline