LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-19-2009, 01:26 PM   #1
froginvasion
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
runlevel 1 doesn't work [kubuntu]


As im trying to get into single-user mode runlevel 1,
just before the end of the loading bar the screen seems to freeze (there's no movement in the bar anymore) yet capslock still reacts (so it didn't crash or something).

Code:
sudo init 1
I've used this before sometime before and it worked fine. i'm using one of the latest versions of the kubuntu kernel, and i didn't change any config files or anything...

PS: if this might help: a friend of mine has an install of ubuntu and it does the exact same thing for him... In recovery mode it just works fine.
 
Old 03-19-2009, 07:24 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian 11
Posts: 6,130

Rep: Reputation: 419Reputation: 419Reputation: 419Reputation: 419Reputation: 419
Quote:
sudo init 1
Where are you issuing this command?
If in any sort of GUI, it'll "crash" because you have killed it.
Your login should still be available on VT1
Get to it with <CTRL><ALT><F1> if that fails try <CTRL><ALT><F2>

BTW "i'm using one of the latest versions of the kubuntu kernel" really isn't helpful at all. How much trouble is it to post the output of uname -r ?
 
Old 03-19-2009, 08:59 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,756

Rep: Reputation: 3973Reputation: 3973Reputation: 3973Reputation: 3973Reputation: 3973Reputation: 3973Reputation: 3973Reputation: 3973Reputation: 3973Reputation: 3973Reputation: 3973
Quote:
Originally Posted by froginvasion View Post
... In recovery mode it just works fine.
Recovery mode works fine for your mate, or you (recovery mode is single user mode - at least in Ubuntu) ?

Any messages of interest in Recovery mode ?.
 
Old 03-20-2009, 10:33 AM   #4
froginvasion
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
uname -r gives me
2.6.27-11-generic

well i'm sorry i'm just another windows newbie...

I'm indeed trying to issue this command in GUI, but why should that be a problem? I had to use it to install videodrivers, so why wouldn't it work right now?

alt+ctrl+f1 and f2 work fine indeed, but what's the difference between changing runlevel?

recovery gives no messags that need any noticing...
 
Old 03-20-2009, 12:18 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian 11
Posts: 6,130

Rep: Reputation: 419Reputation: 419Reputation: 419Reputation: 419Reputation: 419
Quote:
i'm just another windows newbie...
No need to apologise. Many us were, once

Quote:
I'm indeed trying to issue this command in GUI, but why should that be a problem?
Because the GUI doesn't run in runlevel 1
So your login ceases to exist when you switch to runlevel 1

You don't need to be in runlevel 1 to install (eg the NVIDIA) drivers, you just need to stop / start X (much faster than rebooting) like this:

alt+ctrl+f1
Login as yourself.
Become root
Code:
sudo  -i       #If you are using a distro that uses sudo
su  -          #If you are using a distro that uses su
Now stop X:
For Gnome users:
Code:
etc/init.d/gdm  stop
For KDE users:
Code:
etc/init.d/kdm  stop
Your terminal may disappear. Get back to it with alt+ctrl+f1

Install the driver

Restart X:
For Gnome users:
Code:
etc/init.d/gdm  start
For KDE users:
Code:
etc/init.d/kdm  start
You'll be dumped at the GUI login if all has gone well. So go back to alt+ctrl+f1 and logout exit (from being root) exit (logout)
Now go back to your GUI with alt+ctrl+f7

alt+ctrl+f1-f6 are terminals alt+ctrl+f7 and up are GUIs (and, yes, you can have them all open and running at the same time, but you can only see one of them at a time)

Next time, please tell us your distro & KDE / Gnome / whatever, it saves me typing.

Last edited by tredegar; 03-20-2009 at 12:19 PM.
 
  


Reply


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
Trying to change my runlevel on Kubuntu 8.04 - need to boot without an X-server. Krolros Linux - Newbie 5 03-31-2009 05:32 AM
Weird: Changing runlevel from 3 to 4 makes sound not work Melkor Slackware 35 05-19-2008 03:30 PM
runlevel wont work!!!??? osc~ Slackware 6 07-06-2007 01:13 AM
Xauth doesn't work at runlevel 5, and everyone can access my X server Berkut83 Red Hat 2 04-19-2006 05:00 AM
Soun Mixer absent in Runlevel 3 but present in Runlevel 5 debloxie SUSE / openSUSE 1 01-18-2006 09:15 AM

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

All times are GMT -5. The time now is 07:44 PM.

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