How Do I Stop X Server

Q: How do I stop x-server?
A:

  1. Ctrl+Alt+F1
  2. sudo service lightdm stop
  3. confirm changes: Ctrl+Alt+F7 should give you a black screen
  4. to start again: sudo service lightdm start

src: https://askubuntu.com/questions/320666/how-do-i-kill-the-x-server

Did this solve your issue?