Topic: Slim configuration for #! November 2011
Episode 1: The login loop after fresh install
Example: http://crunchbanglinux.org/forums/post/177333/#p177333
Experienced users will create $HOME/.xsession or $HOME/..xinitrc, but this is not meant for linux gurus.
Solution:
enter "console" in the username field
this will start a login xterm
enter your user name and password
then run the command:
sudo update-alternatives --config x-session-managerYou will be presented with a menu with 3 options
select option 2: openbox-session
close the xterm window (enter exit ot Ctrl+D)
enter your username and password
you will be logged in
explanation:
without an $HOME/.xsession or $HOME/.xinitrc, slim starts the xserver with this command:
++ exec /usr/bin/ssh-agent /usr/bin/ck-launch-session /usr/bin/dbus-launch \
--exit-with-session x-session-manager
and x-session-manager defaults to lxsession via alternatives
lxsession terminates immediately without (apparently) doing anything (such is the nature of lxsession )
the session is terminated (--exit-with-session option)
you are dropped to console for a moment, then
slim shows login panel again to start a new session
and we are back at the beginning of the loop.
This is not a slim problem: it is a configuration problem.
Watch out for the next episode: I prefer WM such or such over openbox - how do I do that with slim ?
Coming shortly ...
Last edited by xaos52 (2012-01-17 15:46:25)