Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-30-2004, 09:23 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
Set the wrong resolution for my monitor and need to get back to old settings in RH9

I think I've killed my computer!

I foolishly changed the resolution settings in systems tools in RH9/Gnome and set it to a resolution my monitor won't accept (NEC flat panel). Consequently, when I boot up to gnome the monitor goes blank. I have been able to get back to command prompt in the rescue mode of the distribution CDs, but once there I'm not sure what to do. Does RH make a back up file with configurations once you change settings, or is there a file that I can edit back to the proper settings?

I appreciate any help,

Old 09-30-2004, 09:36 PM   #2
LQ Newbie
Registered: Sep 2004
Posts: 24

Rep: Reputation: 15
Boot up, then press CTRL+ALT+F1 and you are at a console.
Then, just log in as root, and edit your /etc/XF86Config file (may be different then what I put there)
Old 09-30-2004, 09:44 PM   #3
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
no it will be in here


edit the file like this

vi /etc/X11/XF86Config

vi is a console based text editor. To a google search for inscrutions of how to use it.

When you boot in via rescue mode from the CD make sure you change the root of the file system to your system. Inscructions on how to do this are shown when you boot rescue mode.

then issue the above command and find the screen section.

change the resolution to the desired settings, save and reboot.

that will fix it.

Also there may be a backup of your old XF86Conf file in that directory.

Issue the command

cd /etc/X11


ls | more

check for a file called


or something

then rename that file to the current one with

cp XF86Config XF86Cofig.bak2

this will preserve your existing config file then

mv XF86Cofig.bak XF86Config

this will overwrite the config file


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
Help! Wrong monitor settings! jcatron SUSE / openSUSE 3 07-29-2005 02:19 AM
Got wrong monitor drivers, cant change back Imerion Linux - Hardware 2 02-06-2005 04:42 PM
Wrong monitor settings in XF86config-4 and cant see to fix it meshsmooth Linux - Newbie 4 05-13-2004 08:52 AM
Monitor problems -- changing resolution back w/o monitor Jiawen Linux - Hardware 5 03-17-2004 11:06 PM
XF86Config - Settings For Correct Resolution On Second Monitor Svha Linux - Software 3 10-03-2003 11:57 AM > Forums > Linux Forums > Linux - Newbie

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

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