Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-14-2012, 12:46 PM   #1
Johnny Who
LQ Newbie
Registered: Sep 2012
Location: Athens
Distribution: exherbo, sabayon, debian, gentoo
Posts: 27

Rep: Reputation: Disabled
Configuring SLiM

I am using Sabayon 10 and I have replaced the GDM with SLIM in order to save memory. I have enabled the default user login, but the default session is the login shell. I would like it to remember and log me in the DE I used last time. How do I do that?
Old 09-14-2012, 10:00 PM   #2
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 103Reputation: 103

You need to edit the slim.conf file and your .xinitrc file.

vim /etc/slim.conf ( as root / sudo)
Then scroll down to the section that shows default user & uncoment & add the name of the user. Then change login_cmd as shown below.

# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user        User_Name

login_cmd           exec /bin/bash -login ~/.xinitrc %session

You then have to make sure your /home/user/.xinitrc file includes this line-->

exec startxfce4 --with-ck-launch


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having problems with Slim...need help linus72 Linux - General 7 01-19-2010 07:33 AM
How to slim Linux? veeruk101 Linux - General 14 08-28-2009 08:35 PM
problem with slim mfduqued Linux - Desktop 1 04-11-2009 08:59 AM
slim login problem - anyone succeed in configuring slim? rkrishna Slackware 20 02-18-2008 06:50 AM
Slim down Kaffeine Ashrack Linux - Software 5 04-09-2007 03:48 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration