X-window fails to start

Peter Garrett peter.garrett at optusnet.com.au
Mon Aug 7 13:33:49 UTC 2006


On Mon, 07 Aug 2006 13:18:20 +0100
José Paulo Matafome Oleiro <matafomeoleiro at gmail.com> wrote:

> If PC hangs here you should try to stop the X-server doing the following
> command:
> $ sudo init 3
> After this they should not hang-up I think so.

Actually, in Debian-based distros like Ubuntu this won't do it. You need

sudo /etc/init.d/gdm stop

The default runlevel for both text and graphical modes in Debian/Ubuntu is
runlevel 2 , as you'll see if you type "runlevel" in a terminal.

Red Hat, Mandrake, Fedora  etc use runlevel 3 for networked
text/console/tty mode IIRC - but Debian does not, by default, although it
can be configured to do this, if you want to.

Peter




More information about the ubuntu-users mailing list