Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi everyone, I've been running linux for several years and just made the jump from redhat 7.2 to 9. I installed 9 as an upgrade and everything came off smooth, except when I login and try to start X. I run "startx" and the monitor turns off and nothing I do will get it back. I end up hitting "Ctrl-Alt-Backspace" to try to leave X to no avail and then "Ctrl-Alt-Del" to restart and that's how I get back out of it. I'm using a Gemstar 19" that's a few years old. When I startx I'm not getting any errors messages as the monitor turns off and I can't see anything, and I even tried "startx > filename" to see if I can catch any errors and the file shows up blank.
I've gone through XF86Config, xinitrc, Xclients and Xclients-default and as far as I can tell it's like I had it before, but what I'm not sure about is the monitor section in XF86Config. I've been through fixing that up once before, but I'm really treading in new ground there. Can anyone point me in the right direction?
Thanks.

...oh, sorry I also should mention I've tried redhat-config-xfree86 and gotten the same thing as when I run startx, the monitor shuts off, and that's the end of the game.
Thanks again.

Check to see if there is a /etc/X11/
XF86Config-4 file. If you are using X v4+
(as opposed to v3) it will refer to this
file first and only use XF86Config if not
found.

The layout of the X config file has changes
slightly from v3 to v4, although I'm pretty
sure it is backwards compatible. If you
have (or should I say HAD?!=o) a working
XF86Config file I would first try renaming
XF86Config-4 so that X doesn't use that one
and falls back to the XF86Config. If that
doesn't work, rename XF86Config-4 back and
then edit that one.

Ok, that did something. Now I get a "no screens found" error. I'm running an ATI Rage card, am I going to have to set that up by hand? Here's the contents of my /var/log/XFree86.0.log file:
XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
Build Date: 27 February 2003
Build Host: porky.devel.redhat.com
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.4.20-8 (bhcompile@stripples.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:18:24 EST 2003
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Oct 10 08:22:47 2003
(==) Using config file: "/etc/X11/XF86Config"
Parse warning on line 102 of section Keyboard in file /etc/X11/XF86Config
Ignoring obsolete keyword "LeftAlt".
Parse error on line 102 of section Keyboard in file /etc/X11/XF86Config
"Meta" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()Fatal server error:
no screens foundWhen reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.Thanks

have a check through and make sure that you
have a "screen" section which should look
something like this:
Section "Screen"
Identifier "Screen 1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024"
"1024x768" "800x600" "640x480"
EndSubsection
EndSection
and also a "server layout":
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Make sure that the screen bit refers to the
the identifier in the previous section.
You may want to post up your XF86Config
too.
You could always try running the redhat X
config program.....I think it's called
something like redhat-config-xsetup - it
will probably create an XF86Config-4 file.

Ok, thanks for the help. I've managed to work my XF86Config file around to where I can run X now, but it will only run in 800x600 and I was running 1600x1200. Here's the screen section from my config file, for all I can tell, it should be usingthe 1600x1200, right?
# The kernel framebuffer server
Section "Screen"
Identifier "Screen 1"
# Driver "fbdev"
Device "ATI Radeon (generic)"
Monitor "Probed Monitor"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1600x1200" "640x480" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1024x768" "800x600"
EndSubSection
EndSection...oh and here's there ServerLayout section...
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Do you have more than one screen section?
It looks alright, are you able to togle
resolutions with Ctrl&Alt&[+/-]? It looks
as though it should work as the resolutions
are listed in the correct order, have you
tried removing 1600x1200 and tried
1280x1024? You may have to put a memory
parameter in for your card eg:
Section "Device"
Identifier "device1"
VendorName "Matrox"
Driver "mga"
VideoRam 8192
EndSection

3Dave, thanks for all your help, I finally got it working. I took the monitor section from the XF86Config-4 file and used it in my default XF86Config, then referenced it in the screen section and it's off and running. Now I just need to get xscreensaver going (I'm using Blackbox) and I'll be good. thanks again.
don't supposed you know anything about xsane and scsi scanners do you? RH9 seems to have hosed that too, haha.

Sorry, never played with sane...glad you've
got X working though!=o)
For your xscreensaver, I think you can just
add it to your xinitrc.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |