LinuxQuestions.org
Help answer threads with 0 replies.
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 04-23-2004, 05:16 PM   #1
Dswissmiss
Member
 
Registered: Mar 2004
Location: New York
Distribution: Fedora
Posts: 92

Rep: Reputation: 16
How to stop running x?


Hi,
I wanted to install the new Nvidia drivers off the net, but when I try to run the installer, it tells me to exit x and try again. I have failsafe as one of my options in GDM, but the installer still tells me to exit x. How do I get to a command line? Also, is there another way I can install the drivers through apt-get?

Thank you
Dswissmiss
 
Old 04-23-2004, 05:19 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
As root
init 3


Cheers,
Tink
 
Old 04-23-2004, 05:23 PM   #3
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Hi..

From your GUI, press <Ctrl - Alt - F1> to get a console..now login as root and give the command:

init 3

This will boot you into runlevel 3. Now you can try running the installer program again.

--amit
 
Old 04-23-2004, 06:05 PM   #4
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 496

Rep: Reputation: 30
I think you can do "init 3" from an X Terminal (or GNOME Terminal, Konsole, etc.). Just su before you do it.
 
Old 04-23-2004, 09:32 PM   #5
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
from the GUI crtl+alt+backspace after x shuts down logout then login as root at least this works with slack
 
Old 04-24-2004, 12:06 AM   #6
Dswissmiss
Member
 
Registered: Mar 2004
Location: New York
Distribution: Fedora
Posts: 92

Original Poster
Rep: Reputation: 16
Hi guys, thanx for your help...

I'm not having any luck with this though , maybe I'm missing something.

From the GDM I do a Ctrl-ALT-F1 which seems to end x, and leaves me with a console login.
After I log in as root and type init 3, I get a init 3 runlevel starting dialog, but then nothing. I type enter, then get root@localhost, then do the sh NVIDIA.... but it still seems to think that I'm running x.

any ideas?

Thanx again
Dswissmiss
 
Old 04-24-2004, 12:16 AM   #7
mldqj
LQ Newbie
 
Registered: Apr 2004
Location: CT, US
Distribution: Ubuntu
Posts: 24

Rep: Reputation: 15
Quote:
Originally posted by Dswissmiss
Hi guys, thanx for your help...

I'm not having any luck with this though , maybe I'm missing something.

From the GDM I do a Ctrl-ALT-F1 which seems to end x, and leaves me with a console login.
After I log in as root and type init 3, I get a init 3 runlevel starting dialog, but then nothing. I type enter, then get root@localhost, then do the sh NVIDIA.... but it still seems to think that I'm running x.
Ctrl-Alt-F1
login from the console as root
run "killall -9 gdm" and "killall -9 XFree86"
 
Old 04-24-2004, 12:22 PM   #8
Dswissmiss
Member
 
Registered: Mar 2004
Location: New York
Distribution: Fedora
Posts: 92

Original Poster
Rep: Reputation: 16
damn...i still get "x server running"

also, i was just browsing synaptic and I have nvidia-kernel-common (newest version) installed, along with the nvidia-kernel-source, but sarge only shows nvidia-kernel-2.4.25. I have 2.6.3-1 installed, will I even be able to upgrade using apt-get?

Last edited by Dswissmiss; 04-24-2004 at 12:29 PM.
 
Old 04-24-2004, 02:56 PM   #9
qcoder
Member
 
Registered: Oct 2003
Location: United States
Distribution: Debian
Posts: 65

Rep: Reputation: 15
If all else fails you could just change the default runlevel in /etc/inittab, reboot , then when your done change it back.

Last edited by qcoder; 04-24-2004 at 02:57 PM.
 
Old 04-24-2004, 03:11 PM   #10
jcspray
Member
 
Registered: Mar 2004
Location: York, UK
Distribution: Ubuntu
Posts: 132

Rep: Reputation: 15
The whole "init 3" thing isn't working because that's not how the runlevels are numbered in debian.

Here's how I do it:
ctrl-alt-f1
"/etc/init.d/gdm stop"
do nvidia stuff
"/etc/init.d/gdm start"
 
Old 04-24-2004, 04:14 PM   #11
Dswissmiss
Member
 
Registered: Mar 2004
Location: New York
Distribution: Fedora
Posts: 92

Original Poster
Rep: Reputation: 16
Thanx jcspray, I finally got it working.

Only thing is, it couldn't find the kernel thing for 2.6.3-1 (I think it was looking for (nvidia-kernel-2.6.3-1").

I guess this is a debian question, but how long would it take for the new ones to come out (couldn't find it in sid either), and would I really notice a difference if I reverted back to 2.4.25-1 and installed nvidia there?

thanx
 
Old 04-24-2004, 04:19 PM   #12
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
in debian try init 1 the installer will complain about it just ignore it. or change the default runlevel in your /etc/inittab then reboot.
 
Old 04-24-2004, 04:41 PM   #13
jcspray
Member
 
Registered: Mar 2004
Location: York, UK
Distribution: Ubuntu
Posts: 132

Rep: Reputation: 15
So you're running a 2.6.3 kernel? Did you build it yourself, or was it a debian package?

To build this nvidia driver, you need a kernel source tree that corresponds to the kernel that you're running. If it's a debian package, there should be a corresponding source package in the apt respository ("kernel-source-2.6.3" to go with "kernel-image-2.6.3-[whatever]"). Once you've extracted the archive in /usr/src/, you can copy the config from /boot to /usr/src/linux/.config and do a "make bzImage" in /usr/src/linux. This source should now be prepared to build the nvidia driver from.
 
  


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
How do I stop all of my running applications!? DreameR-X Linux - Newbie 4 06-27-2005 07:11 PM
How do I stop X Eyes from running??? dabauer Linux - General 3 02-14-2005 05:51 PM
Continuously running process...how do I stop it? Holly Linux - Newbie 2 02-27-2004 12:39 AM
How to stop xwindows form running xspider Linux - Newbie 1 02-24-2004 04:19 AM
Kpersonalizer won't stop running! iihay Linux - General 2 07-08-2002 05:48 PM

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

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