I've used the command
unity
to restart Unity without logging out, but recently that's been also logging me out. I've also tried using
unity --replace
but that does the same thing. Can someone either help me get that command working correctly again or tell me another way to restart Unity while still keeping my current session?
If I try
sudo service lightdm restart
my screen goes black, and I just end up restarting my machine entirely.
compiz --replace
works for me though.