hi plz i want to know how to log aumaticaly in arch bang
without a prompt (slim)
sudo nano /etc/slim.conf
uncomment default_user line and modify the line
uncomment and set autologin to yes
Save and you are good to go.
Last edited by mastis (2012-02-06 09:56:09)
thank you very much !!
You can also get rid of slim altogether and save the resources it uses.
You add the following code to your .bash_profile file and X will be launched when you login via the tty1 (i.e. after the boot messages)
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then . startx > ~/.xerrors.log 2>&1 logout fi
You will be limited to the session that is listed first in your .xinitrc file though
Hasta manana, monsieur
Were the only words that I knew for sure
More info here
I use this:
Another way of circumventing display managers and booting straight into a preferred window manager or desktop environment involves editing /etc/inittab, changing:
x:5:once:/bin/su - -- PREFERRED_USER -l -c '/usr/bin/startx </dev/null >/dev/null 2>&1'
Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/