Wednesday, April 30, 2008

debian:gnome screen resolution prob

I've installed a Linux machine using a small monitor, after successfull installation I've decided to use a big monitor. The resolution is crappy... here's what to do:

1) login as normal. If use the GUI then go to command line/ root terminal and type (my login is kibrun):
kibrun:/# /etc/init.d/gdm stop
-> stop the gui and bring you down to command line. Alternatively you can just pres Ctrl+Alt+F3 to go to command line screen, login as root and type the above.

2) cd /etc/X11
3) cp xorg.conf xorg.conf_backup
5) dpkg-reconfigure xserver-xorg
-> here you just follow the auto detected stuff from previous installation but at the time you have to choose the resolution, put what you know about your monitor. Xorg will try to load the maximum resolution first. At a point you have to choose between simple/ medium/ advance -> choose advance only if you know what's the monitor's HSync and VSync.. put them in - Done.
6) /etc/init.d/gdm start
-> gnome window will start and hopefully the resolution is OK... but..

7) if the login screen is crappy.. type the number (1) then go to (2) then
kibrun:/# nano xorg.conf
-> look at Section "Screen" and the value at DefaultDepth.. mine is at 24. So you go down to SubSection "Display" with Depth 24 and change the order of the workable resolution.. mine was:

 Modes           "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"

and changed to

 Modes           "1024x768" "1600x1200" "1280x1024" "1280x960" "1152x864" "800x600" "640x480"

do a Ctrl+x and choose yes to save the file.
8) do (1) then do (6) again.. This should do it :)

No comments: