LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2008, 09:27 AM   #1
Maffu
LQ Newbie
 
Registered: Dec 2008
Posts: 6

Rep: Reputation: 0
You appear to be running an X server!


I do, and i am. So how on earth do I get rid of it?

I'm trying to install the NVIDIA 177.82 driver for my Geforce 7600GT card in Ubuntu 8.04
Every time I try it stops with the message:
Quote:
You appear to be running an X server; please exit X before installing. For further details, please see the section INSTALLING THE NVIDIA DRIVER in the README available on the Linux driver download page at www.nvidia.com.
The document referred to in the message tells me to change the default runlevel in /etc/inittab to 1 or 2 to install it, then change it back to 3 or 5 or whatever to get my desktop back.
Unfortunately, Ubuntu 8.04 doesn't appear to have a file called inittab and if I create one in the /etc directory containing id:2:initdefault: it appears to be completely ignored on restart.

So, how can I get out of X, kill it, and then get back in once I have installed the drivers?

Thanks
 
Old 12-09-2008, 09:35 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
To stop the X server in Ubuntu you can try
Code:
sudo /etc/init.d/gdm stop
from a terminal. Then switch to a virtual console, e.g. press Alt-Ctrl-F1, login and launch the Nvidia installer from there. When you've finished, do
Code:
sudo /etc/init.d/gdm start
logout from the console, switch to the X screen (Alt-Ctrl-F7) and the trick is done!
 
Old 12-09-2008, 09:36 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
goto a tty (ctrl-alt-f1)
login as root
kill gdm or kdm (killall gdm or killall kdm)
then do your thing
restart X (gdm or kdm)
 
Old 12-09-2008, 09:44 AM   #4
Maffu
LQ Newbie
 
Registered: Dec 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colucix View Post
To stop the X server in Ubuntu you can try
Code:
sudo /etc/init.d/gdm stop
from a terminal. Then switch to a virtual console, e.g. press Alt-Ctrl-F1, login and launch the Nvidia installer from there. When you've finished, do
Code:
sudo /etc/init.d/gdm start
logout from the console, switch to the X screen (Alt-Ctrl-F7) and the trick is done!
That did the trick - thanks.
 
  


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
HP F2180 on MiniMe running server is not detectable via WLAN on MiniMe running Client AndrzejL Linux - Networking 0 11-01-2008 02:05 PM
LXer: Running A File- And Print-Server With eBox On Ubuntu 8.04 Server LXer Syndicated Linux News 0 08-28-2008 06:20 PM
How to free up space on a Linux Red Hat Server running Kerio Mail Server ohioguy47 Linux - Newbie 6 08-04-2008 08:49 PM
so is a web server running Linux without X 4x faster than win2k server? Mr. Mojo Risin General 3 09-02-2003 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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