LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   X server failure (https://www.linuxquestions.org/questions/linux-newbie-8/x-server-failure-140840/)

ksoma 01-31-2004 07:28 PM

X server failure
 
Ok, yday, I backed up my C: drive on windows in my home directory and i logged out. The next time I tried to log in, it would try starting up the login screen, but then it would go back to the command-line login screen right before....and then this loop would keep going....I set it up on runlevel 3 so all I have is command line. I searched the forum and saw one person with a similar problem. The person who replied to them said to go to /usr/X11R6/bin and to try "Xfree86 -configure"...it said "command not found" when I tried this. I did a "startx" and this is what came up:

------------
Could not init font path element unix/:7100, removing from list!

Fatal server error:
could not open default font 'fixed'

XIO: fatal IO error 104(connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining
--------------

I'm confused because this has never happened before and I'm not sure if I accidentally messed with some settings to cause this. Thanks for any help!

-Keerthan

pzatch 01-31-2004 11:05 PM

What distro?
i know in Mandrake its xf86config

ksoma 02-01-2004 12:18 AM

Quote:

Originally posted by pzatch
What distro?
i know in Mandrake its xf86config

Redhat 9.0

megaspaz 02-01-2004 12:21 AM

no space between xf86config and -configure. it's all one word.

xf86config-configure

if it's not finding the command, then try to use the "su -" command instead as it maybe in a path that's set only when root is logged in with root's shell.

edit: anyway this may help you. http://boudicca.tux.org/mhonarc/ma-l.../msg00935.html

for this guy, it was xfs getting killed before trying to start x.

JayCnrs 02-01-2004 12:36 AM

To configure X in RH 9 you would issue the command redhat-config-xfree86 if you did some how stop xfs from starting during boot up you will have to do the following:

cd /etc/rc.d/rc5.d
ls
See if something along the lines of S90xfs is in the list, if not look for something like K90xfs
If K90xfs then issue the command mv K90xfs S90xfs as root
Also do this in /etc/rc.d/rc3.d, then reboot and try startx


HTH :) let us know how it goes.

ksoma 02-01-2004 01:30 AM

There's a S90xfs but no K90xfs....

-Keerthan

JayCnrs 02-01-2004 01:45 AM

Okay then you should be alright,

Just try running the redhat-config-xfree86 command and make sure that the video card is right?

ksoma 02-01-2004 02:50 AM

redhat-config-xfree86 gave me this:

xconf.py: Fatal IO error 2 (Connection reset by peer) on X server :17.0

ksoma 02-01-2004 02:57 AM

There could possibly be something wrong with the video card.....just b/c yday I was tryign to put XP professional on my comp....upgrading...and it wasn't a real copy of the cd....but I had a serial....it was a burned copy so I bypassed some files that I thought i could pick up later(yea i know, bad move on my part)...and during installation it referred to my Geforce card and was saying that it didn't have a .dll for it on the cd....so I just kept going....however, I was still able to run linux once after this. But maybe the xp installation messed up my hardware somehow? I was able to back up all the files in my C: directory on linux and i plan to do a reinstall. I was wondering if reinstalling would mess GRUB up by any chance....whether the pointer will be reassigned to now point to the clean installation of windows?

Thanks for the help so far ...I appreciate it.

-Keerthan

monkette 02-01-2004 03:44 AM

X server failure
 
I have the same exact problem as yours as don't know why it happenned, just came home and there it was. I couldn't get to my hosted webpages and the last few hours have sent me on this trip. I am getting the exact same errors as your last couple of posts. Fatal IO error 2 (connection reset by peer) on X Server :17.0. My webs are up and running. I'd like to know what happenned here as I have had some happy hunting the last few hours and would like to get some sleep for the super bowl!!!! Let me know if you get the chance!

CoolChEEzE 02-01-2004 09:39 AM

take a look at your error message. Its complaining about not being able to find default font. Check your XFree86Config file and make sure that the font paths there actually exist.

ksoma 02-01-2004 10:54 PM

Quote:

Originally posted by CoolChEEzE
take a look at your error message. Its complaining about not being able to find default font. Check your XFree86Config file and make sure that the font paths there actually exist.
I checked the file out and it has:

FontPath "unix/:7100"

It said in the error message that it could not initalize this font path. I looked in my redhat book and it said this is what the font path is supposed to be....is there a file somewhere else i need to edit?

-Keerthan

ksoma 02-04-2004 03:50 PM

I reinstalled all the Xserver packages today and no luck. Still getting the exact same error when I "startx" from commandline. Is there anything else I can try to resolve this? Thanks.

-Keerthan

JayCnrs 02-05-2004 06:18 PM

Could you post your /etc/X11/XF86Config file, maybe we will be able to see some error in the file.

ksoma 02-08-2004 02:19 PM

I did a vmdiff b/w the backup and this file....there seemed to be no differences except the settings for my monitor and some other things....nothing that involved the font though....i looked in /etc/fonts/fonts.config file..but i really didn't know where to start with that...but here's the config file below:


# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"

# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Korea Data Systems Visual Sensations VS-19"
HorizSync 31.0 - 95.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection

Section "Device"

# no known options
#BusID
Identifier "NVIDIA GeForce 4 (generic)"
Driver "vesa"
VendorName "NVIDIA GeForce 4 (generic)"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 4 (generic)"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection


All times are GMT -5. The time now is 05:33 PM.