You are not logged in.
Pages: 1
I would like to start fetchmail and X automatically after my user has logged into my Arch Box. Doing this in my .bashrc file has the side effect of trying to start X and fetchmail every time a terminal is opened. Is there any other way to have a users specified login script?
Thanks
Offline
I use this:
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/vc/1 ]; then
startx
fi
Offline
Thanks guys, the Dusty's way worked,
I suppose the $- way should work, but I found that
$- = himBH for both logins and terms... so somethings probably screwed
up on my computer.. :
Offline
Pages: 1