5

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

Is it possible to do so without having sudo permissions?

TellMeWhy
  • 17,484

1 Answers1

13

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

Hennes
  • 1,233