Monday, April 22, 2019

14.04 - Unity not loading, how can I troubleshoot?


All of a sudden, when I log in to Ubuntu 14.04, I have no top menu bar, no launcher, no dash, only my desktop. Shortcuts like alt-F2 don't work either. Logging in as guest works worked fine.


At first I tried the ubuntu-tweak-tool tips laid out here, and ran unity-tweak-tool --reset-unity. The only effect, though was that Unity stopped working for all accounts! I also tried the compizconfig-settings-manager mentioned in many threads, with no effect.


I also tried reinstalling ubuntu-deskop and unity.


Don't know if it's relevant, but if I log in as guest, do ctrl-alt-F1 to open a terminal, log in as my user, run `startx' to open another gui session, and then try starting Unity from the terminal, it says “Invalid MIT-MAGIC-COOKIE”.


Also, ~/.xsession-errors has a lot of error like this:


 AccountsService-WARNING **: SetInputSources call failed: GDBus.Error: org.freedesktop.Accounts,Error.PermissionDenied: Not Authorized

What else can I do to troubleshoot?


The following workaround will give most of Unity (not the top menu bar) back around 50 % of the times, but only for the current session: Switch to terminal, and then


export DISPLAY=:0
unity-tweak-tool --reset-unity
unity


Turns out the solution was to purge and reinstall fglrx*, where obviously some setting had gone wrong:


sudo apt-get remove --purge fglrx*
sudo apt-get install fglrx

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...