LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-24-2003, 07:46 PM   #1
TheGreatWang
LQ Newbie
 
Registered: May 2003
Location: Wilson, NC
Distribution: Red Hat 9
Posts: 5

Rep: Reputation: 0
Question Can't get x to start...


Well I haven't messed with any Unix/Linux systems since Freshman year of college (about 5 years ago when I was still in Computer Science)but I figure I might as well learn. So I got Red Hat 9 and set it up on a second hard drive on my system (1700 Athlon, Creative Geforce Annihilator Pro, Soundblaster 5.1). Well the install went well, but then when I tried to start x it gave an error message:
(EE) Unable to locate/open config file
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found

then at the end after the reporting a problem mess...

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

So I went googling for some info and there was some stuff about editing XF86Config. So I located it (usr/X11R6/lib/X11/XF86Config) and tried to use vi to edit it, but all I get it some tildes. I don't know if that's normal or not, but I couldn't do squat. Plus the XF86Config was blinking and highlighted in red. I don't know if that's normal either.

Well in the end I was just frustrated and I hope someone can help. I'm really a novice and barely remember any commands so a step-by-step set of instructions would be great.

Thanks for any help and please ask if you need any more info...
 
Old 05-24-2003, 08:42 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
The config file you need to edit will be in /etc/X11, you may have two, one called XF86Config and one called XF86Config-4, the first is for XFree86-3.x.x and the second is for XFree86-4.x.x.
The file /var/log/XFree86.0.log will tell you what version to edit for and may also contain a more detailed error message pointing to the problem area, have a look at the end of the file for those errors and post them here along with your video hardware info from "lspci -vv".
 
Old 05-24-2003, 09:20 PM   #3
TheGreatWang
LQ Newbie
 
Registered: May 2003
Location: Wilson, NC
Distribution: Red Hat 9
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the helping and Bern...

I opened XFree86.0.log and it said that I have XFree86 Version 4.3.0...so I tried to find XF86Config-4 in /etc/X11, but I didn't see it...I tried ls -a just in case and nothing...I did run lspci -vv and here's the info for that:

01:11.0 VGA compatible controller: nVidia Corporation NV10DDR [GeForce 256 DDR] (rev 10) (prog-if 00 [VGA])
Subsystem: Creative Labs Unknown device: 1043
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParrErr- Step ping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- Fast B2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 5
Region 0: Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at dfef0000 [disabled] [size=64k]
Capabilities: [60] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [44] AGP version 2.0
Status: RQ=31 SBA- 64bit- FW+ Rate=x1,x2,x4
Command: RQ=0 SBA- AGP- 64bit -FW- Rate=<none>

and that's that...

Hope that helps...

Wang
 
Old 05-24-2003, 09:23 PM   #4
TheGreatWang
LQ Newbie
 
Registered: May 2003
Location: Wilson, NC
Distribution: Red Hat 9
Posts: 5

Original Poster
Rep: Reputation: 0
Oh yeah XFree86.0.log only contained the same error that I described in my initial post except for that XIO message at the end...
 
Old 05-24-2003, 09:48 PM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Ok - if you only have XFree86-4.xx and XF86Config then that means it was written in the XFree86-4.xx syntax (it changed between v3.xx and v4.xx - and distro's that still ship the old version install two config files - one with each syntax).

You now need to download the nvidia linux driver - the README file that is available on the linux download page has all the instructions on what to change in your XF86Config to get things working correctly.
 
Old 05-24-2003, 09:51 PM   #6
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
If you manually edit your XF86Config or XF86Config-4 file be sure to save a backup copy of the file just in case you mess it up worse. When I used Red Hat 7.3, it seemed to use the XF86Config-4 file. I am running Red Hat 9 right now and only see the XF86Config file listed. On most versions of Red Hat there are two or three programs you can run that should be able to configure that file for you. I forget what they are called but one of the programs can be run when X-Windows is not already configured. The XF86Cofig file is a text file with information that can easily be read from vi. My XF86Config file is in /etc/X11.

The syntax of your error message reminds me of how on Unix or Linux boxes the monitor being used does not necessarily need to be on the same computer you are using. I am refering to the part where it says "no screens found" and where it says ".on X server :0.0". Anyway I am not an expert on that and do not know what that error message means. Red Hat 9 should have set all that stuff automatically for you!
 
Old 05-24-2003, 10:26 PM   #7
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
I am not an expert at configuring X-Windows but there is one program you might want to try running. It is the executable program that has the same name as the text file you are working with. If you are logged in as root you could type this:

XFree86 -configure

But before doing that type this to see what the manual says:

man XFree86

I typed that and here what it said about using the -configure option:
"When this option is specified, the X server loads all video driver modules, probes for available hardware, and writes out
an initial XF86Config(5x) file based on what was detected. This option currently has some problems on some platforms, but in most cases it is a good way to bootstrap the configuration process. This option is only available when the server is run as root (i.e, with real-uid 0)."

I rarely have had video problems, so I am not sure if you should use that or not. Keep in mind that I am not an expert. I also use a nVidia card by the way under Red Hat 9. You might also see what the www.xfree86.org web page says about your video card. If I am not mistaken, I belive that it lists information about various video cards.
 
Old 05-25-2003, 12:17 AM   #8
TheGreatWang
LQ Newbie
 
Registered: May 2003
Location: Wilson, NC
Distribution: Red Hat 9
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks guys...I finally got it to run alright...
 
  


Reply


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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
disable cold start and warm start snmp traps chkisco Linux - Newbie 0 10-28-2005 02:58 AM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 08:53 PM
Can I gett KPPP to start when I start a browser on a network machine? duffboygrim Linux - Networking 0 03-25-2004 04:49 PM
cannot start kdeas user ,can start icewm,fluxbox jackren Debian 1 02-29-2004 11:06 PM


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

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