How to kill X server using a key combination?

15,071

Yes, it is possible. In the past the key combinationCtrl Alt backspace was used to kill the X-server.

However:

  1. This no longer seems to be the default on many modern installations. You might have to re-enable this by editing a config file.
  2. Many modern systems also enable X out of the box and restart it once it terminates. In that case you would kill the x server (and possibly many running programs you started), but a fresh one would start up again.

This post has answers on how to enable the key combination.

Especially the answer "13.10+, type the following on the terminal: dpkg-reconfigure keyboard-configuration" seems relevant.

(That should trigger this screen:) enter image description here

Share:
15,071

Related videos on Youtube

TellMeWhy
Author by

TellMeWhy

I Wonder

Updated on September 18, 2022

Comments

  • TellMeWhy
    TellMeWhy over 1 year

    Is there a way to kill the current X server using a keyboard combination?

    Is it possible to do so without having sudo permissions?

    • Raphael
      Raphael over 8 years
      Ctrl + Alt + Backspace
    • TellMeWhy
      TellMeWhy over 8 years
      That's it? I don't have to set it?
    • Raphael
      Raphael over 8 years
      Sorry! that key combination is to restart X Server
    • Hennes
      Hennes over 8 years
      Or just issue it from an x-term. :)
    • Hennes
      Hennes over 8 years
      Yup. Considered some other posts as duplicate. If the OP know about the key combo then it would have been one. As it is I added a link to a similar answer in my post. I could understand a VTC dup though.