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).

  • 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 '19 at 4:54

Browse other questions tagged or ask your own question.