1. First check all the possible resolutions supported by yourgraphics card using the following command.
"xrandr"
It will display all possible resolutions like this.
Screen0: minimum 400 x 300, current 1152 x 864, maximum 1152 x 864
defaultconnected 1152x864+0+0 0mm x 0mm
1152x864 75.0*70.0 60.0
1152x768 55.0
1024x768 85.075.0 70.0 60.0 87.0
832x624 75.0
800x600 85.075.0 72.0 60.0 56.0
640x480 85.075.0 73.0 67.0 60.0
720x400 70.085.0
640x400 85.0
640x360 85.075.0 70.0 60.0
640x350 85.0
512x384 87.0
416x312 75.0
400x300 85.075.0 72.0 60.0
Thecurrent selected resolution will have a * (asterix) next to it.
2. Change resolution.
Suppose your graphics card support 1024x768 resolution then youcan change it using the following command.
"xrandr-s 1024x768"
3.Listed below are a list of essential files, which are rewrittenby Linux whenever you make any changes to the settings of a hardwaredevice. Be smart and back them up! These files are:
“/[$home]/.Xclients” which is created by Red Hat Desktop Switcher that reads.Xclients-default if window managers are not installed.
“/[$home]/.Xclients-default”.It will take over loading of default Desktop Environments such as KDE andGnome.
“/etc/X11/xorg.conf”is a very important file that contains the setting details for X (monitor, GPM,screen, mouse, etc.).
“/etc/X11/xorg.conf.backup”,Never tamper with this file as it is a system created backup of the xorg.conf.