I have recently installed openSUSE 12.1 i586 minimal X + Slim (Display Manager) + Razor-Qt (Desktop Manager). I created .xinitrc file in my home folder with the following code
exec ck-launch-session dbus-launch startrazor
I managed to login to my new desktop environment via slim without any problem, however I realized that I cannot shutdown, reboot, and/or suspend as a normal user. Thus I started to suspect that it could be console-kit problem. Then I run the following commmands through terminal and I found out that my user ID’s active status is set to False status and it’s not classified as local user.
lenovo@linux-ognx:~> ck-list-sessions
Session1:
unix-user = '1000'
realname = 'IBM'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = FALSE
on-since = '2011-12-24T20:28:37.479373Z'
login-session-id = '1'
lenovo@linux-ognx:~> console-kit-daemon --debug --no-daemon
Absolute path to 'console-kit-daemon' is '/usr/sbin/console-kit-daemon', so running it may require superuser privileges (eg. root).
Does anyone know how to fix this problem and change my username status to “active=True” and “is-local=True”? Thanks for help