xinitrc bug?

You think you have found a bug? Let us know about it.
Post Reply
madmarv
Posts: 9
Joined: 20. Apr 2010, 15:35

xinitrc bug?

Post 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?
User avatar
gapan
Salix Wizard
Posts: 6353
Joined: 6. Jun 2009, 17:40

Re: xinitrc bug?

Post 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.
Image
Image
Post Reply