LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 04-22-2008, 09:58 AM   #1
NoahT1BM
Member
 
Registered: Feb 2008
Distribution: Mandriva One 2008.1, Vector 5.8 SOHO, Knoppix 5.1.1
Posts: 50

Rep: Reputation: 15
Kubuntu's Runlevels


I have been using a (small) set of distros for about a month now, and all of them follow the usual runlevel 0=halt, 1=single user, 2=no X, 5=multi user, and 6 reboot.
However, with Kubuntu, I have always found it irritating how it starts in runlevel 2 by default, and 3-5 appear do follow suit. How can I change this to follow the usual scheme that I mentioned before?
 
Old 04-22-2008, 11:07 AM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
sudo aptitude install sysv-rc-conf

Then run it from a command line, sudo sysv-rc-conf and use the space bar to unselect what you don't want to run at each level.

Then you need to change default init in /etc/inittab.

Here's a little more detail on the Debian runlevels.

EDIT: It may be possible that Ubuntu is using UpStart instead, so you may need to look at the file /etc/upstart instead of /etc/inittab. And I suppose it's possible that sysv-rc-conf doesn't work with upstart, but I don't know that for sure since I use Debian.

Last edited by pljvaldez; 04-22-2008 at 11:12 AM.
 
Old 04-22-2008, 11:18 AM   #3
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
It looks like to change the default runlevel, you want to edit the file /etc/event.d/rc-default and change the def_RL=2 to whatever runlevel you like. It sounds like sysv-rc-conf does work with upstart. Here's the thread I blundered across so that you can read it for yourself.
 
Old 04-22-2008, 09:55 PM   #4
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
Quote:
Originally Posted by NoahT1BM View Post
I have been using a (small) set of distros for about a month now, and all of them follow the usual runlevel 0=halt, 1=single user, 2=no X, 5=multi user, and 6 reboot.
However, with Kubuntu, I have always found it irritating how it starts in runlevel 2 by default, and 3-5 appear do follow suit. How can I change this to follow the usual scheme that I mentioned before?
Just curious. Why is starting up in runlevel 2 vs 5 a problem?

It is different, but I don't think it's illegal, immoral, or fattening .
 
Old 04-23-2008, 09:53 AM   #5
NoahT1BM
Member
 
Registered: Feb 2008
Distribution: Mandriva One 2008.1, Vector 5.8 SOHO, Knoppix 5.1.1
Posts: 50

Original Poster
Rep: Reputation: 15
it is difficult to do administrative tasks by constantly using sudo and entering my password at every turn. I find it easer (and some people might disagree) to have an entire desktop with administrative rights. In runlevel 2 this is not possible. The same goes for 3-5. In runlevel 1, HAL does not function, complicating things further.
 
Old 04-23-2008, 04:14 PM   #6
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
If you want to run your system as root, then none of the *buntu distros will work for you. The division of labor between the normal user and the user in sudo is there for a reason. In fact, Linux in general is set up that way (with some distro exceptions) for a purpose to protect as much of your system as possible from rogue attacks.

Now, having said that, there are probably ways to set up your Kubuntu to allow free and open access, but I don't know, nor would I even make an attempt to do that to you/for you.

Thanks for your input, though!!
 
Old 04-23-2008, 04:33 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,228

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Last I looked it wasn't too hard to set up a root user on Ubuntu.
On other occasions I have set up sudo to not require a password (for anything), and to not timeout. Still need to type in sudo, but that's all.

Horses for courses.
 
  


Reply

Tags
kubuntu, runlevel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vanilla-KDE vs Kubuntu's KDE shadowfx78 Ubuntu 1 11-15-2006 06:32 PM
What is runlevels? jojojo Linux - Newbie 2 06-06-2006 02:42 PM
RunLevels bcom Mandriva 3 05-31-2004 07:07 PM
runlevels? Computergirl24 Linux - Software 4 12-26-2003 04:45 PM
runlevels kriver Linux - General 1 03-13-2002 05:55 PM


All times are GMT -5. The time now is 09:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration