Re: Need to prevent X from restarting
On Wed, Jun 02, 2004 at 06:50:46PM -0500, Kent West wrote:
> >Do you have any good reason for running [xkg]dm at all? You don't
> >need it to run X. Disable it, then login to X with "nohup startx &
> >exit".
>
> Instead of "nohup startx & exit", why not just "startx"? Looking at the
> man and info pages for nohup, I can't figure out what advantage it
> provides here.
Because startx alone would leave a useless login shell running. If you
forget about it and think you locked the machine (e.g. with xlock)
someone could still switch to the console, type Ctrl-Z and have a shell.
Regards
Matthias
Reply to: