On Wed, Dec 04, 2002 at 11:27:52PM -0500, Michael Fratoni wrote:
> edit /etc/inittab, changing
> id:5:initdefault:
> to read
> id:3:initdefault:
> 
> The machine will always boot into runlevel 3, then you can run 'startx' to 
> bring up X. Exiting the X session will return you to a console.

I discovered I like to "exec startx" instead.  That way quitting X
also logs me out.  Also, when my screen saver locks someone cannot
just switch back to virtual console 1, control-Z and get into my
account.  My notebook is usually just in sleep when I am carrying it
around, so this would at least slow down a thief.

Because typing "exec startx" is a pain, in my /etc/bashrc I have an
alias:

  alias x="exec startx"

Actually, I have it behind a "case $TERM in", "linux)" so that I don't
accidentally try to fire up X from a ssh session or after I have
started X.


-kb



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to