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.
I've been searching for an answer to this question on and off for about 5 years now, and have yet to find an answer. How do you shut down a running X11 server? The damn thing is like a hydra! If I kill it, it respawns, which is great if X becomes unresponsive, but doesn't help when I'm trying to install updated NVIDIA drivers, which require that X11 not be running. In the past, I've gotten around this problem by turning off X11 at boot and rebooting, but this is a less-than-ideal solution for a number of reasons:
1) I run Linux because I don't want to reboot every time I make a minor change! If I liked to reboot, I'd have stuck with Windows.
2) I can't figure out how to turn off X11 at boot under Ubuntu 5.04 :P
I've tried killing the process, halting X11 with CTRL-ALT-BACKSPACE, etc., but it always respawns, and I'm right back where I started. Is it possible to stop X11 once it's running?!? And can we get this into a freakin' FAQ somewhere? (Can you tell I'm getting frustrated?) Inquiring minds really want to know!
In Debian-based distros (this includes Ubuntu), the X11 login managers (xdm/gdm/kdm) are not directly in /etc/inittab - they run as a service in /etc/init.d.
So you can turn it off with "sudo invoke-rc.d kdm stop". You can also switch the runlevel to one without a login manager service to make it more permanent, or use a runlevel editor to remove xdm/kdm/gdm from your runlevel of choice.
Originally posted by lagu2653 ctrl-alt-backspace > new login
Did you even read the first post???
Quote:
I've tried killing the process, halting X11 with CTRL-ALT-BACKSPACE, etc., but it always respawns, and I'm right back where I started. Is it possible to stop X11 once it's running?!? And can we get this into a freakin' FAQ somewhere? (Can you tell I'm getting frustrated?) Inquiring minds really want to know!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.