LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
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 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
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: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:51 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration