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

Re: stopping x from starting automatically



On Fri, Nov 12, 1999 at 03:07:51PM -0500, Joe Block wrote:
> 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.

  If you want that to work properly, you'll also want to:
  $ ln -s /etc/init.d/xdm /etc/rc2.d/K20xdm   #potato number

  so that changing back from runlevel 3 to runlevel 2 will kill xdm.
-- 
+----------------------------------------------------+
| Eric G. Miller                        egm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
+----------------------------------------------------+


Reply to: