LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 10: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, 10:35 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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, 10:36 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
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, 10: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


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


All times are GMT -5. The time now is 05:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration