The standard shortcut for killing the X server is (was) Ctrl-Alt-Backspace, but it has been disabled by default in Ubuntu for a while. However, it can easily re-enabled in the KDE system settings (command: systemsettings) under
Input Devices -> Keyboard -> Tab: Advances -> Checkbox: Key sequence to kill the X server