Ubuntu 14.04 desktop environment does not load
Solution 1
Try this if this helps but make a copy first of this file beginning with ".ICE*" and paste the copy into gedit editor and save this as different name-file ...
then do this in terminal :
rm .ICE*
and reboot your machine off-line.
Solution 2
First login into tty
by pressing CTRL+ALT+1
Note: Press ALT+7
to came out from tty
Solution 1: Reset the Unity and Compiz
-
Download Unity Reset tool from here.
Note: It should work with Ubuntu 14.04, 13.10 and 13.04.
-
Reset Unity using the following command
$ unity-reset
Solutiom 2: Reinstall Ubuntu Desktop (i.e Unity)
sudo apt-get install --reinstall ubuntu-desktop
Solution 3: Install other Desktop Environment like,Gnome, KDE..etc
Now, i suggest you try Gnome Desktop, it looks cool.
sudo apt-get install gnome-shell ubuntu-gnome-desktop
After trying any solution, just reboot your system.
$ sudo reboot
FM Kerckhof
Updated on September 18, 2022Comments
-
FM Kerckhof over 1 year
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 ranapt-get update
andapt-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
ccsm
I getGtkwarning: could not open display
. -
dconf reset -f /org/compiz
does not run with exit code 1 and an "error spawning command line" -
unity --replace
has 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.old
does 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.
-
s3lph over 9 yearsAre there any error messages?
dmesg
-
FM Kerckhof over 9 yearsnot that I can tell, there is quite some output in dmesg, how should I look for errors?
-
FM Kerckhof over 9 yearsi tried to grep error in dmesg output none were found.
-
Elder Geek over 9 yearsYou might try the answers here:askubuntu.com/questions/31167/…
-
FM Kerckhof over 9 years@ElderGeek thank you for the suggestion but there are no compiz nor Xorg processes running so I cannot kill them. Running
DISPLAY=:0 unity --replace
or the same with compiz yields the same error as before:compiz (core) - Fatal: Couldn't open display :0
-
FM Kerckhof over 9 yearsI am able to run startx and switch to tty8 where I can load the unity desktop environment. Everything works except the header bar (i.e. no username, time, hplip icon, dropbox icon, network icon, ...). 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. This is very puzzling behaviour and I cannot figure out what causes it.
-
Elder Geek over 9 yearsThank you for that information. It appears that you may be affected by one of these bugs: bugs.launchpad.net/ubuntu/+source/signon-ui
-
Elder Geek over 9 yearsThis is indeed puzzling behaviour. Was this a clean install or an upgrade to 14.04? what's the output of
uname -a
? Do you have similar issues if you boot from a live media? -
FM Kerckhof over 9 yearsIt was an update from 12.04 LTS. The output from
uname -a
isLinux 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 over 9 yearsI did not try yet booting from a live medium because I did not make one for 14.04 yet. Will try asap.
-
FM Kerckhof over 9 yearsanother funny thing is that the screen lock does work in the startx desktop, i.e. the "login screen" (signon-ui) does show and work properly.
-
FM Kerckhof about 9 years@ElderGeek I could finally try with a live medium but with no succes, is there any other info that I could give you or other diagnostic options for me to try?
-
Elder Geek about 9 yearsdid you check the hash (md5sum) of your .iso file to insure that your image is accurate? Also "no success" tells me near to nothing. Please edit your question and add what you've tried, what the results were, any and all error messages you receive. Thank you for helping us help you. Comments are for clarification and getting a specific users attention, but information regarding your problem should always be added to your question by editing.
-
FM Kerckhof about 9 yearsI'm sorry. I stand corrected. Also, things worked flawlesly with the live medium, after checking the *.iso I had the right version and it booted (with the "try ubuntu" option) straight to tty7 with a normal menu bar and everything included
-
david6 almost 9 yearsCan you confirm that you ran
sudo apt-get update && sudo apt-get upgrade
and thensudo apt-get dist-upgrade
. What you have stated misses part of first command. -
FM Kerckhof almost 9 yearsI can confirm that I have ran all of them. Both terminal output and desktop software updater show that everything is up to date.
-
user.dz almost 9 years@FMKerckhof, try boot and press F8. It's the same as
dmesg
but 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. -
FM Kerckhof almost 9 yearshi @Sneetsher thanks for the input. F8 gives a lot more info than dmesg ever gave me because dmesg that is e.g. in the error report at launchpad is from the startx session in tty8. Currently the sequence appears to stop after
*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 almost 9 years@Sneetsher normal booting in recovery mode gives exactly the same issues as before. I have also tried booting in recovery mode with failsafe graphics mode here I get the option to "run for one session in low graphics mode" which I select and then I get the message "stand by one minute while the display restarts" which lasts for more than 15 minutes. Removing anacron from startup does not help either, then the F8 output just stops after starting the CUPS pringting spooler/server
-
user.dz almost 9 years@FMKerckhof,
anac
was 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--verbose
or--debug
toGRUB_CMDLINE_LINUX_DEFAULT
in/etc/default/grub
, update grubsudo update-grub
, reboot then watch displayed messages or when it does stop, switch totty
console either usedmesg
or read/var/log/dmesg
and/var/log/syslog
-
FM Kerckhof almost 9 years@Sneetsher after my bug report for upgrade to 14.10 was marked as a duplicate of bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/… on launchpad I am able to upgrade to 14.10 which is exactly what I am doing at the moment. I will see if the error persists and if so try your suggestions.
-
FM Kerckhof almost 9 years@Sneetsher upgrading to 14.10 worked but then the menu bar and launcher were gone completely. However a subsequent upgrade to 15.04 resolved any and all issues. Auto-hide behavior of the launcher and the menubar are all recovered.
- When I try to run
-
dschinn1001 almost 9 yearsyes, it is easy to change to a different Desktop wm or to reinstall this wm simply and this answer of me is the shortest way to solve this problem as described in question above. So this ICE file will then be deleted and at next boot it will be fresh new there.
-
FM Kerckhof almost 9 yearsHi thank you for the suggestion. However, as stated in the comments above the issues seems to have been resolved by upgrading over 14.10 (which was initially hampered by gnuplot for some reason, but I only saw after my bug report on launchpad was marked as a duplicate) to 15.04. Thank you very much. Just for clarity though: what would removing the .ICEauthority have accomplished?
-
dschinn1001 almost 9 years@FMKerckhof + here you find anything about ICEauthority and the inflicting fricklings when you dont remove ICE* simply with: rm .ICE* in your terminal as normal user (search words in google are : ubuntu removing the .ICE* file) + :o) + this could be too that there are login-attempts of "invisible" guests on your machine while you did not notice this and so you simply rm the responsible hidden files ... and shake off the persecutors then invisibly ... + you could check what you see in terminal before and after next re-boot with in terminal : w and in terminal to with : who
-
FM Kerckhof almost 9 yearsThank you for your answer, but I already stated above that I tried solution 2 and re-installation went flawlessly but without resolving the issue. In the end I didn't need to install another desktop environment (as solution 3 suggest) since an upgrade to 15.04 just fixed my issues. I was not aware of the existence of the unity-reset tool, thanks for bringing it to my attention!
-
Akshay Pratap Singh almost 9 yearsohh...i didn't read the above cmnt's . That's good, that you rectify this problem..... now next time you face this situation you can use any of these solution. FM Kerckhof