[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stopping x from starting automatically



"Kevin M. McLin" wrote:
> 
> Hi There,
> 
> You can stop xdm from coming on and giving you that little X login window by
> removing xdm from /etc/init.d.  I just copy things into a subdirctory
> /etc/init.d/disabled when I don't want them to start up on boot. That way, if
> I ever change my mind, which I often do, I can easily copy them back and get
> things restored.

You can do it that way, but it isn't the proper way.  It's generally a
bad idea to mess with files in /etc/init.d because they may be needed in
more than one runlevel.

Leave the files in /etc/init.d alone, and go into /etc/rc2.d and remove
the S**xdm file, which is really a link to /etc/init.d/xdm

Then you can go into /etc/rc3.d and do 'ln -s /etc/init.d/xdm S99xdm'

Once you've done that, you can telinit 3 to start up the graphical X
login, and telinit 2 to go back.

jpb
-- 
Joe Block <jpb@creol.ucf.edu>
CREOL System Administrator

Social graces are the packet headers of everyday life.


Reply to: