help me..............

General discussion about Linux, Linux distribution, using Linux etc.

help me..............

Postby Shak » Fri Oct 03, 2003 11:48 pm

ASALAM ALIKUM PPLZ..

hey pplz i got a prob in screen resolution last time when i m using linux i changed the resolution into 1024 x 786 but now when i m start linux my moniter is on stand by.. its dint show the linux screen :roll: plz guyz tell how can i solve this prob.. :idea:

Allah hafiz.

Peace Out.....
Shak
Cadet
 
Posts: 4
Joined: Tue Sep 30, 2003 12:02 am
WLM: Pisces_Shadow@hotmail.com
Location: Pakistan

Postby farhanksa » Sat Oct 04, 2003 1:33 am

aoa

u didnt mentioned which linux u r using...
its bcz may be ur monitor is not that capable for high resolution....and when u changed it ur x crashed..... u can reconfigure the X (gui) by command xconfigurator or redhat-config-xfree86
use 800*600 16bbit resolution
farhanksa
Subedar
 
Posts: 359
Joined: Sun Nov 03, 2002 6:40 am
ICQ: 116765501
WLM: farhan12@msn.com
Yahoo Messenger: commdsl@yahoo.com
Location: Lahore

Postby slick » Sat Oct 04, 2003 7:16 am

when linux is booting up...press CTL+ALT+F1 to go to the virtual terminal....login as root, edit the /etc/X11/Xf86-config* or whatever file is there...in the screens section...you should see a list of available resolution sizes that you selected at install time...with the highest being the first one...delete the 1280* or whichever from all of the lines...also..the screen resolutions usually dont cause the monitor to not switch mode...so you might want to double check your monitors vertical and horizontal sync, to be on the safe side..if you have a relatively new monitor...the values should be from (30 - 70), save the changes and startx...should work.
I only run as fast as my angels can fly
slick
Naik
 
Posts: 56
Joined: Fri Sep 05, 2003 1:29 am
Location: CA

Postby Faraz.Fazil » Sat Oct 04, 2003 8:05 am

Your question has already been answered before.

Check:

http://www.linuxpakistan.net/forum2x/vi ... highlight=

As explained by me:

Method 1:
==========
the easiest method would be to restore the XF86Config backup file that X created when u changed the setting.

The latest config file is at /etc/X11/XF86Config (this it the bad setting file in ur case)
whereas the backup is at /etc/X11/XF86Config.backup (This is the correct file in ur case)
All you have to do is boot linux in terminal mode (run level 3), and issue these commands in terminal:

First make sure that /etc/X11/XF86Config.backup does exists.
Then, in terminal give these commands:

rm /etc/X11/XF86Config
cp /etc/X11/XF86Config.backup /etc/X11/XF86Config

Thats it.Type startx to start the gui X.Bingo It would work.


(You can start linux in terminal mode by starting it in run level 3 thru lilo or grub or the virtual terminal)

Or if u dont have a backup or u want to try something else then:
(the second method is more difficult)

Method2:
========
The problem is you configured linux to use a 1024 resolution which ur display adapter doesnt support.So we need to set it back to 800 x 600.

Invoke linux in terminal mode.
Then open the /etc/X11/XF86Config file using any editor like emacs, gedit or vim.

e.g gedit /etc/X11/XF86Config
or emacs /etc/X11/XF86Config

Look for the section "Screen"

There will be the resolution listed as 1024.Remove 1024 and make it 800 * 600

e.g

Depth 16
Modes "800x600" "640x480"

Thats it.Save the file thru the editor, reboot and your pc will be back to normal using the 800 mode again.

For example my Config file for 800 x 600 mode looks like:

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Yes u can also run XConfigurator,if it is installed on your distro, but it comes by default on some distros and not in some.
The easiest and best method would be to restore the XF86Config.backup

And yes, also check if your hsync and vsync values for your monitor are correct.I assume you were able to use linux gui without problem in 800 * 600 and the only problem is that your monitor may not support 1024.Hence the only thing u need to change is the resolution to 800 * 600 as explained earlier.
Linux for Life!
Faraz.Fazil
Major General
 
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
WLM: faraz7476@hotmail.com
Location: Karachi/Pakistan/Earth/Universe


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest

cron