Ubuntu stuck after log in

6,357

If you can access the console, then you have a problem with Xorg or your window manager (lightdm? gdm? kdm?...). Login, then from the console stop the graphic session,

  sudo service lightdm stop

(please correct for your WM). Now you have to troubleshoot the local problem. First, make a full system upgrade and reboot. Again from the console, start the WM and see which, if any, errors are reported.

  sudo service lightdm start

Alternatively look up the /var/log/Xorg.0.log* file, and see whether any error is reported. You can take it from here.

Share:
6,357

Related videos on Youtube

enc
Author by

enc

Updated on September 18, 2022

Comments

  • enc
    enc almost 2 years

    I'm using Ubuntu 14.04 on Vmware.

    After I put my password to log in, It just stuck like the screenshot below.

    Any suggestions? or something to reference?

    screenshot

    • linuxdev2013
      linuxdev2013 about 9 years
      ram available to guest (the ubuntu vm)? graphics card? (again to the vm) --can the host OS support these settings ?
    • enc
      enc about 9 years
      @linuxdev2013 vm settings might not a problem. I used it until yesterday, I think some updates cause this problem.
    • MariusMatutiae
      MariusMatutiae about 9 years
      No screenshot below. Can you access one of the consoles? Host key + F1, the Host key is normally the right control key.
    • enc
      enc about 9 years
      @MariusMatutiae Yes, I can access the console.
  • enc
    enc about 9 years
    I found an error in /var/log/Xorg.0.log file. "(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)". Cuda toolkit, I installed caused a problem. I uninstalled it and can log in successfully.
  • Shayan
    Shayan about 5 years
    @enc What exactly did you uninstall and how? can you write an answer? I have same exact problem on 16.04.3 LTS.
  • enc
    enc about 5 years
    @Shayan Removing cuda toolkit helped as I mentioned above. this may help.
  • Shayan
    Shayan about 5 years
    which nvcc returns nothing so I guess I don't have it installed!