Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

disable GNOME by startup

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
cc
Posts: 820
Joined: 2005-06-08 19:14

disable GNOME by startup

#1 Post by cc »

hi

howto disable (not remove) GNOME from startup on Sarge,
so I could start it manually ?
this machine is a very important DNS and Proxy server.

greetings
cc

lacek
Posts: 764
Joined: 2004-03-11 18:49
Location: Budapest, Hungary
Contact:

#2 Post by lacek »

The same way you disable sqiud or bind.
By the way, why has a DNS/proxy server Gnome installed? :-)

cc
Posts: 820
Joined: 2005-06-08 19:14

#3 Post by cc »

because at the moment is a test server

cc
Posts: 820
Joined: 2005-06-08 19:14

#4 Post by cc »

according to Debian Reference :
http://www.debian.org/doc/manuals/refer ... .html[code]

8.1.4 "Let me disable X on boot!"

Chasing unstable/sid is fun, but buggy xdm, gdm, kdm, and wdm started during the boot process can bite you bad.

First get the root shell by entering the following at the boot prompt:

boot: Linux vga=normal s

Here, Linux is the label for the kernel image you are booting; "vga=normal" will make sure lilo runs in normal VGA screen, and "s" (or "S") is the parameter passed to init to invoke single-user mode. Enter the root password at the prompt.

There are few ways to disable all the X starting daemons:

* run update-rc.d ?dm stop 99 1 2 3 4 5 6 .

* insert "exit 0" at the start of all /etc/init.d/?dm files.

* rename all /etc/rc2.d/S99?dm files to /etc/rc2.d/K99?dm.

* remove all /etc/rc2.d/S99?dm files.

* run :>/etc/X11/default-display-manager

Here, number in rc2.d must correspond to the runlevel specified in the /etc/inittab. Also ?dm means that you need to run the command multiple times by substituting it with all of the xdm, gdm, kdm, and wdm.

Only the first one in the list is "the one true way" in Debian. The last one is easy but only works on Debian and requires you to set the display manager again later using dpkg-reconfigure. Others are generic methods to disable daemons.

You can still start X with the startx command from any console shell.[/code]

Post Reply