No GUI after upgrade to Ubuntu 9.10 (boots to command line)

6

I have just upgraded to Ubuntu 9.10 (network upgrade using the update manager, from 9.04 which had different graphics related problems) and when I try to boot into it all I get a small Ubuntu logo, flickering text and then the tty1 command line with a logon prompt.

startx gives following error:

Fatal server error: no screens found

I traced down a tutorial that said I needed the latest graphics drivers (Gigabyte ATI Radeon 4650 HD installed with 9.10 catalyst drivers) so I did using the 'sh' command and a USB stick (I have a working Windows partition) and it installed fine but did not fix the problem.

Edit: Thanks to UK and Arjan below I was able to understand the full error message of start x:

Parse error on lone 2 of /etc/X11/xorg.conf
'nameserver' is not a valid keyword in this section
Fatal server error: no screens found

This has nothing to do with a graphical error (sorry if I misled anyone) but the xorg.conf file has 3 lines in it and lines 2-3 have an entry 'nameserver'. Using the nano command I commented out (using a # before the entries) the nameservers and can now boot Ubuntu.

Thanks to everyone for their help.

Gathris

Posted 2009-10-31T21:05:36.217

Reputation: 187

Do you get an error when trying to run startx ? – MDMarra – 2009-10-31T23:03:47.680

How did you upgrade? Did you download the ISO and booted from that (any chance you downloaded the server version then?), or did you use the Update Manager? Anything at https://help.ubuntu.com/community/KarmicUpgrades that was different during your upgrade?

– Arjan – 2009-11-01T09:20:03.783

startx gives "Fatal server error: no screens found" which made me lol as how would I have seen the error if there were no screens?

I used the network upgrade using the update manager. – Gathris – 2009-11-01T11:35:02.640

It would be enormously easier to help you if you stated your hardware, most especially your video chipset. – CarlF – 2009-11-01T16:59:24.470

Answers

3

From Ubuntu forums , You may need to reconfigure your xconf by using the following command,

sudo dpkg-reconfigure -phigh xserver-xorg

PS: Added additional Solutions

1) try to fix xserver in the recovery options. 2) check your xorg.conf for device section

Section "Device" 
    Identifier "Configured Video Device" 
    Driver "radeon" ## or make it "ati"
EndSection 

ukanth

Posted 2009-10-31T21:05:36.217

Reputation: 9 930

Tried that from the recovery console and after login but did not fix the problem. – Gathris – 2009-11-01T11:31:54.097

How do I get to the recovery options? – Gathris – 2009-11-01T16:05:48.323

1My 9.10 (which runs fine) does not have any xorg.conf file. I've read that /etc/X11/xorg.conf will be used if it exists though. So, just as a side note: to create such file, for example use sudo nano /etc/X11/xorg.conf (and when done, press Ctrl-X to stop). – Arjan – 2009-11-01T16:15:51.237

xorg.conf fie exists. is it still ok to run 'nano' command. – Gathris – 2009-11-01T17:24:37.743

1Yes, nano is just an easy editor. You can always bail out using Ctrl-X and then select No when asked to save the changes (if you made any). – Arjan – 2009-11-01T18:08:50.400

2

Finally found the solution!

H/W: Dell Studio (1555) running Vista Home Premium 64bit; 4GB RAM; 250GB SATA (circa June 2009 B.FUTW7 [B.FUTW7 implies "Before Free Upgrade to Windows 7" LOL!] )

Booted USB version of Ubuntu 9.10 (x64) - worked perfectly. From there I installed to the HDD (last step ADVANCED I made sure the boot info was placed on the partition and to not modify the main MBR). After the installed it, I used EasyBCD 1.7 to get the boot to work - learning curve but worked fine.

But when I booted it went DIRECTLY to the console. I finally found THIS site.

First, I tried to start "xstart" and it returned "Fatal server error: no screens found" - a big clue!

So then I followed UK's solution:

sudo dpkg-reconfigure -phigh xserver-xorg

and then vi to change the xconf.org:

Section "Device"
     Identifier "Configured Video Device" 
     Driver "radeon" ## or make it "ati" 
 EndSection

Driver listed was "fglrx". https://help.ubuntu.com/community/BinaryDriverHowto/ATI

Funny, BEFORE the actual install, I downloaded the "ATI/AMD proprietary FGLRX graphic driver" - then I installed Ubuntu to the HDD. So I guess it used THAT as the driver but it failed to work.

I chose to rename the driver to "radeon" per the above and now Ubuntu loaded FINE!

Now back into the GUI, it said for that driver "this driver is not activated". Implies, perhaps, that my "attempt" to install during the "Test phase" remembered my CHOICE but didn't actually DOWNLOAD FOR THE INSTALL. So the new install used the "fglrx" driver in the xorg.conf but had not downloaded the drivers.

For a lark, I just downloaded the drivers using the "Restricted drivers" window ... once complete it changed the xorg.conf back to "fglrx" and I had to restart. NOW it worked fine and booted in GUI mode.

At any rate, a few hours from start (of d/l Ubuntu and installing it) to finish and now Vista and Ubuntu are working perfectly together.

Cheers all!
jeff

jholicky

Posted 2009-10-31T21:05:36.217

Reputation: 21

0

Type the below command

X -configure

After the above process completes, run file system consistency check by typing below command

fsck

After the file system check is completed, Reboot you linux box by typing

init 6

You will get GUI login, it worked for me.

user31210

Posted 2009-10-31T21:05:36.217

Reputation:

0

Does it go straight to a text login prompt, or does it flicker, trying to go graphical, and then fail back to a prompt? If there's no flicker, you probably don't have an X server installed. Install xserver-xorg and gdm.

Lee B

Posted 2009-10-31T21:05:36.217

Reputation: 1 127

Their is a flicker. – Gathris – 2009-11-01T08:39:12.167

0

If you have problems to start X, try the following:

if the command startx doesn't work, you have to reconfigure xorg.conf. You can do this by renaming the xorg.conf.failsafe file to xorg.conf. It is recommended to backup your old xorg.conf file before replacing it. Rename the original xorg.conf file by the following command:

$ mv -i xorg.conf xorg.conf.failsafe2

the -i option makes the mv command to promt when an exising file will be overwritten. Next type the following command:

$ mv -i xorg.conf.failsafe xorg.conf

now you can try to start X by the following command:

$ startx

It works with me, I hope it also works for you.

Greets.

Bosz and MiroJ

Posted 2009-10-31T21:05:36.217

Reputation:

In which folder do the mv commands need to be executed? And wouldn't it need sudo? (And don't know if it matters, but on my fresh 9.10 install, without any problems, sudo find / -name xorg.* does not find any xorg.conf, nor xorg.conf.failsafe.) – Arjan – 2009-11-02T12:27:31.617

0

I have been having this exact same problems on my laptop since 9.10 was released and I tried to freshly install it. I was aiming to keep XP x64 on a separate partion, and load Ubuntu onto another. No command solutions worked, but this did work:

1) use a partition manager inside windows to create a NFTS partition (I used Partition Wizard - free and simple)

2) use Wubi from inside windows to install Ubuntu 9.10 onto the partition

3) boot and enjoy!*

*note: I had to reinstall the Windows boot loader from the CD because it had been over written by GRUB at previous Ubuntu install attempts, so if you're in the same boat, keep your Windows XP cd handy. I prefer to Windows boot loader to GRUB anyways.

None

Posted 2009-10-31T21:05:36.217

Reputation:

I found a solution if you want to look at my original post. – Gathris – 2009-11-04T21:32:10.217