how to stop the xorg X server while in terminal console, what command ?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
how to stop the xorg X server while in terminal console, what command ?
I have the Ubuntu 11.10 with a nvidia driver issue, and so to put in the newer nvidia driver by direct manual method, it says to exit the X server before I run the downloaded file from the nvidia web site. Please tell me the correct command to use to terminate or exit out of the X server when in run level 3 text mode console. Also it must be mounted read write, not read only
I have the Ubuntu 11.10 with a nvidia driver issue, and so to put in the newer nvidia driver by direct manual method, it says to exit the X server before I run the downloaded file from the nvidia web site. Please tell me the correct command to use to terminate or exit out of the X server when in run level 3 text mode console. Also it must be mounted read write, not read only
Try issuing "ps ax|less" and get the process ID for
X. Then issue the command "kill process-ID".
At first, The default Ubuntu runlevel is 2, not 3, and switching to any other runlevel (except of course 0,1 and 6) will do exactly nothing, all the runlevels from 2-5 are the same.
To exit from X you have to stop the display manager (I think it is LightDM in 11.10), so the command would be something like
Okay thanks for that, and I did just edit the kernel boot options while at the grub boot loader to boot into text mode, that may be run level 3? Used; nosplash --verbose text, and removed the other default options at the end of that main line for the kernel while in grub.
As I already have stated above, runlevels 2-5 are the same on Ubuntu. If you want to boot into text mode you either have to boot into runlevel 1 (single user mode) or you have to change the startup services for one of the other runlevels and boot into that. I don't know how to do that with Ubuntu's upstart system, but I think Google can help here.
I did finally have it booted with X server not running and not read only file system. Then the nvidia driver 290.10 went through the install process partially but failed to complete due to the kernel module for nvidia not compiled since the needed kernel source and headers files are not in my system. So I just re-installed the older nvidia-173 version which does function fine, thanks for the help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.