LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I messed with the screen resolution and now Redhat will boot into a black screen! (https://www.linuxquestions.org/questions/linux-newbie-8/i-messed-with-the-screen-resolution-and-now-redhat-will-boot-into-a-black-screen-287125/)

Mr. Hill 02-06-2005 11:20 PM

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-06-2005 11:44 PM

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-06-2005 11:51 PM

RH9?

Mr. Hill 02-06-2005 11:59 PM

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

__J 02-07-2005 12: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
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
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 03: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 03:43 AM

Quote:

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 12: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 12:55 PM

Quote:

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

Mr. Hill 02-07-2005 04: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 04:07 PM

Oops.. If anyone wants to know what I'm talking about go here: http://www.linuxquestions.org/questi...hreadid=287125

__J 02-07-2005 04: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 04: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 04:16 PM

*password

Mr. Hill 02-07-2005 04: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?!

Mara 02-07-2005 04:34 PM

Two threads merged. The discussion is much easier to follow when it's in one place.

Don't type /etc//....as password. Log in (user: root, as password type root password), then you should get command line and can edit the file. try one of the following commands (different editors, you probably have one or two):
pico /etc/X11/XF86Config
joe /etc/X11/XF86Config
vim /etc/X11/XF86Config

Mr. Hill 02-07-2005 04:38 PM

OK, thanks for fusing the two together, it is a bit easier. And thanks for the advice, let me boot out of Win and try it out.

Mr. Hill 02-07-2005 04:48 PM

Still ... won't... work ... ::rips hair out::

I'm just fighting with the login screen now. I know what my root pw is but I never knew that there was a root username... If I enter text in the "login" and press enter it will come down and ask me for a password .. yet when I try to type something for a password it's invisible text. It won't type at all for the pw, *probably* until I get the login correct.

Mr. Hill 02-07-2005 04:49 PM

*And whatever I type seemingly is incorrect. If I only I was able to get past that login screen I could edit my screen res!

Mara 02-07-2005 04:54 PM

Quote:

Originally posted by Mr. Hill
If I enter text in the "login" and press enter it will come down and ask me for a password .. yet when I try to type something for a password it's invisible text. It won't type at all for the pw, *probably* until I get the login correct.
It doesn't show what you type, when it's receiving it. Type the root password correctly and press enter and you'll get in.

Mr. Hill 02-07-2005 04:58 PM

So.. the "root username" for the login and the "root password" for the password?

I've never ever heard of the Root username but meh, I dunno. I have three, one is the main Root password to get into files and stuff, and the other two are to login when Redhat is about to boot into my desktop screen..

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

It still will not work. With those three that I have I tried all sorts of combinations. When I installed Redhat it told me I had a Root password. That's the only time it mentioned Root. The other two are Admin passwords to get into the desktop.

wpn146 02-07-2005 09:02 PM

Quote:

Originally posted by Mr. Hill
Still ... won't... work ... ::rips hair out::

I'm just fighting with the login screen now. I know what my root pw is but I never knew that there was a root username... If I enter text in the "login" and press enter it will come down and ask me for a password .. yet when I try to type something for a password it's invisible text. It won't type at all for the pw, *probably* until I get the login correct.

Your "root username" is "root". Type that and hit "enter"
When you enter the password, it will NOT echo the characters back to the screen. This is for security against "shoulder surfers". Just blindly enter the root password and then hit "enter"

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

::screams profanities::

Oh well, it was fixed with a fresh re-install, but if I had been patient I probably could have fixed it. Oh well, thank you for giving me helpful advice though. If you wouldn't mind I'm having quite a tough time indicated in my latest post I do kind of need help out on that.. Thanks again!

Wim Sturkenboom 02-07-2005 11:21 PM

// never mind, I've missed the second page

james.farrow 02-08-2005 03:50 AM

This might seem way off the mark, but it sounds like you don't know your root password?

You'll need to change your root password. This is done by booting your pc to single user mode. Google on how to do this.
Then when in single user mode type

passwd root

you will then be prompted on what to do. Then reboot by typing

reboot

Then CTRL-ALT-F1 to get to your text login when your pc has rebooted, login with username root and now put your new password that you inputted from above.
All being well you should be logged in as root.
NOw type redhat-config-xfree86 this command will probe your hardware, backup your existing config file, and write a new config file. Its easier than editing the original file.
When this is finished type telinit 5 and you should now get a graphical log in.
Log in as root again and you can fine tune your display. Its under system settings->display

sudhakargen 05-01-2009 10:38 AM

Screen goes blank after booting Red Hat Linux 7.2
 
I too have same problem.very recently I changed the display properties like resolution ..etc found in the menu.Now when I log in the system boots up and then the screen goes blank and I even cant get the problem since nothing is shown. Any help in this regard will be appreciable.

Wim Sturkenboom 05-03-2009 11:18 PM

Can you get to a console? (e.g. <ctrl><alt><F1>). If so, login as root, look for a directory /etc/X.... and fix the config that you can find in that directory. Not sure what the name of the config will be as RH7.2 is quite old, probably something like X86R...
You can also check the log files in /var/log to see what goes wrong; there should be log files starting with X.
If you need more assistance, please post sections device, monitor and screen from your config and tell us your hardware (videocard and monitor).

LaroPol 05-04-2009 04:00 AM

// didn't see the second page :-)

reinstalled ? :-)

Wim Sturkenboom 05-04-2009 11:52 AM

Quote:

Originally Posted by LaroPol (Post 3529272)
// didn't see the second page :-)

reinstalled ? :-)

updatedb :)


All times are GMT -5. The time now is 04:51 AM.