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.
The problem is that you will not have a shiny background while you are
not logged in.
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 ;}
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bd643219ceb49b94ab1d615a37cdc...@neutralite.org