How do i stop xserver




















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.

Are you new to LinuxQuestions. 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.

Click here for more info. I have recently installed Debian, when i tried to install the nvidia driver i need to shutdown the xserver but the command : telinit 3 dont work as root! Last edited by treaz; at AM. Originally Posted by treaz.

How to close the X server? Depending on your version the way of stopping the X server varies. When you write sudo service press tab to see the options you have gdm, kdm, As the error states, you are still running an X server. This error occurs when you try to install the Nvidia.

I'm running kubuntu and had the same problem and none of the answers worked, but it was coming up with a message saying it was running in "low graphics mode". I had to hit ctrl-alt-backspace to kill the X-server. I used ssh to connect to the machine and install the Nvidia drivers after that.

Probably going to a virtual shell using ctrl-alt-F1 would work. Runlevels in Linux dictate which services are started and stopped automatically when the system boots or shuts down.

The runlevels typically range from 0 to 6, with runlevel 5 typically starting the X window system as part of the services runlevel 0 is actually a system halt, and 6 is a system reboot. It is good practice to install the NVIDIA Linux Driver while X is not running, and it is a good idea to prevent X from starting on reboot in case there are problems with the installation otherwise you may find yourself with a broken system that automatically tries to start X, but then hangs during the startup, preventing you from doing the repairs necessary to fix X.

Depending on your network setup, runlevels 1, 2 or 3 should be sufficient for installing the Driver. Level 3 typically includes networking services, so if utilities used by the system during installation depend on a remote filesystem, Levels 1 and 2 will be insufficient.

If your system typically boots to a console with a command prompt, you should not need to change anything. If your system typically boots to the X window system with a graphical login and desktop, you must both exit X and change your default runlevel. The line that indicates the default runlevel appears as. Please read the sections on editing files and root user if you are unfamiliar with this concept.

Also, it is recommended that you create a copy of the file prior to editing it, particularly if you are new to Linux text editors, in case you accidentally corrupt the file:. The line should be edited such that an appropriate runlevel is the default 1, 2, or 3 on most systems :.

Then you can re-init to the proper run level: init 2. See Debian run levels for more information. For example, on Ubuntu, the keyboard shortcut is called "DontZap", and can be re-enabled by following these instructions. It should be the same on Linux Mint. It's best not to run startx. These days, pkill is preferred over killall. It basically does the same thing, but it has a partner command pgrep you can use to see what it would kill before doing it.

So try pgrep X or pgrep Xorg , and then run pkill X or pkill Xorg if pgrep lists only programs you want to kill. Maybe you can figure out what is causing the X server hangs. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. And why you can't install nvidia drivers from software center?

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta. Now live: A fully responsive profile. Linked Related 3. Hot Network Questions.

Question feed.



0コメント

  • 1000 / 1000