Remove gdm, and put in the file "/root/.bash_profile"
following lines:
===========
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ];then
startx
fi
===========
To have a auto-login, you can also modify "/etc/inittab" and
replace a "/sbin/getty" by "/bin/sh".
The better with those solutions is the removal of a useless
software.
Of course, you asked for a very unsecure trick, do that at
your own risk if someone or yourself in another state (say,
after a nice night with friends and beers ;)) can access
physically your computer... but you said it was not the case.
And, seriously, windows users do that by default and their
computers works not so bad.
Le 22.11.2012 18:00, Richard Owlett a écrit :
I've a laptop whose *SOLE* purpose in life is to be used
in a manner
that a even I would never do on a machine with real data
on it.
It has intrinsically the best security in place
Only _*I*_ have physical access to the machine.
It has no possibility of connecting to the internet.
It will *never* be updated.
The installation CD lives in the drive, for various
reasons the
hard drive is wiped and reinstall done 2-3 times per week.
When I boot I want to do *ANYTHING*!
HOW?
{Owl now ducks for cover from incoming brick-a-brac ;}