Ubuntu – Screen randomly switches to console

13.04command linedisplaysuspendtty

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.

Best Answer

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..

Related Question