Failed to start the X server (your graphical user interface)

  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

I know that this problem was discussed in more than one forums, but I could not find what should I do with my case

Running FC7. I installed several packages (I do not remember what are they) last night. Today, when I booted up the computer, I got this message:

Failed to start the X server (your graphical user interface). It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem.

I tried Ctrl-Alt-F1 where I get the X server failure and go to a command line.

1- cat /var/log/Xorg.0.log | grep EE
Code: [ Select ]
(WW) warning , (EE) Error, (NI) Not Implemented, (?) unknown, (EE) unable to locate /open config file

(II) Loading Extension MIT-SCRENN-SAVER
(EE) Failed to load module vga (module does not exist, 0)
(EE) open /dev/fb0: No Such file or directory
(EE)<default pointer>: Cannot find which device to use.
(EE)xf860OpenSerial : No Device specified
(EE)<default pointer>: cannot open input device
(EE) PreInit failed for Input device <default pointer>
  1. (WW) warning , (EE) Error, (NI) Not Implemented, (?) unknown, (EE) unable to locate /open config file
  2. (II) Loading Extension MIT-SCRENN-SAVER
  3. (EE) Failed to load module vga (module does not exist, 0)
  4. (EE) open /dev/fb0: No Such file or directory
  5. (EE)<default pointer>: Cannot find which device to use.
  6. (EE)xf860OpenSerial : No Device specified
  7. (EE)<default pointer>: cannot open input device
  8. (EE) PreInit failed for Input device <default pointer>


2- Then I run : Xorg -configure
Code: [ Select ]
Xorg is not able to detect your mouse. Edit the file and correct the Devices.
Your xorg.conf file is /root/xorg.conf.new.
To test the server, run 'X -config /root/xorg.conf.new
  1. Xorg is not able to detect your mouse. Edit the file and correct the Devices.
  2. Your xorg.conf file is /root/xorg.conf.new.
  3. To test the server, run 'X -config /root/xorg.conf.new


3- Then I run Xorg -config /root/xorg.conf.new
Code: [ Select ]
Fatal sever error:
failed to initialize core devices
  1. Fatal sever error:
  2. failed to initialize core devices


4- Then I run system-config-display --reconfig

The output was :
Code: [ Select ]
--disply=:1: Fatal 10 error 104 (Connection reset by peer) on X server:17.0.xconf.py.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

The X Server is a strange animal. The Unix Haters Handbook has a chapter on it. Read it when you get a chance.

In the meantime you have to recreate the xorg.conf file. Either run the command again, take a sample file off the net or edit what you have in a text editor. If you aren't going to edit what you have, then delete the existing files and start again.

http://linux.die.net/man/5/xorg.conf
That's the man page but there are many other informational sites.
  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

output for " X -configure " command is :
Code: [ Select ]
       Intel
       ark
       r128
       trident
       amd
       hsc
       vmware
       glint
       fbdev
       vesa
(EE) LoadModule: Module ztv does not have a ztvModuleData data object
(EE) Failed to load module "ztv" (invalid module, 0)
(++) Using config file: "/root/xorg.conf.new"
(ww) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(II) Module already built-in

Xorg is not able to detect your mouse. Edit the file and correct the Devices.
Your xorg.conf file is /root/xorg.conf.new
To test the server, run 'X -config /root/xorg.conf.new
  1.        Intel
  2.        ark
  3.        r128
  4.        trident
  5.        amd
  6.        hsc
  7.        vmware
  8.        glint
  9.        fbdev
  10.        vesa
  11. (EE) LoadModule: Module ztv does not have a ztvModuleData data object
  12. (EE) Failed to load module "ztv" (invalid module, 0)
  13. (++) Using config file: "/root/xorg.conf.new"
  14. (ww) I810: No matching Device section for instance (BusID PCI:0:2:1) found
  15. (II) Module already built-in
  16. Xorg is not able to detect your mouse. Edit the file and correct the Devices.
  17. Your xorg.conf file is /root/xorg.conf.new
  18. To test the server, run 'X -config /root/xorg.conf.new
  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

http://www.linuxforums.org/forum/redhat ... ation.html

Take the xorg.conf file from Hiko's post and modify it to fit your hardware.
  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

Thanks for that, I will try that
  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

I'd like to know exactly which packages you installed that borked your X configuration.

How about posting your /etc/X11/xorg.conf - specifically any "InputDevice" sections you may have in there.
  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

Quote:
I'd like to know exactly which packages you installed that borked your X configuration.

I used to update (Yum update) every two days , while I was doing normal update, this problem happened after rebooting.

Therefore I do not know what was the exact package name, that had created this problem, which I have been stucked since 10-12.
  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

Quote:
specifically any "InputDevice" sections you may have in there.

Code: [ Select ]
Section "InputDevice"
     Identifier     "Mouse0"
     Driver       "Mouse"
     Option       "Protocol" "auto"
     Option       "Device" "/dev/input/mice"
     Option       "ZAxis Mapping" "4 5 6 7"
EndSection
  1. Section "InputDevice"
  2.      Identifier     "Mouse0"
  3.      Driver       "Mouse"
  4.      Option       "Protocol" "auto"
  5.      Option       "Device" "/dev/input/mice"
  6.      Option       "ZAxis Mapping" "4 5 6 7"
  7. EndSection
  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

Try taking that InputDevice section out, I don't have one for my mouse on any distro from FC4 to F8 or CentOS and have never had problems. Either that or change /dev/input/mice to /dev/input/mouse0
  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

Quote:
Try taking that InputDevice section out, I don't have one for my mouse on any distro from FC4 to F8 or CentOS and have never had problems.

I commented this section,,,it did not work.

Quote:
change /dev/input/mice to /dev/input/mouse0

I tried this option as well, but same problem still going on
  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

Quote:
The X Server is a strange animal

Really it is a strange animal
  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

Try changing the mouse protocol to "PS/2" and comment out the ZAxis
  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

Wait, what the heck is this?
Quote:
LoadModule: Module ztv does not have a ztvModuleData data object


Do:
Code: [ Select ]
rpm -qa | grep ztv

and see if anything comes up. If it does, try uninstalling it.
  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

Quote:
and see if anything comes up. If it does, try uninstalling it.

Nothing came up


Quote:
Try changing the mouse protocol to "PS/2" and comment out the ZAxis

I changed that , and I saved the the file , then I typed in: init 6 , to restart the linux box, but still I am in the console mode (i.e not GUI).
  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

Quote:
I changed that , and I saved the the file , then I typed in: init 6 , to restart the linux box, but still I am in the console mode (i.e not GUI).

issue a "real" reboot: shutdown -r now

The package to remove is xorg-x11-drv-amd

What graphics card do you have?
  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

Quote:
What graphics card do you have?

It is built-in on the laptop Toshiba called : Mobile Intel(R) 945G Express Chipset amily
  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

what does your VideoCard section look like? Did you remove that package (xorg-x11-drv-amd)? Install the 915resolution package as well.
  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

Quote:
what does your VideoCard section look like?

I did not get what you meant.

Quote:
Did you remove that package (xorg-x11-drv-amd)?

Output for
Code: [ Select ]
yum remove xorg-x11-drv-amd

Quote:
No match for argument: xorg-x11-drv-amd
No packages marked for removal.



Output for
Code: [ Select ]
rpm -qa | grep xorg-x11-drv-*

Quote:
xorg-x11-drv-evdov-1.1.2-3.fc7
xorg-x11-drv-void-1.1.0-4.fc7
xorg-x11-drv-keyboard-1.1.0-3.fc7
xorg-x11-drv-vesa-1.3.0-8.fc7
xorg-x11-drv-mouse-1.2.1-2.fc7
  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

This is my VideoCard section, though it's for an nVidia card:
Code: [ Select ]
Section "Device"
    Identifier "Videocard0"
    Driver   "nvidia"
    Option   "BackStoring" "true"
    Option   "ConnectToAcpid" "false"
    Option   "DamageEvents" "true"
    Option   "TripleBuffer" "false"
    Option   "RenderAccel" "true"
    Option   "AddARGBGLXVisuals" "True"
EndSection
  1. Section "Device"
  2.     Identifier "Videocard0"
  3.     Driver   "nvidia"
  4.     Option   "BackStoring" "true"
  5.     Option   "ConnectToAcpid" "false"
  6.     Option   "DamageEvents" "true"
  7.     Option   "TripleBuffer" "false"
  8.     Option   "RenderAccel" "true"
  9.     Option   "AddARGBGLXVisuals" "True"
  10. EndSection

Here's one for a machine with an SIS card:
Code: [ Select ]
Section "Device"
    Identifier "Videocard0"
    Driver   "sis"
EndSection
  1. Section "Device"
  2.     Identifier "Videocard0"
  3.     Driver   "sis"
  4. EndSection


What chipset do you have? The following will give a good indication:
Code: [ Select ]
lspci | grep "Host Bridge"

If this returns AMD anything, you probably do want the drv-amd package installed. For some reason, your X configuration is looking for it (ztv). It's possible that I wrongly assumed it was erroring on that because of a problem with the module rather than a requirement for it (though it seems odd to me that X would be dying instead of using default modules).

Is this a laptop? If so, what model. There are numerous bug reports on Fedora 7 running on various laptops. An upgrade to Fedora 8 may actually be your best answer.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

if the xorg.conf file was modified there should be a backup inside /etc/X11..
if you enter the command
Code: [ Select ]
ls -l /etc/X11
it should show you the files in that folder and show you what date they were created. look to see if theres some backup file in that folder, which may be ~xorg.conf or xorg.conf.bak (something of the sort). if there is an old xorg.conf file, you could try replacing the current one with the old one ? which you need root privileges for so..
Code: [ Select ]
su
<enter your root password>
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.BAK122407  (or whatever name format you prefer for backups :])
(this next file is going to be the 'old'/'backup' file you found)
cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf
exit
startx
  1. su
  2. <enter your root password>
  3. mv /etc/X11/xorg.conf /etc/X11/xorg.conf.BAK122407  (or whatever name format you prefer for backups :])
  4. (this next file is going to be the 'old'/'backup' file you found)
  5. cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf
  6. exit
  7. startx


i did a little search about the graphics driver and stumbled across this:
Quote:
Note: If you have a 945 or older graphics controller, your distribution will already have the right drivers included.

http://intellinuxgraphics.org/download.html

hope this helps :]
  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

Quote:
look to see if theres some backup file in that folder, which may be ~xorg.conf or xorg.conf.bak (something of the sort).

Unfortunatly there are no such files.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

damn. you should be able to generate a new file.. i believe, the command would be (needed to run with root privileges) Xorg --configure
see what that does for ya
  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

Quote:
damn. you should be able to generate a new file..

Thanks AnarchY SI for your and others who tried to find out where is the problem.
I have been struggling with this problem since 11-12, therefore today I killed the cat and reinstalled FC7.[/quote]
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

no problem :]
just as long as it works i guess ^_^ lol
feel free to post back with any more questions

Post Information

  • Total Posts in this topic: 24 posts
  • Users browsing this forum: No registered users and 61 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.