This question already has an answer here:

I'd like to restart the GUI in Ubuntu 18 (using the standard Gnome interface), without rebooting. How can I do this?

I've found both these questions (Restart Only GUI Session Or Restart Only Operating System? and How do I restart the window manager?) but none seem to apply to Ubuntu 18 (sddm doesn't even seem to exist anymore).

marked as duplicate by N0rbert, Community Aug 15 '18 at 18:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • what about somethign like sudo service x11-common restart – Joshua Besneatte Aug 15 '18 at 18:50
  • @JoshuaBesneatte I believe that command restarts all the child processes of x11 too, which basically involve every user program that's been started in a session that's logged in via GUI. – 0xc0de Feb 1 at 4:54

Browse other questions tagged or ask your own question.