Computing.Net > Forums > Linux > RedHat9 upgrade, X won't start

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

RedHat9 upgrade, X won't start

Reply to Message Icon

Name: jthigpen
Date: October 9, 2003 at 22:14:37 Pacific
OS: RedHat 9
CPU/Ram: Ath650 / 256
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: jthigpen
Date: October 9, 2003 at 22:38:11 Pacific
Reply:

...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.


0

Response Number 2
Name: 3Dave
Date: October 10, 2003 at 02:04:21 Pacific
Reply:

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.


0

Response Number 3
Name: jthigpen
Date: October 10, 2003 at 04:46:07 Pacific
Reply:

/etc/X11/XF86Config-4 is there, should I rename/remove it or edit it for the monitor settings?


0

Response Number 4
Name: 3Dave
Date: October 10, 2003 at 06:07:13 Pacific
Reply:

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.


0

Response Number 5
Name: jthigpen
Date: October 10, 2003 at 07:04:15 Pacific
Reply:

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 found

When 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


0

Related Posts

See More



Response Number 6
Name: 3Dave
Date: October 10, 2003 at 08:23:13 Pacific
Reply:

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.


0

Response Number 7
Name: jthigpen
Date: October 13, 2003 at 12:41:52 Pacific
Reply:

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


0

Response Number 8
Name: 3Dave
Date: October 14, 2003 at 01:33:51 Pacific
Reply:

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



0

Response Number 9
Name: jthigpen0
Date: October 15, 2003 at 15:08:30 Pacific
Reply:

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.


0

Response Number 10
Name: 3Dave
Date: October 16, 2003 at 01:45:25 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: RedHat9 upgrade, X won't start

RedHat won't start, interrupt +++ www.computing.net/answers/linux/redhat-wont-start-interrupt-/6828.html

apache won't start www.computing.net/answers/linux/apache-wont-start/3714.html

X doesn't start!!! www.computing.net/answers/linux/x-doesnt-start/20280.html