Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-27-2003, 02:41 PM   #1
Registered: Oct 2003
Location: Vancouver
Distribution: RH Enterprise AS 3
Posts: 47

Rep: Reputation: 15
Unhappy Need help restoring XFree86


I desperately need help getting XFree86 working. I am running RedHat 7.3 on an Dell Optiplex GX270.

I applied RedHat's upgrade to XFree86 which brings it to v. 4.2.1

When I tried to re-run X though, I get the following error:

Fatal server error: No screens found
XIO: Fatal IO error 104 (connection reset by peer) on X server ":0.0"
after requests (0 known processed) with 0 events remaining.

and X doesn't start. Because it was an auto-update, I hadn't made backups of the old X.

I tried upgrading to XFree86 v. 4.3.0, but I get the following error message upon installing it:

extract: lib/X11/xkb: Could not create symlink to '/etc/X11/xkb': File
extract: Error exit delayed from previous errors

The rest of the installation goes through ok, but when I run xf86config it gives me the following error message when it comes to the keyboard settings:

XKB rules file '/usr/X11R6/lib/X11/xkb/rules/xfree86' not found.
XKB options will be set to default values.

The rest of the configuration goes fine, but when I use 'startx' a GUI comes up that is just 3 terminal windows. If I use <CTRL-D> to exit out of the GUI, I get the following message before returning to command prompt:

Couldn't loadl XKB keymap, falling back to pre-XKB keymap

If I use 'up2date' to install version 4.2.1 I get the following error:

error: unpacking of archive failed on file /etc/X11/xkb: cpio: rename
failed - Is a directory
There was a fatal RPM install error. The message was: There was a
rpm unpack error installing the package: XFree86-

I've noticed that a directory created: /etc/X11/xkb. I renamed it to xkb.bak, but with no success in the installation.

I could really use some help. Thanks!
Old 11-28-2003, 05:18 AM   #2
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
look under /etc/X11/
and look for a backup file that might have been created of your XF86Config. Chances are it would be names something like ~XF86Config or XF86Config.bak or XF86Config.old or even XF86Config.~

do an ls to find out

ls /etc/X11/XF86Co*
Old 11-28-2003, 12:12 PM   #3
Registered: Oct 2003
Location: Vancouver
Distribution: RH Enterprise AS 3
Posts: 47

Original Poster
Rep: Reputation: 15
I actually have two files, an XF86Config.bak AND an XF86Config.old. Both date to Oct. 31.

I have looked through some of my notes and found that I upgraded to XFree86 v.4.3.0 some time ago (before this whole mess started). I presume these two backup files are from when I initially upgraded to XFree86 v. 4.3.0.

Should I just rename one of these files?
Do you think that it would solve the xkb problem I am having.

Thanks for your help.

The moral of the story: Always make sure you are actually upgrading, as opposed to blindly installing patches that will downgrade you. D'oh

Last edited by clinton; 11-28-2003 at 12:16 PM.
Old 11-28-2003, 10:30 PM   #4
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
Well back up your current XF85COnfig file first. This can be done like this
cd /etx/X11
mv XF86Config XF86Config.NONWORKING
That should back up the file (by renaming it). Then you can restore one of your older files like this

mv XF86Config.old XF86Config
The next thing to do would be to try getting the X Server back up again. First, switch to run level 3 to make surte the X server is completely off

su -c 'init 3'
password: <type root password here>
Then you can switch to run level 5, which should automatically attempt to start your X server for you

su -c 'init 5'
password: <enter your root password here>


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backing Up / Restoring Arrowx7 Linux - Software 6 09-20-2005 09:49 PM
Restoring files j61396 Linux - Newbie 1 10-27-2004 01:52 PM
Help configuring XFree86 on YDL 2.3 (black screen & failed XFree86 -configure) EnVoy Linux - General 1 11-24-2003 05:32 PM
XFree86 4.3 on woody, can't run XFree86 -Config mtr Debian 6 08-15-2003 01:50 PM
Will ATI Radeon 8500 XFree86 4.2 driver work with Xfree86 4.3? Stevetgn Linux - Hardware 1 06-24-2003 07:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration