You are not logged in.
Pages: 1
hi plz i want to know how to log aumaticaly in arch bang
without a prompt (slim)
Offline
sudo nano /etc/slim.confuncomment default_user line and modify the line
default_user <your_usename>uncomment and set autologin to yes
auto_login yesSave and you are good to go.
Last edited by mastis (2012-02-06 09:56:09)
Offline
thank you very much !!
Offline
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
fiYou 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
Offline
More info here
Offline
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:
id:3:initdefault:
[...]
x:5:respawn:/usr/bin/xdm -nodaemon
to:
id:5:initdefault:
[...]
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/
Offline
This is a great thread, you can find more than one way to get the job done:
Offline
Pages: 1