-   Linux - Newbie (
-   -   I messed with the screen resolution and now Redhat will boot into a black screen! (

Mr. Hill 02-07-2005 12:20 AM

I messed with the screen resolution and now Redhat will boot into a black screen!
I went and messed with the screen res. to get things nicer looking. I had it at 1024 by 768, so I just bumped it up one higher. I logged out, watched some TV and when I came back to boot back into Redhat it started to come up with the login screen and then it suddenly flashed to a black screen. I can turn on my moniter for two seconds and then it will flash back. I am really frusterated and confused. My moniter works just fine on Win XP (that's how I'm typing this). And my moniter used to work just fine on Redhat 9.0, all I wanted to do was make things smaller, not to mess everything up! Please I want my Linux back, Win seems so linear compared to it! Any help at all woul be greatly appreciated (especially a quick reply). Thanks!

Mr. Hill 02-07-2005 12:44 AM

Please I need help here! There have been 7 views, please! I am really screwed if I can't get this to work!

...Can I say "screwed"? If not I'll stop..

__J 02-07-2005 12:51 AM


Mr. Hill 02-07-2005 12:59 AM

Yes, Redhat 9.0 is the latest (and last I think) RH. I am new to this too, heh.

__J 02-07-2005 01:14 AM

alright, boot up and when it dumps you into a console, you'll have to edit your /etc/X11/XF86Config-4 file:

Under the section "Screen" find the line "DefaultDepth" and note that number (probably 16 or 24).

go down a little bit to the "Display" section that corresponds to your DefaultDepth number above. So for example if your DefaultDepth above was 16 your section will probably look something similar to this:
Section "Screen"
Identifier "Screen 1"
Device "NVIDIA GeForce"
Monitor "My Monitor"
DefaultDepth 16

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
Subsection "Display"
Depth 24

you see mine has a DefaultDepth of 16, and under my "Subsection "Display"" for the Depth of 16, my "Modes" are 1024x768 first, then 800x600, and finally 640x480. change your "Modes" line to have 1024x768 first.

james.farrow 02-07-2005 04:07 AM

You can try booting to runlevel 3, then log in as root and try redhat-config-xfree86(or display) not sure.
Follow the prompts.

Wim Sturkenboom 02-07-2005 04:43 AM


Originally posted by Mr. Hill
Please I need help here! There have been 7 views
So?? Probably just seven people who don't know the answer.

In most forums, it's a good habit not to kick a topic within 24 hours.

To add something more constructive:

Before you log in, you can use the key combination <ctrl><alt><f1> (posible function kleys are <f1> .. <f6>) to go to a terminal and login. Now modify the config file as indicated in an earlier post.

Mr. Hill 02-07-2005 01:18 PM

Thank you guys so much! Hopefully I will have this up later today, I need my RH back, thanks again!

wpn146 02-07-2005 01:55 PM


Originally posted by Mr. Hill
Yes, Redhat 9.0 is the latest (and last I think) RH. I am new to this too, heh.
Redhat 9 is obsolete. Current is Redhat Enterprise 3 and Fedora Core 3.

Above advice for editing your config file is correct, except I believe rh9 uses /etc/X11/XF86Config (with no "-4" at the end). However, if your screen is so hosed you cannot get a console screen, you will probably need to use single user mode just to get logged in See:

Mr. Hill 02-07-2005 05:06 PM

Help (Continued)
Redhat 9 is really starting to get to me. If I press ctrl+alt+F1-F6 it'll take me to a Login screen. Do I sign in as the root? And then what? It asks me for a Password after the login. I am deeply confused, I don't know how to access anything, I'm a Windows user! How do I get into this console to edit my screen res? My screen just flashes black every time I get about to the login screen, everything before that on the boot screen is green and OK. I don't understand it, I realize my mistake I just need to fix it. I am really close to just un-installing and never using Linux again, or if I do it'll be something like Mandrake or Suse.

I really don't want to sound "newbie" or like I'm whining, but this thing is really getting to my head. I'm not about to hire professional help, I don't want to uninstall or reinstall anything because it took forever for the download and the ISO's, etc. All I want to do is access my stuff without my screen flashing before my eyes, and me yelling out profane language out my moniter. Thank you for any help.

Furthermore, what if I do get this fixed? Will Linux suddenly crash when I decide to do something as little as changing the resolution so things look nicer? I don't understand this....

Mr. Hill 02-07-2005 05:07 PM

Oops.. If anyone wants to know what I'm talking about go here:

__J 02-07-2005 05:08 PM

yes log in as root, and use that redhat X configure command from the other post (just type in into the terminal).

Mr. Hill 02-07-2005 05:12 PM

Terminal? So you mean put this: "/etc/X11/XF86Config" into the passowrd bar on the command line? I will then be able to edit that file?

Mr. Hill 02-07-2005 05:16 PM


Mr. Hill 02-07-2005 05:29 PM

It didn't work.

Where it said "Login:" I put my root. It then shows me: "Password:" I put in "/etc/X11/XF86Config" (without quotes). It just tells me that the Login was incorrect. How do I access this?!

All times are GMT -5. The time now is 10:57 AM.