LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-06-2005, 11:20 PM   #1
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Rep: Reputation: 30
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!
 
Old 02-06-2005, 11:44 PM   #2
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
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..
 
Old 02-06-2005, 11:51 PM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
RH9?
 
Old 02-06-2005, 11:59 PM   #4
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
Yes, Redhat 9.0 is the latest (and last I think) RH. I am new to this too, heh.
 
Old 02-07-2005, 12:14 AM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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.
 
Old 02-07-2005, 03:07 AM   #6
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 296

Rep: Reputation: 31
You can try booting to runlevel 3, then log in as root and try redhat-config-xfree86(or display) not sure.
Follow the prompts.
 
Old 02-07-2005, 03:43 AM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
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.

Last edited by Wim Sturkenboom; 02-07-2005 at 03:45 AM.
 
Old 02-07-2005, 12:18 PM   #8
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
Thank you guys so much! Hopefully I will have this up later today, I need my RH back, thanks again!
 
Old 02-07-2005, 12:55 PM   #9
wpn146
Member
 
Registered: Jan 2005
Distribution: Solaris, Linux Fedora Core 6
Posts: 170

Rep: Reputation: 30
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

Last edited by wpn146; 02-07-2005 at 01:03 PM.
 
Old 02-07-2005, 04:06 PM   #10
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
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....
 
Old 02-07-2005, 04:07 PM   #11
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
Oops.. If anyone wants to know what I'm talking about go here: http://www.linuxquestions.org/questi...hreadid=287125
 
Old 02-07-2005, 04:08 PM   #12
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
yes log in as root, and use that redhat X configure command from the other post (just type in into the terminal).
 
Old 02-07-2005, 04:12 PM   #13
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
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?
 
Old 02-07-2005, 04:16 PM   #14
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
*password
 
Old 02-07-2005, 04:29 PM   #15
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
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?!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Black Screen after changing vga resolution qakhan78 Red Hat 2 04-12-2005 09:51 AM
Screen goes black when restarting X after changing resolution Bix Linux - Newbie 25 06-29-2004 12:27 AM
Black screen after changing resolution to 1600x1200 maxp Linux - Laptop and Netbook 9 03-24-2004 02:28 AM
I Messed Up Screen Resolution krissly1 Linux - Newbie 12 12-06-2003 06:24 PM
Black screen after changing resolution limbless Linux - Newbie 1 12-03-2002 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration