Problem With Monitor
-
- Battalion Havaldaar Major
- Posts: 286
- Joined: Fri Oct 17, 2003 12:15 am
- Location: Karachi
- Contact:
Problem With Monitor
AOA,
I got a problem after Installation of Redhat I have set the H.Size and V.Size wrong by my mistake,:(. Now whenever I boot Redhat my PC automatically shuts off and It says that V.Sync and H.Sync frequency overrange.Now how can I recover the stable positions of V. and H. of my Monitor.My monitor is a ViewSonic E50.
Plz urgent help needed,
Regards
I got a problem after Installation of Redhat I have set the H.Size and V.Size wrong by my mistake,:(. Now whenever I boot Redhat my PC automatically shuts off and It says that V.Sync and H.Sync frequency overrange.Now how can I recover the stable positions of V. and H. of my Monitor.My monitor is a ViewSonic E50.
Plz urgent help needed,
Regards
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!
Registered Linux user #333501
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!
Registered Linux user #333501
It just shuts off or it closes the X server?
Either way, if you still have the Redhat CD, pop it in , boot to it, and at the prompt enter rescue mode. It will require, typying "linux rescue" or something similar.
Then it will tell you how to chroot to your mounted installation , do the chroot command it shows you and using any text editor open /etc/X11/XF86Config or /etc/X11/XF86Config-4, whatever Redhat uses as the config. file for X11,
Change the values for the H & V freq., save and reboot, it should help.
Im assuming you are using Redhat 9.
Otherwise it might be a little different.
Good Luck!
Either way, if you still have the Redhat CD, pop it in , boot to it, and at the prompt enter rescue mode. It will require, typying "linux rescue" or something similar.
Then it will tell you how to chroot to your mounted installation , do the chroot command it shows you and using any text editor open /etc/X11/XF86Config or /etc/X11/XF86Config-4, whatever Redhat uses as the config. file for X11,
Change the values for the H & V freq., save and reboot, it should help.
Im assuming you are using Redhat 9.
Otherwise it might be a little different.
Good Luck!
jargon
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
there is the XF86config tool installed along with Xserver that u can use to reset your configurations with a new set that you select in case you hate to mess with the text files although they are the easiest and the best once u are comfortable with them. i remember something like xvidtune used to be for changing monitor frequencies. I guess the best option is to edit the frequencies manually.
Note: I assume you no responsibilty of whatsoever happens if you use this information. It is correct to my knowledge and i have used it myself but i take no responsiblity of any damage caused by the use of this information.
(This information is not meant to scare you but just the extra bit of protection. I hate lawsuits!!!)
Regards
Zaeem Arshad
Note: I assume you no responsibilty of whatsoever happens if you use this information. It is correct to my knowledge and i have used it myself but i take no responsiblity of any damage caused by the use of this information.
(This information is not meant to scare you but just the extra bit of protection. I hate lawsuits!!!)
Regards
Zaeem Arshad
-
- Major General
- Posts: 1024
- Joined: Thu Jul 04, 2002 5:31 pm
- Location: Karachi/Pakistan/Earth/Universe
No problem dude.
Start linux in rescue mode from the rh9 cd, as explained earlier.
Edit /etc/X11/XF86Config file with a text editor like joe or emacs.
Browse to the Monitor section, which looks like:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "ViewSonic E40"
DisplaySize 270 200
HorizSync 30.0 - 54.0
VertRefresh 55.0 - 100.0
Option "dpms"
EndSection
(That is for my viewsonic e40 monitor)
Set the HorizSync and VertRefresh values to required values.Save the file.
Reboot, take the cd out, boot normally and enjoy.
There are also some tools like XF86Config and XConfigurator that can do the config more easily...but they donot come installed on some distros...and i recommend the manual method..coz its so simple.
Start linux in rescue mode from the rh9 cd, as explained earlier.
Edit /etc/X11/XF86Config file with a text editor like joe or emacs.
Browse to the Monitor section, which looks like:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "ViewSonic E40"
DisplaySize 270 200
HorizSync 30.0 - 54.0
VertRefresh 55.0 - 100.0
Option "dpms"
EndSection
(That is for my viewsonic e40 monitor)
Set the HorizSync and VertRefresh values to required values.Save the file.
Reboot, take the cd out, boot normally and enjoy.
There are also some tools like XF86Config and XConfigurator that can do the config more easily...but they donot come installed on some distros...and i recommend the manual method..coz its so simple.
Linux for Life!
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
if you dont know the default values then try looking on an installation of redhat 7.2 as it configures the monitor frequencies before starting the installation. other versions 8.0 etc configure monitor frequencies after installation. Or you may take a look at any of your friendz files which may be using the default values. unfortunately i myself use custom frequencies for my Dell Trinitron which might not work for you.
Regards
Zaeem Arshad
Regards
Zaeem Arshad
AoA
does the backup of xf86.conf exists by default? cuz i remember when i intentionally messed with contents of xf86.conf, first i had created backup myself as there was no xf86conf.backup existed by default.
does the backup of xf86.conf exists by default? cuz i remember when i intentionally messed with contents of xf86.conf, first i had created backup myself as there was no xf86conf.backup existed by default.
man there is also a backup of Xf86config.backup in /etc/X11
Testing?What's that? If it compiles, its good, if it boots up it is perfect.
----------------------------------------------------
Imran
Registered Linux User # 334322
----------------------------------------------------
Imran
Registered Linux User # 334322
-
- Major General
- Posts: 1024
- Joined: Thu Jul 04, 2002 5:31 pm
- Location: Karachi/Pakistan/Earth/Universe
The backup is created only if you use the full gui redhat-config-xfree86 utility.
He did not mention if he used it or not.
If you edit the file manually, the backup must ofcourse be created by yourself.Thats why i always recommend backing up your settings file before messing it up.
He did not mention if he used it or not.
If you edit the file manually, the backup must ofcourse be created by yourself.Thats why i always recommend backing up your settings file before messing it up.
farhanksa wrote:aoa
man there is also a backup of Xf86config.backup in /etc/X11
pls make another copy of it and rename .backup file to the older file name
and then startx
Linux for Life!
-
- Battalion Havaldaar Major
- Posts: 286
- Joined: Fri Oct 17, 2003 12:15 am
- Location: Karachi
- Contact:
how to jump to /etc/x11/xf86config
AOA,
How can I go to the /etc folder to edit values from rescue disk.Reply me as soon as possible.
Regards
Zaheer
How can I go to the /etc folder to edit values from rescue disk.Reply me as soon as possible.
Regards
Zaheer
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!
Registered Linux user #333501
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!
Registered Linux user #333501
-
- Major General
- Posts: 1024
- Joined: Thu Jul 04, 2002 5:31 pm
- Location: Karachi/Pakistan/Earth/Universe
Zaheer,
1.Boot from redhat linux cd 1
2.Choose rescue mode
3.DO a chroot /mnt/sysimage
4.Open/jump to the XF86Config file with an editor through console (terminal) .here is how:
General command: texteditorname filename
e.g for emacs:
emacs /etc/X11/XF86Config
or for joe:
joe /etc/X11/XF86Config
5.Make the changes, save the file.
6.Reboot
7.Enjoy!
8.Next time read the forum to see if your question has already been answered.
1.Boot from redhat linux cd 1
2.Choose rescue mode
3.DO a chroot /mnt/sysimage
4.Open/jump to the XF86Config file with an editor through console (terminal) .here is how:
General command: texteditorname filename
e.g for emacs:
emacs /etc/X11/XF86Config
or for joe:
joe /etc/X11/XF86Config
5.Make the changes, save the file.
6.Reboot
7.Enjoy!
8.Next time read the forum to see if your question has already been answered.
Linux for Life!
-
- Battalion Havaldaar Major
- Posts: 286
- Joined: Fri Oct 17, 2003 12:15 am
- Location: Karachi
- Contact:
thanks for help
AOA,
Thanks to allz I got the Solution by Faraz's method.
i m happy now cheerss
Thanks to allz I got the Solution by Faraz's method.
i m happy now cheerss
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!
Registered Linux user #333501
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!
Registered Linux user #333501
-
- Major General
- Posts: 1024
- Joined: Thu Jul 04, 2002 5:31 pm
- Location: Karachi/Pakistan/Earth/Universe