LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-30-2004, 08:23 PM   #1
gbaiocchi
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,

thanks
 
Old 09-30-2004, 08:36 PM   #2
Ben64
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, 08:44 PM   #3
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
no it will be in here

/etc/X11/XF86Config

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

then

ls | more

check for a file called

XF86Conf.bak

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
 
  


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

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

All times are GMT -5. The time now is 12:01 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