Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
2  
You might wish to log into launchpad and mark that this bug affects you too, if you haven't already: bugs.launchpad.net/ubuntu/+source/linux/+bug/966744 –  David Edwards Jun 15 '12 at 10:58

1 Answer 1

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

Let me know the result.

Reset unity ! use with caution - will reset all you settings !

unity --reset

share|improve this answer
    
Thanks - that seems to be what I was looking for. I'll try it next time the problem emerges –  Ian Jun 15 '12 at 10:18
    
If anybody finds this with a similar problem, Web-E's solution works perfectly –  Ian Sep 3 '12 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 '13 at 21:22
    
unity --reset is the command that causes resetting all values. Try without it. :) –  Web-E Dec 8 '13 at 7:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.