Linux: Boot to text mode instead of graphical interface


Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /homepages/3/d98111892/htdocs/insanelabs/htdocs/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

So you installed your Linux server with gnome or kde and now want to boot to text mode, mostly to save some resources that are being used by your X server…

Debian:
go to /etc/init.d and execute:
update-rc.d -f gdm remove
for kde:
update-rc.d -f kdm remove
to restore:
update-rc.d -f gdm/kdm defaults

The above command works for pretty much any script you want loaded during boot. Simply copy your script to /etc/init.d or make a symbolic link and execute the command.

CentOS/REHL:
Edit your GRUB
nano /boot/grub/menu.lst
and add runlevel you need to the boot line. Text mode is usually runlevel 3:
kernel /vmlinuz-2.6.9-78.0.1.EL ro root=LABEL=/ rhgb quiet 3

SuSE:
Edit grub and add level 3 to your boot line:
kernel /vmlinuz-2.6.27.21-0.1-pae root=/dev/sda5 resume=/dev/sda9 splash=silent crashkernel=128M-:64M@16M showopts vga=0x317 level 3
You can always run to graphical mode by using the command:
startx

Other distros: google it 😛

5 thoughts on “Linux: Boot to text mode instead of graphical interface


  1. Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /homepages/3/d98111892/htdocs/insanelabs/htdocs/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524
    Cheeheale says:

    Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /homepages/3/d98111892/htdocs/insanelabs/htdocs/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

    now in my rss reader)))


  2. Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /homepages/3/d98111892/htdocs/insanelabs/htdocs/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524
    BonSolaAssoli says:

    Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /homepages/3/d98111892/htdocs/insanelabs/htdocs/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

    Hello, I can’t understand how to add your blog in my rss reader


  3. Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /homepages/3/d98111892/htdocs/insanelabs/htdocs/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524
    Ali says:

    Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /homepages/3/d98111892/htdocs/insanelabs/htdocs/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

    Click on the RSS icon on top right and select your RSS/Atom reader from the drop down menu.


  4. Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /homepages/3/d98111892/htdocs/insanelabs/htdocs/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524
    Jacob says:

    Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /homepages/3/d98111892/htdocs/insanelabs/htdocs/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

    works great. thanks.

  5. Pingback:
    Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /homepages/3/d98111892/htdocs/insanelabs/htdocs/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524
    CPU-Auslastung mit und ohne X | alexthinking.com

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.