Search This Blog

Sunday, August 9, 2009

Display problem

Display problem

1.log into root by typing
#su
#password
2.go to this directory
# cd /etc/X11
3.edit this file
# vi xorg.conf
then look for the section "screen"
mine look like this :

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "640x480"
EndSubSection

edit the line containing Modes to the desired screen resolution

4.save the file and exit

5.find the pid of X server by
# ps -e | grep X

6.then kill it by
# kill -9 pid

(note: pid is what u get after step 5.)

you will then get logon prompt .

and your problem is solved

DONE :)

NOTE : But there is one catch in this as far as i'm concerned resolution greater than 1024x768 doesn't work on fedora 9.i will update this when i get this problem solved.
Enjoi :)