cubieplayer / Cubian

Debian for Cubieboard
http://cubian.org
270 stars 49 forks source link

how to login in automatically? #421

Open twigg opened 9 years ago

twigg commented 9 years ago

how do I remove the cubian password so it logs into the account automatically? I don't want any login screen, I tried adding:

1:2345:respawn:/bin/login -f cubie tty1 </dev/tty1 >/dev/tty1 2>&1

to the inittab but its not worked

markwaters commented 9 years ago

If you are running the desktop version then everything you need to configure is in /etc/slim.conf

malustra commented 9 years ago

Hi twigg

Leave cubie password as it is Change slim.conf, add default_user

Edit .xinitrc of your autologin user, in my case it is set to

!/bin/bash

exec /usr/bin/mate-session chmod 700 .xinitrc

That should make your day