Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.755 Beiträge
 
Delphi 10.4 Sydney
 
#5

Re: Ubuntu Linux: Runlevel-Probleme

  Alt 6. Jan 2007, 16:27
Na, wenn dem so ist!
Vielleicht hilft das:
Zitat:
I was in exactly the same position.

I only wanted a minimum install but did not know how to do everything from a terminal so wanted the ability to occasionally start up X to get me out of jail.

I was also conscious of keeping the number of process down on my antique P200 I was using.

This is how I stopped X from automatically starting up, but retaining the ability to manually fire it up on demand.

In just two steps this is done like this.
1. Confirm which Runlevel your system boots up into. i.e. Runlevel n
2. Remove the symbolic link to gdm in /etc/rcn.d – changing n for the Runlevel

If this is really new to you or other readers here it is again in more detail.

For whatever reason my system boots up to Runlevel 2. You can find out what yours does by issuing the command $ runlevel
My system reports “N 2” which means I am now in Runlevel 2 and have not switched from anything else.

Knowing your runlevel you need to edit the directory containing the Runlevel 2 scripts and disable the Gnome Desktop Manager or “gdm”.

This is done like this. Change to the directory concerned

$ cd /etc/rc2.d – (This would be /etc/rc3.d for Runlevel 3.)

If you do a $ ls –l you will see a list of links pointing to files in /etc/init.d

One of them will be along the lines of

S99gdm -> ../init.d/gdm (Your "99" may be different, in which case replace with what you see in the next step)

This link needs to be removed

$ sudo rm S99gdm

This prevents ubuntu running the Gnome Desktop Manager at boot.

Now when you want to start X, you can just issue either of the following commands after loging in.

$ startx which takes you right in or $ sudo gdm for the normal start screen.

Best of luck.
Qeulle-> http://ubuntuforums.org/archive/index.php/t-8430.html

Ubuntu scheint auch nicht unbedingt ein Server OS zu sein, oder?

Grüße
Klaus
Klaus
  Mit Zitat antworten Zitat