Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


Start X automatisk (autologin)

Author:mike - Thu Apr 1 23:44:30 2004

# Starting X at the boot without xdm (autologin), even without login:


rc.local:
echo "Autologin of user <username>"
cd /home/<username>
su - <username>

~/.bash_profile:
if ["`tty`" = "/dev/console" -o "`tty`" = "/dev/tty0"]
then
    startx
fi 
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk