6

Occasionally, with Ubuntu 12.04, I get a blank screen when I resume from suspend. I can see the mouse cursor, but that's all.

I can get TTY terminals, so is there a way to restart the graphical front-end from the command line? I know this was possible back with Gnome, but am not sure with Unity.

1

1 Answer 1

10

GDM is replaced by lightdm. If you haven't changed it manually.

STOP

sudo stop lightdm

START

sudo start lightdm

As far as I can remember, it has restart also. Try with following

RESTART

sudo restart lightdm

4
  • Thanks - that seems to be what I was looking for. I'll try it next time the problem emerges
    – Ian
    Jun 15, 2012 at 10:18
  • If anybody finds this with a similar problem, Web-E's solution works perfectly
    – Ian
    Sep 3, 2012 at 17:53
  • Ups, it destroys my settings. Is there another command to reset by maintaining my settings? Or is there anything I can do to load my settings back?
    – armanke13
    Dec 7, 2013 at 21:22
  • unity --reset is the command that causes resetting all values. Try without it. :)
    – Web-E
    Dec 8, 2013 at 7:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .