LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-06-2010, 07:37 AM   #1
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Rep: Reputation: 15
Ubuntu 10.04 - How do I drop down into terminal mode?


I'm trying to exit X entirely and use the console to install my nVidia drivers, I have a .run file. I've tried all of the normal commands like init 3 and everything, killing the X process, Ctrl Alt F1, Ctrl Alt Backspace, but nothing wants to work. What do I need to do?
 
Old 05-06-2010, 07:40 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
From what you wrote above, I'm assuming that Ctrl-ArltF1 does not get you to a console.

What happens if you open a terminal emulator within X and then run
Code:
sudo /etc/init.d/gdm stop
?

Evo2.
 
Old 05-06-2010, 07:42 AM   #3
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
It's still running X. It's X-term or something.
 
Old 05-06-2010, 07:47 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
If you really can't kill X you can try to boot without it. Please note that the following would work for Debian, and I am simply assuming that Ubuntu has not changed things too much.
Code:
sudo mv /etc/rc2.d/S30gdm /etc/rc2.d/K30gdm
sudo reboot
Before doing the above please confirm that your runlevel is 2. Check using:

Code:
runlevel
and that gdm is being started at 30
Code:
echo /etc/rc2.d/S*gdm
HTH,

Evo2.
 
Old 05-06-2010, 07:55 AM   #5
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
I'll try that. How do I boot WITH it after installing the driver?
 
Old 05-06-2010, 08:07 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by athomas View Post
I'll try that. How do I boot WITH it after installing the driver?
Just rename the symlink back to what it was. Eg.

Code:
sudo mv /etc/rc2.d/K30gdm /etc/rc2.d/S30gdm
Cheers,

Evo2.
 
Old 05-06-2010, 08:32 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Back to the beginning. I'm puzzled why "init 3" does not work. Could it be that--in Ubuntu--it needs to be "sudo init 3"?

How about " sudo init 1"?
 
Old 05-06-2010, 08:58 AM   #8
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Tried with sudo, and simply as root.

I'll try init 1 later on and post back results.
 
Old 05-06-2010, 09:13 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
echo "false" | sudo tee /etc/X11/default-display-manager

https://lists.ubuntu.com/archives/ub...ly/087620.html
QUOTE : "Ubuntu uses the Debian model, and the default runlevel is 2,
unless otherwise configured - so init 3 won't help, I'm afraid,
unless you enjoy reconfiguring runlevels."
..
 
Old 05-06-2010, 03:35 PM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by pixellany View Post
Back to the beginning. I'm puzzled why "init 3" does not work. Could it be that--in Ubuntu--it needs to be "sudo init 3"?
On Debian and therefore I assume Ubuntu, runlevels 2, 3, 4 and 5 are identical.
Quote:
How about " sudo init 1"?
That would probably work on a Debian box.

Hmm, perhaps Ubuntu 10.04 is using some other init system... I have vague memories of hearing about something called upstart.

Evo2.

Last edited by evo2; 05-06-2010 at 09:25 PM. Reason: typo
 
Old 05-06-2010, 05:11 PM   #11
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
init 1 does nothing at all except go back to the Ubuntu load screen and sit there.

Any ideas?
 
Old 05-06-2010, 09:31 PM   #12
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
I just had a look at the release notes. You should always look at release notes when you upgrade your system.

http://www.ubuntu.com/getubuntu/releasenotes/1004

It seems ubuntu is using upstart now and they have disabled Ctrl-Alt-Backspace. The release notes also tell you how to stop X running.
Code:
sudo service gdm stop
It also occurs to me that you haven't said how you are trying to install the nvidia drivers. Are you using your package manager or are you attempting to use some other method?

Evo2.
 
Old 05-06-2010, 10:20 PM   #13
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by evo2 View Post
I just had a look at the release notes. You should always look at release notes when you upgrade your system.

http://www.ubuntu.com/getubuntu/releasenotes/1004

It seems ubuntu is using upstart now and they have disabled Ctrl-Alt-Backspace. The release notes also tell you how to stop X running.
Code:
sudo service gdm stop
It also occurs to me that you haven't said how you are trying to install the nvidia drivers. Are you using your package manager or are you attempting to use some other method?

Evo2.
Yeah I'll try that. But re-read my first post, I'm trying to execute a .run file.
 
Old 05-06-2010, 10:26 PM   #14
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by athomas View Post
Yeah I'll try that. But re-read my first post, I'm trying to execute a .run file.
Ok, I missed that. Any special reason you are doing it this way, instead of using the driver packaged for your system?

Evo2.

PS. I have no idea what a ".run" file is... perhaps some sort of self extracting tar ball?
 
  


Reply



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
Ubuntu 8.04 Terminal - Can you make the terminal window transparent with a wallpaper? bparkerson04 Linux - Newbie 6 02-17-2009 05:12 PM
LXer: YaKuake - a drop-down terminal for KDE LXer Syndicated Linux News 0 10-04-2007 03:30 PM
LXer: Cool Tool: Drop-down terminal for Linux LXer Syndicated Linux News 0 03-19-2007 10:46 AM
Drop connections to port 80 at firewall machine also drop at protected network? Niceman2005 Linux - Security 2 10-27-2005 08:21 AM
Using Firestarter ... Can I Add/Drop rules from a terminal prompt? rickh Linux - Security 1 06-15-2005 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:26 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