Linux - SoftwareThis 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
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.
Maybe some body can help me? How do I exit X once I login as root user? And how do I browse to the home dir of the root user so I can execute the nvidia run file once I'm in text mode?
To leave X you can press <CTRL>+<ALT>+<BackSpace>. This kills the X server/client (which, I can't remember). If you boot to a GUI login by defeault then the chances are that it'll take you back to your GUI login.
A better way, however, would be:
Edit (as root) the file /etc/inittab. Change the line id:5:initdefault: to id:3:initdefault:. Run the installer program, edit your X config file accordingly and then test it by typing startx. If all is OK, then re-edit the /etc/inittab file and change the 3 back to a 5. If you want, reboot - or, since this is Linux - type init 5.
You don't say which distro you're using, but the above won't work for Debian. Debian nicely relaunches X after you hit <CTRL> + <ALT> + <Backspace>. Also, changing the init level in /etc/inittab won't work either. The command you have to use in Debian is a little uglier:
This will allow you to reboot your machine to the command line. I assume if you want to reverse it you would swap the 'remove' for 'add' (though I haven't tested that.)
So, under Debian you can't edit your inittab file and run init 3 either? I can appreciate that pressing CABackSpace will simply relaunch the login (as I said above) but I think that has more to do with XDM than Debian.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.