LinuxQuestions.org
Visit Jeremy's Blog.
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 12-05-2003, 11:22 PM   #1
krissly1
Member
 
Registered: Oct 2003
Location: Near the 2002 Winter Olympics
Distribution: Linux Redhat 9.0
Posts: 121

Rep: Reputation: 15
I Messed Up Screen Resolution


I had my system up and working most of the way. I had my resolution running at 1280x1024. My monitor is rated optimal at 1600x1200 so I set the resolution at this setting, but the icons were to small. I set the resolution one setting below that, between the 1280x1024 and 1600x1200 and logged out and then logged in for the settings to take affect. Now my monitor shows a worning message H. V FREQUENCY OVER RANGE. How do I reset the setting to the 1280x1024 without the use of my screen using Redhat 9.0?
 
Old 12-05-2003, 11:32 PM   #2
ter_roshak
Member
 
Registered: May 2001
Location: Everett, WA
Distribution: Gentoo, RedHat
Posts: 102

Rep: Reputation: 15
When your system starts up, push the following sequence of buttons, ctl-alt-F1, and this will take you to a text-login that will allow you to change your settings [hopefully].

From there, login and change your settings.

Josh
 
Old 12-05-2003, 11:48 PM   #3
krissly1
Member
 
Registered: Oct 2003
Location: Near the 2002 Winter Olympics
Distribution: Linux Redhat 9.0
Posts: 121

Original Poster
Rep: Reputation: 15
Okay, I've logged in. How do I change the settings to 1280x1024?
 
Old 12-06-2003, 12:15 AM   #4
ter_roshak
Member
 
Registered: May 2001
Location: Everett, WA
Distribution: Gentoo, RedHat
Posts: 102

Rep: Reputation: 15
One way to change it is to go to the following directory:
/etc/X11/
...and change the XF86Config file. There is a setting for screen resolution down in the "Screen" section, take out the one that won't work with your monitor and then restart and try to login.

You can also run the following command from the command line:
redhat-config-xfree86

Josh

Last edited by ter_roshak; 12-06-2003 at 12:19 AM.
 
Old 12-06-2003, 12:20 AM   #5
mary
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 135

Rep: Reputation: 15
I've been there, done that... glad to know I'm not the only one that has set their screen res to something they can't display, and not known how to fix it, either.

So you are at a console? Login as root by doing:

su <enter>
It will prompt you for your root password.
Password: <type password> <hit enter> (The line will not move when you are typing. It took me ages to figure out where to type the password, due to that... LOL)

Now you should be root.

Make sure you are at the root of the filesytem (/), then

cd etc <enter>
cd X11 <enter>

vim XF86Config-4 <enter>(if vim doesn't work, try vi)

Use the arrow keys to get around in the file.

Find the section somewhat like this:

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

---
Anyway, something like that... might be different for you.
Place the resolution you would like to use first in the list, in all the sections where you find the wrong res..

When you are done, hit escape and then type :wq to write to the file and then quit.

Reboot. Everything should work.

--
You probably knew how to do most of that, sorry if it sounded a bit too easy.
 
Old 12-06-2003, 12:33 AM   #6
krissly1
Member
 
Registered: Oct 2003
Location: Near the 2002 Winter Olympics
Distribution: Linux Redhat 9.0
Posts: 121

Original Poster
Rep: Reputation: 15
Sorry, but what do you mean by this?
Make sure you are at the root of the filesytem (/), then
 
Old 12-06-2003, 11:50 AM   #7
mary
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 135

Rep: Reputation: 15
type

cd ..

until your prompt's current working directory is just a /.

[root@localhost /] #

Your prompt may look different, but make sure it has that slash in it.
Else you will be in the wrong directory to cd to etc.
 
Old 12-06-2003, 11:56 AM   #8
ter_roshak
Member
 
Registered: May 2001
Location: Everett, WA
Distribution: Gentoo, RedHat
Posts: 102

Rep: Reputation: 15
A faster way to get to / is to type:

cd /

which will take you directly to the root. Or you can type the absolute path of your destination, which is:

cd /etc/X11

And you will be in the correct directory no matter where you began.

Josh
 
Old 12-06-2003, 12:07 PM   #9
mary
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 135

Rep: Reputation: 15
Ah, I'm still a newbie myself. Much easier that way, I forgot that there was another way to do it.
 
Old 12-06-2003, 12:17 PM   #10
ter_roshak
Member
 
Registered: May 2001
Location: Everett, WA
Distribution: Gentoo, RedHat
Posts: 102

Rep: Reputation: 15
Still, do not forget, the easiest way to perform this action is to run the configuration script by Red Hat, which is redhat-config-xfree86. With this, all you have to do is login as root and type ./redhat-config-xfree86 on the command line without changing directories or anything else.

Josh

./redhat-config-xfree86
 
Old 12-06-2003, 05:12 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Thanks, I can see again. You can't fix it if you don't break it.
 
Old 12-06-2003, 05:16 PM   #12
krissly1
Member
 
Registered: Oct 2003
Location: Near the 2002 Winter Olympics
Distribution: Linux Redhat 9.0
Posts: 121

Original Poster
Rep: Reputation: 15
Sorry, that last post was me. Forgot to log MasterC out.
 
Old 12-06-2003, 06:24 PM   #13
mary
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 135

Rep: Reputation: 15
Glad you got it fixed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I messed with the screen resolution and now Redhat will boot into a black screen! Mr. Hill Linux - Newbie 29 05-04-2009 11:52 AM
default screen resolution smaller than max. resolution ?? Thoddy Linux - General 2 11-10-2005 01:33 AM
game crashed - resolution was messed up Cinematography Linux - General 1 08-14-2005 05:04 PM
Huge icons, resolution messed up gralfus Linux - Newbie 1 02-29-2004 06:52 PM
I've messed up my screen Wraith2288 Linux - Hardware 4 09-05-2003 07:49 PM


All times are GMT -5. The time now is 12:06 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration