I am running (or at least trying to run) Ubuntu desktop 14.04.2 LTS on a Dell Optiplex 760 with intel Core2 Quad Q8300 CPU and an intel 4 series integrated graphics controller (uname -a :Linux systemname 3.13.0-53-generic #87-Ubuntu SMP Thu May 7 14:32:24 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux). Although I was able to load the desktop before, it fails to load now. What happens is that the purple screen with white ubuntu logo and the red over white dots below keeps on "loading" without changing, even after one hour of waiting time. I ran
apt-get update and apt-get dist-upgrade which both do not result in any issues. I triend some of the suggestions listed here, but did not get any results:
- When I try to run
ccsmI getGtkwarning: could not open display. dconf reset -f /org/compizdoes not run with exit code 1 and an "error spawning command line"unity --replacehas the following fatal error:compiz (core) - Fatal: Couldn't open display :0- reinstalling ubuntu-desktop works flawlessly as does unity and lightdm
mv ~/.config/dconf/user ~/.config/dconf/user.olddoes not help either
If more information is required I would gladly supply it. I can login and operate (as sudo) without any issues in tty1.
Update
I am able to run startx and switch to tty8 where I can load the unity desktop environment. Everything works except the header (menu) bar (i.e. no username, time, hplip icon, dropbox icon, network icon, ...) the launcher also does not auto-hide. tty7 keeps still doing the same thing as described above (purple loading screen). In tty8 I get a system program crash notification from signon-ui.
Update 2
I also tried using a boot from a live USB with Ubuntu 14.04, as suggested in the comments below. This works flawlessly, and I immediately get the menu bar with time and everything in tty7.
Update 3 Trying to upgrade to 14.10 does not work either it appears the changes cannot be calculated. A bug report was submitted.
Update 4 The upgrade to 14.10 succeeded after the bug report was marked as a duplicate. Uninstalling gnuplot allowed for 14.10 to be isntalled. The behaviour was even worse as the launcher nor menu bar were available in the startx desktop environment. However a subsequent upgrade to 15.04 resolved all the issues. Nonetheless, I accept the answer below. I did not verify if it works since I fixed my problem another way but the author claims this is the easiest answer to my original problem as stated here.
dmesg– s3lph Nov 11 '14 at 17:15DISPLAY=:0 unity --replaceor the same with compiz yields the same error as before:compiz (core) - Fatal: Couldn't open display :0– FM Kerckhof Nov 11 '14 at 18:11uname -a? Do you have similar issues if you boot from a live media? – Elder Geek Nov 12 '14 at 03:05uname -aisLinux systemname 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux– FM Kerckhof Nov 12 '14 at 08:27sudo apt-get update && sudo apt-get upgradeand thensudo apt-get dist-upgrade. What you have stated misses part of first command. – david6 May 11 '15 at 11:38dmesgbut you may notice the sequence and when it stops. Another thing you may try that worked for me for an old machine, at boot press shift to boot in recovery mode then select to continue boot as normal. – user.dz May 11 '15 at 19:22*Stopping anac(h)ronistic cron [ OK ]. If this persists for the next hour or so (currently only 15 minutes and counting) I will try the recovery mode boot. – FM Kerckhof May 12 '15 at 13:10anacwas fine as[ OK ]message confirmed that. So it's possibly a service that run after them. But we can't be sure about the order asinit(upstart) can launch jobs in parallel. Better to add debuging messages frominit. Add--verboseor--debugtoGRUB_CMDLINE_LINUX_DEFAULTin/etc/default/grub, update grubsudo update-grub, reboot then watch displayed messages or when it does stop, switch tottyconsole either usedmesgor read/var/log/dmesgand/var/log/syslog– user.dz May 12 '15 at 19:51