Most visited posts/pages in the last 24 hours
Join 189 other subscribers
A listing of random software, tips, tweaks, hacks, and tutorials I made for Ubuntu
A few weeks ago, I tried upgrading to Ubuntu 11.10. Since I didn’t clean install, I encountered many problems. One of them was that X11 would not load (not even the login manager).
READ THE COMPLETE TUTORIAL BEFORE TRYING.
I found a quick and easy technique to solve this problem:
sudo rm -f /etc/X11/xorg.conf
sudo rm -f xorg.conf*
sudo service lightdm stop
sudo service gdm stop
sudo service kdm stop
sudo service lxdm stop
sudo service xdm stop
sudo service wdm stop
sudo Xorg -configure
[ -f xorg.conf* ] && sudo mv xorg.conf* /etc/X11/xorg.conf
sudo dpkg-reconfigure $(dpkg -l | awk '{print $2}' | grep "^xserver" | tr '\n' ' ')
sudo update-initramfs -u
This will reset the X configuration
If you had any problems, feel free to comment below.
You should add at the top “Read completely before doing”. There are some folks who have no idea what CTRL-ALT-F3 is. You should also explain it, and explain how to get back out of it if they get confused ( CTRL-ALT-F8 ).
thanks, I updated the post :)
To avoid any confusion between backticks and quotes, you might be better using the $(…) syntax:
sudo dpkg-reconfigure $(dpkg -l | awk ‘{print $2}’ | grep “^xserver”)
thanks, I did that :)
thanks dear it worked for me
and now my kubutu desktop is loading
Nothing beats a clean, fresh installation, of course. Upgrading is frequently a big hassle, easily avoided by just burning a new LiveCD and installing fresh. Having a separate /home partition allows a fresh install without the loss of saved documents, music, pictures, even bookmarks and e-mail.
Another thing to keep in mind is that upgrading is OPTIONAL. Regular releases of Ubuntu are supported for 18 months, not just 6! So there isn’t really any urgent need to upgrade as soon as a new one is released. Even if it’s what all the cool kids are doing, lol.
Yeah, I know. I finally clean installed, and now I love Ubuntu 11.10 Alpha 3.
I’m not the sort of guy who likes stable releases :-P
You are an absolute life-saver. Despite following the exact instructions to purge fglrx and reconfigure xorg to use the open source Radeon driver, it refused to stop looking for fglrx. This worked beautifully; no more am I forced to put up with the poor compatibility between Gnome 3 and my Radeon.
Numer of created screens does not match number of detected devices.
Configuration failed
ddxSigGiveUp: closing log
PLease help
How many monitors/screens do you have?
It worked for me anyway. Try and reboot.
I know I am coming in very late, but this link was incredibly useful. It is almost time for 12.04 to come out and 11.04 still has graphics problems (I did a fresh install so I did not have any old graphics configurations). After performing the first round of updates the graphics problem kicked in. This whole mess is making me re-think using Ubuntu, despite how user-friendly the rest of the OS is.
yeah! it’s work
Worked great for me, I’ve actually had this problem since 10.X …. a bit annoyed that it works, almost. :-)
A trick to make it easier could be to put everything in an .sh file and run the file(sh filename.sh) instead, since one doesn’t have any copy&paste in that terminal.
thanks, I’ll see if I can make a script :)
Well, I’m with problems with Xorg, actually, I always got a fallback graphics device fail, so I did this, and now the Ubuntu logo appears, loads and when appear a black screen where the commands are load, the screen starts to turn on and off ):
what drivers are you using? FGLRX? Nvidia?
It doesn’t help me at all when i try to update my 11.10 ubuntu. Its crashes on line:
“Starting TiMidity++ ALSA midi emulation…”
So its seems that problem with sound, not with graphics. Can U help me to fix that?
Actually, that is not a problem with the sound. TiMidity is loaded just before X, so that’s why it stops on that line. Try pressing CTRL+ALT+F3, log in, and type: startx
Ha! Its works, thank U.
But the system works a little slow i think and its not so good animation etc.
Maybe i need to start gnome also?
And one little thing, I want to see my desktop from starting the system, without logging and starting X manually.
What graphics card do you have, and what display manager do you use?
Intel GMA 3150. Gnome
ok, so you didn’t use any drivers for the soundcard? I meant display manager as in GDM, KDM, LXDM, LightDM, etc..
I’m not surely understand… U mean graphic card? Any way i didn’t install any drivers manually, when I install ubuntu its all works good. But when I update it last time it seems that drivers(or something else software) are erroneous. The best way to me is to find what drivers fails and undertow it.
yeah, sorry, I meant graphic card. I’m used to fixing sound problems lol.
What version of Ubuntu do you have, and what release did you install (Ubuntu, Kubuntu, Lubuntu etc…)?
As I said i use Ubuntu 11.10.
Can I just use same soft like few days before? I know that linux have some problems with drivers, but i don’t know that its dangerous to update the system if all works fine :)
I got a similar problem when upgrading from 12.04 to 12.10 (i386 desktop) and my problem was connected to my dual monitors – Ubuntu froze stone dead while booting. Your suggested solution helped me as well and a reconfiguration of X solved it. Now I am up and running again. Thank you!
worked for me!
My case is little different. I have a fresh install on of Lubuntu 12 LTS on Giada thin client (Atom based). The X did not work in live CD as well, still I installed and tried but no luck. However, if I try fedora 17 live CD it is able to get the GUI work. Any idea how to get it work?
Sorry for my late reply!! That’s really odd… what graphics card do you have? And did you install any drivers?
its work
Thank you
Pingback: Diego Turcios: Something went wrong with my Ubuntu | itux.info
it worked. thank u
Pingback: One monitor getting spilled over into other monitor: how to do a 100% reset of gnome graphics configuration | Some Ubuntu Questions and Answers
Thanks Dude !
Just changed graphic card on linux mint rebecca, and Xorg was totally fucked up. Tried everything, and your fix worked !