Re: startx gdm
> Automatic startx should be as easy as adding it to .bash_profile
> (not .bashrc to not have it run for every xterm), but I didn't test
> it.
Yes. Not only automatic startx, but the solution to all of life's
problems should be as easy as adding it to .bash_profile.
At any rate, I did solve getting my computer to autologin, with the
help of http://forums.debian.net/viewtopic.php?t=16348
It seems that editing /home/user/.bash_profile, and
editing /etc/inittab, is necessary. Further, using rungetty rather
than getty is also helpful, apparently.
Briefly, for the autologin, in the /etc/inittab file, I
changed the first line from:
1:2345:respawn:/sbin/getty 38400 tty1
to (note, my user is "mark"):
1:2345:respawn:/sbin/rungetty tty1 --autologin mark
and, for both starting x, and, specifically, starting
fluxbox as I've set it up, I added the following to .bash_profile:
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
while [ 1 == 1 ]
do
startx /usr/bin/startfluxbox
sleep 10
done
fi
Mark
Reply to: