Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to use SLiM instead of GDM as a login manager, but I fail miserably when creating the proper .xsession / .xinitrc file needed by SLiM.

How would a proper .xession file look like to start the Xubuntu-Session? There are great guides about setting up custom Desktop Environments, but I am missing something.

I tried copying contents of the xubuntu.desktop files in /usr/share/xsessions/ which reads "Exec=/usr/share/xubuntu/session.sh" into a .xsession file, but SliM would not show up. What else could I be missing?

Any help would be very much appreciated!

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

You could do something like this in your slim.conf

login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session

or in your .xinitrc

exec ck-launch-session /usr/share/xubuntu/session.sh

reference: debian arch

share|improve this answer
    
It worked - partially! On boot, xorg went into save graphics mode warning, without working recovery options tho. However, logging in on tty1 I could do sudo slim with a working session! –  marto Sep 1 '11 at 12:58
    
What is ck-launch-session? –  Johan Oct 7 '13 at 8:48
    
AFAIK its a command provided by console-kit to manage session based on user settings. –  sagarchalise Oct 7 '13 at 9:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.