I've used the command
to restart Unity without logging out, but recently that's been also logging me out. I've also tried using
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.