Subject: Re: how to turn off desktop environments?
From: Paul J. Lucas (pauljlucas@mac.com)
Date: Thu Jun 07 2001 - 18:50:48 MDT
On Thu, 7 Jun 2001, Dr. Alfonso F. Agnew wrote:
> Then put `startx' in your .bash_profile startup file ...
Actually, you should put this instead:
[ -z "$DISPLAY" -a -z "$SSH_CLIENT" ] && exec startx
This will start X only if there is no DISPLAY environment
variable already set (if it is set, you are already running X)
and if you are not ssh'ing into the machine.
It's also a tad better to do "exec startx" rather than just
"startx" so you don't have a shell process hanging around doing
nothing. Also, when you log out of X, you will be completely
logged out.
- Paul
This archive was generated by hypermail 2a24 : Thu Jun 07 2001 - 17:56:32 MDT