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.

I have the following problem with Ubuntu 13.04: GUI randomly switches to console mode. If I suspend and wake up, it is in GUI again.

A related issue is when I switch to a different terminal (e.g. Ctrl+Alt+F1) and then switch back to tty7 (Ctrl+Alt+F7) - I see the same console I mentioned before (looks like a system log).

I tried all Ctrl+Alt+FN and Ctrl+Alt+Fn+FN, but it does not help. The only thing that helps is suspending (i.e. closing the lid) and waking up.

share|improve this question
    
It may be your display manager which is causing this. Another possible issue may your graphics driver. So first I want you to try the suggestion that I'm posting in my answer. Give it a try: if it doesn't work then we'll proceed further. –  Saurav Kumar Sep 14 '13 at 20:12
    
Could you take a photo when this happens? Also, upload the content of the /var/log/Xorg.0.log file next time this happens. –  Braiam Sep 15 '13 at 0:48
add comment

1 Answer

up vote 0 down vote accepted

Try to reconfigure lightdm, it may fix your issue

  • Open terminal(CTRL+ALT+T) and execute following command:

    sudo dpkg-reconfigure lightdm
    
  • Then chose lightdm from the list.

  • Restart your system:

    sudo reboot now
    

It may fix your issue. If doesn't fix then follow 2nd Method.

Method 2:

Installing a new display manager can fix your problem. Steps to install GDM(a display manager much like lightdm):

  • Open terminal(CTRL+ALT+T) and execute following commands:

    sudo apt-get install gdm
    sudo dpkg-reconfigure lightdm
    

    then chose gdm from the list. And restart your system:

    sudo reboot now
    

Hope these methods solve your issue. Reply if something goes wrong..

share|improve this answer
    
So far the first method seems to have solved the problem. I'll see if it survives a couple of restarts and accept the solution. Thanks! By the way, is this a known issue, is it reported to lightdm or ubuntu developers? –  naktinis Sep 16 '13 at 11:31
    
Sounds good!! :) It would be lightdm because same issue arrived for me.. I removed lighdm and installed gdm, till then I've never faced such issue.. ;) –  Saurav Kumar Sep 16 '13 at 13:13
add comment

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.