Page 1 of 1

xinitrc bug?

Posted: 27. Jul 2010, 14:16
by madmarv
Long story short, to keep my same kernel (old hardware didn't play well with new one) I put a fresh install of Salix 13.0 on, and used the wiki instructions to upgrade to 13.1. Everything went well, but on startup from GDM X session crashes. The xsession-errors log indicated line 139 in the xinitrc file was the culprit: ck-launch-session $xfcesm

Didn't see anything here, so I googled around and found this on linuxquestions.org:
@linus: I think it's because by default it tries to run with consolekit/policykit and you are probably missing them in your install: you can try modifying line 134 of /etc/X11/xinit/xinitrc.xfce deleting the ck-launch-session command (but leave there the $xfcesm).
you can also copy it to your home as ~/.xinitrc and edit that copy if you need it for one user only.

I don't know if you will miss any functionality not running if in a policykit session: I'm not a xfce user, you know it surely better than me, so you will discover if something is missing trying
So I did the same, all seems well and I am writing this from my new system. My question is, did I somehow miss installing the console policy kit package? or is this a bug in the xinitrc?

Re: xinitrc bug?

Posted: 27. Jul 2010, 16:46
by gapan
madmarv wrote:did I somehow miss installing the console policy kit package?
Yes. Install the ConsoleKit package. Or you can stay without ConsoleKit if you have edited the xinitrc, like you did.