Possible Duplicate:
My computer boots to a black screen, what options do I have to fix it?
before going to reinstall the system again I decided to open a new thread here because I realized that after a few days from a fresh install Ubuntu will become again unbootable.
The iter is always the same. After a fresh install, the system works fine except some rare case where the boot get stuck on "Checking battery state...". When this happen, a simple start lightdm
is enough and I'm ready to go.
After a few days or one week of usage, the following events/symptoms always occur:
1 - Once I end to work and I need to reboot or power off, nothing happen when I click on the gui buttons. I can only restart or power off from terminal.
2 -During reboot the system get stuck on "Checking the battery state". The trick start lightdm
works, but instead of loading the desktop, the login screen appear. I enter my password, but nothing happen. All I get It's just the login wallpaper with the Ubuntu 11.10 logo on the bottom left.
3 - I reboot again the system without touching anything, the Ubuntu logo with loading bar is showed as usual and once done the screen become black with visible and working mouse cursor.
This is what I've tried so far:
Ctrl+Alt+F1:
unity --replace
and the results are the same described in point 2, but when I return to terminal I can see the following errors:WARNING: no DISPLAY variable set, setting it to :0 unity-panel-service: no process found compiz: ../../xcb_io.c:528: _XAllocID: Assertion 'ret != inval_id' failed aborted Rebooted, retried again with the same result, but with a different error on terminal: WARNING: no DISPLAY variable set, setting it to :0 unity-panel-service: no process found (compiz:1505): Gdk-WARNING **: compiz: Fatal IO error 11 (resource temporarily unavailable) on x server: 0
service lightdm restart
: the command restart the service, but again black screen with visible mouse cursorRemoved quiet splash parameter from boot and added nomodeset: same black screen with visible mouse cursor
Started in recovery mode: again black screen
I'm very frustrated because I know that if I reinstall Ubuntu again, I will only have a system that will stop working after a few days, maybe a few weeks if I'm lucky!
Thanks to all
sudo -s cd /etc/X11 mv xorg.conf xorg.conf.backup echo -ne "Section "Device"\n\tIdentifier\t"Default Device"\n\tOption\t"NoLogo"\t"True"\nEndSection" >> xorg.conf restart -r now
link
sudo apt-get purge nvidia* sudo rm /etc/X11/xorg.conf sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 sudo dpkg-reconfigure xserver-xorg
– Mark55 Jan 15 '12 at 17:20I don't think the problem is related to nVidia drivers because I had the system fully working for days with them.
– Mark55 Jan 15 '12 at 17:43I create a new xorg.conf file and add manually HorizSync and VertRefresh values taken from monitor manufacturer. With this change the resolution appear as an option in the xServer settings and I can enable native resolution without any problems.
"echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash" "sudo update-initramfs -u"
apt-get install gtk2-engines-pixbuf (without this I always get "Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap"). From software center I remove the following because not needed:
I only know that I cannot spend my life on reinstalling Ubuntu every few weeks and switching to an older version does not make sense. I will try again with different configurations and if I will fail again I will have no other choice than end my Ubuntu experience here.After all this is linux and fortunately there are plenty of distributions to choose!
– Mark55 Jan 15 '12 at 20:10