How do I stop X
I would like to change configuration so that I boot into a console, rather than to X-windows graphical login. I tried changing /etc/inittab line 5 from id:5:initdefault: to id:2:initdefault: but this did not do it... TIA Dennis Krinke _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: How do I stop X
Dennis: Try commenting out xdm on its init level...rc2, if I'm not mistaken... Eric Dennis Krinke,,, wrote: I would like to change configuration so that I boot into a console, rather than to X-windows graphical login. I tried changing /etc/inittab line 5 from id:5:initdefault: to id:2:initdefault: but this did not do it... TIA Dennis Krinke _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: How do I stop X
On 2001.12.29 17:52 eric k. wolven wrote: Dennis: Try commenting out xdm on its init level...rc2, if I'm not mistaken... I put 'exit 0' on the line after the #!/bin/sh in the xdm startup script, and just to be safe, I also removed its startup links using 'update-rc.d' -- Andrew
Re: How do I stop X
On Fri, Dec 28, 2001 at 12:35:26PM -0800, Dennis Krinke,,, wrote: | I would like to change configuration | so that I boot into a console, | rather than to X-windows graphical login. | | I tried changing /etc/inittab line 5 from | id:5:initdefault: to | id:2:initdefault: | but this did not do it... Did you make '5' the default runlevel in the first place? By default debian uses runlevel 2, and all runlevels are identical (the 5-2 change sounds like a redhat thing). To disable X's starting at boot you need to disable your display manager in the runlevel you are booting to. My system boots to run level 2, and I use 'gdm' as my display manager. The simplest way for me to stop gdm from starting is (as root) : mv /etc/rc2.d/S99gdm /etc/rc2.d/notS99gdm To understand _why_ this stops gdm from starting on boot read up on how SysV init works. -D -- A Microsoft Certified System Engineer is to information technology as a McDonalds Certified Food Specialist is to the culinary arts. Michael Bacarella commenting on the limited value of certification.
Re: How do I stop X
Thanks to all that responded. dman wrote: On Fri, Dec 28, 2001 at 12:35:26PM -0800, Dennis Krinke,,, wrote: | I would like to change configuration | so that I boot into a console, | rather than to X-windows graphical login. | | I tried changing /etc/inittab line 5 from | id:5:initdefault: to | id:2:initdefault: | but this did not do it... To disable X's starting at boot you need to disable your display manager in the runlevel you are booting to. My system boots to run level 2, and I use 'gdm' as my display manager. The simplest way for me to stop gdm from starting is (as root) : mv /etc/rc2.d/S99gdm /etc/rc2.d/notS99gdm This worked! (for xdm) To understand _why_ this stops gdm from starting on boot read up on how SysV init works. OK, I browsed man sys(8) init. That did help a little. Perhaps that plus other reading and more time will help more... Dennis Krinke _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: How do I stop X
On Fri, Dec 28, 2001 at 04:37:52PM -0800, Dennis Krinke,,, wrote: | To understand _why_ this stops gdm from starting on boot read up on | how SysV init works. | | OK, I browsed man sys(8) init. | That did help a little. | Perhaps that plus other reading and more time | will help more... Here's a hint : The first character of the filename is either S (start) or K (kill) and the next two are digits specifying order. By making the first three characters not the file doesn't follow that pattern and is ignored by init. I like doing it that way because it describes in english what I did, and it preserves the link and the other info stored in its name. -D -- The crucible for silver and the furnace for gold, but the Lord tests the heart. Proverbs 17:3
Re: How do I stop X
Hi, On Sat, 29 Dec 2001, eric k. wolven wrote: Dennis: Try commenting out xdm on its init level...rc2, if I'm not mistaken... Uninstalling xdm also seems to work. A happy new year, Kerstin -- Dr. Kerstin Hoef-Emden Gyrhofstr. 15 Universität zu Köln 50931 Köln Botanisches InstitutGermany