Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need to enter the command line alone with no GUI to install the official NVIDIA drivers. I'm trying to get my computer to work over HDMI and someone on Youtube shows how but you have to be in the Nvidia settings program.

share|improve this question
add comment

5 Answers 5

just simple do

  1. go to CLI mode

    CTRL + ALT + F1

  2. stop GUI service on Ubuntu

    sudo stop lightdm, or sudo stop gdm if you're using a version of Ubuntu before 11.10.

share|improve this answer
    
Perhaps add more Display managers, for the other variants of Ubuntu. –  Uri Herrera Jun 9 '12 at 16:25
add comment

Use

sudo service gdm stop

to stop the GUI and

sudo service gdm start

to start it again

share|improve this answer
    
If you use kubuntu change gdm with kdm :) –  kv1dr May 31 '11 at 12:09
    
I'll accept yours because my question was too way specific. Actually I needed to run telinit 1 to completely disable not required processes. –  dierre May 31 '11 at 12:11
add comment

Start by logging out and striking CtrlAltF1, then log on.

On Kubuntu stopping the GUI can be done through sudo /etc/init.d/kdm stop. On Ubuntu this will probably be sudo /etc/init.d/gdm stop.

Enter your password when prompted.

dm stands for Display Manager, check ls /etc/init.d/ which dm is available when it is not gdm.

To restart it just change stop to start.

You probably automatically change to the GUI, if not strike: CtrlAltF7

share|improve this answer
    
obysr's lightdm sounds familiar. That would make the command: sudo /etc/init.d/lightdm stop –  jippie Jun 9 '12 at 7:15
add comment

I know you are not asking this specifically, but you need to install the nvidia-current driver.

You can do this from a gui. Just run jockey-gtk or search for "Additional Drivers" from the dash. Once it is installed, open Nvidia Settings and go from there.

share|improve this answer
add comment

You could open gnome-terminal and type sudo telinit 1. This would drop you to run level 1(single user mode) and kill the gui services.

bertmanphx

share|improve this answer
    
it's not happening. I typed sudo init 3 but nothing changed. –  dierre May 31 '11 at 11:53
    
it was sudo telinit 1, then choose root. –  dierre May 31 '11 at 12:08
    
@bertmanphx: you are not aware of ubuntu startup process and runlevels used. –  enzotib May 31 '11 at 12:36
    
@dierre: I think it is not correct to edit answers in the core, like changing 3 to 1. This invalidates OP intentions and my objection. –  enzotib May 31 '11 at 12:42
    
Well the answer was actually useful so I thought to correct the wrong parts. –  dierre May 31 '11 at 12:43
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.