I messed with the screen resolution and now Redhat will boot into a black screen!
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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
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.
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.
Last edited by Wim Sturkenboom; 02-07-2005 at 03:45 AM.
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:http://www.redhat.com/docs/manuals/l...ng-single.html
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....
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?!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.