Create your dream Linux laptop and support maysville linux users group!

Home  

 


  Create an account

Search


[x]  
 
 [x]
Categories Menu
· All Categories
· Commands
· Distro News
· General
· Link of the Week
· Linux Jobs
· Security
· Software
· Tips

 
Navigation
 
User Info
Welcome, Anonymous

Username:
Password:

(Register)

Membership:
Latest: hiobgiou
New Today: 0
New Yesterday: 0
Overall: 225

People Online:
Visitors: 6
Members: 0
Total: 6

 
hacker Beware
You have been warned!
We have caught 1459 shameful hackers.

NukeSentinel(tm) 2.5.14

 
Hot Downloads
 
  
Maysville Linux Users Group (MLUG) - Linux Users Helping Linux Users: Forums

MLUG :: View topic - Ubuntu / Debian distros and not starting gui on bootup
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Ubuntu / Debian distros and not starting gui on bootup

 
Post new topic   Reply to topic    MLUG Forum Index -> Tips & Tricks
View previous topic :: View next topic  
Author Message
ewiget
Site Admin
Site Admin


Joined: Aug 13, 2004
Posts: 335
Location: Maysville, KY

PostPosted: Mon Jun 05, 2006 1:55 pm    Post subject: Ubuntu / Debian distros and not starting gui on bootup Reply with quote

An MLUG member asked me a question regarding Debian installation and disabling a gui on startup, and for the first time I thought about it.

Most people familiar with Red Hat operating systems knows this is commonly called runlevel 3 but debian-like operating systems really only have 2 runlevels. Most people familar with red hat-like operating systems know you edit the /etc/inittab file and change the default runlevel from 5 to 3 and this takes care of it. However, the default runlevel in debian is only 2 and changing to 3, 4, or even 5 won't make a difference.

This is why:

By default Debian only uses 2 run levels. It's redhat and derived distributions that have created the trend of runlevel 3 being 'multiuser no gui' and runlevel 5 being 'multiuser gui'. Debian is not the only distro to behave this way. The official tool to use in debian to manipulate runlevel scripts is update-rc.d (like chkconfig in redhat and others).

The default runlevel in debian is 2, if you dont want X to start at startup disable gdm using update-rc.d i.e,

Code:

$ sudo update-rc.d -f gdm remove

for gdm based logins or

Code:

$ sudo update-rc.d -f kdm remove

for kdm based logins

To re-enable either of them, run the following commands:

Code:

$ sudo update-rc.d gdm defaults

or

Code:

$ sudo update-rc.d kdm defaults


_________________
Ed Wiget
RHP Studios
Keeping Your Data Safe!
606-759-1175
http://www.rhpstudios.com
http://www.xtremewebhosts.com
http://www.edwiget.name
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=162711
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    MLUG Forum Index -> Tips & Tricks All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group
Forums ©

 
All content Copyright 2000 - 2008, Maysville Linux Users Group unless otherwise credited.
All Rights Reserved!
The opinions expressed by visitors to this web site are their own and not necessarily the opinions of the MLUG!


Web site powered by PHP-Nuke Web site powered by PHP-Nuke-NIP-76.0

You can syndicate our news using the file backend.php or ultramode.txt