Page 1 of 1

how to bypass gdm on debian

Posted: Sat Dec 05, 2009 9:26 am
by quotaholic
GDM doesnt work too well if you have a touchscreen. I use the following to auto login users and to startx
[quote]
In /etc/inittab

commentout

Code: Select all

#1:2345:respawn:/sbin/getty 38400 tty1
add the following line

Code: Select all

1:2345:respawn:/bin/login -f YOUR_USER_NAME tty1 </dev/tty1 >/dev/tty1 2>&1
Save and exit the file

Now you need to edit .profile and at the bottom add  the following command and save

Code: Select all

startx
/quote]

If you dont have a .profile in your /home then simply copy it from /etc with:

Code: Select all

sudo nano cp /etc/profile /home/webdt/.profile