Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu, Knoppix, any I can get my hands on!
Posts: 24
Rep:
Kill X Server
I'm trying to install the drivers from Nvidia for my Geforce 4 Mx 440, when I try to do it within Gnome it tells me that it detects X running. I tried booting into recovery mode but then it said it detected that I was in runlevel 1 and that I should be in at least run level 3. So I typed "telinit 3" to do so then it brought me to the login screen. So my question is, how do I get a shell open without starting the X server? Thank you so much for your help.
In Ubuntu I believe that runlevel 2 is what you're looking for, despite what the Nvidia installer tells you. In most distros run level 3 is text based multiuser, but in Debian based distros it's for the full blown GUI and run level 2 is for text only multiuser.
Distribution: Ubuntu, Knoppix, any I can get my hands on!
Posts: 24
Original Poster
Rep:
killall xorg didn't work. bleh. I dunno if I should start another thread for a different question, but I'll just ask it here. In a fullscreen shell, how do you scroll up and down? I need to see the list of processes that ps -A shows but Page Up/ Page Down doesnt' work, and neither do the arrow keys. Any ideas?
Distribution: Ubuntu, Knoppix, any I can get my hands on!
Posts: 24
Original Poster
Rep:
I'll try that AwesomeMachine, but my problem now is that once I kill xorg, it comes back to life! How do I make it stay dead? Is there some other process bringing it back? I'm running Gnome, Ubuntu Edgy.
After I kill it, it restarts to the Greeting Screen/Login Screen. Thought I'd add that, incase it helps.
gdm is the service that keeps restarting x on you..
CTRL+ALT+F2 to get to a virtual terminal
Login sudo /etc/init.d/gdm stop - this command will cause the X server to shutdown, you can verify by checking running processes. do whatever you need to and then restart X as follows.. sudo /etc/init.d/gdm start
I've always gone to Single user mode for this sort of thing (telinit 1)
From there, log in as root, and do the command sequence per instruction. I would assume that Debian's Nvidia drivers (non-free) will work the best, but you may be able to get newer ones from Nvidia (if you can make them work).
Distribution: Ubuntu, Knoppix, any I can get my hands on!
Posts: 24
Original Poster
Rep:
Quote:
Originally Posted by farslayer
gdm is the service that keeps restarting x on you..
CTRL+ALT+F2 to get to a virtual terminal
Login sudo /etc/init.d/gdm stop - this command will cause the X server to shutdown, you can verify by checking running processes. do whatever you need to and then restart X as follows.. sudo /etc/init.d/gdm start
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.