Force startx to run X in a specific resolution and refresh Rate

Posted by Z9iT on Ask Ubuntu See other posts from Ask Ubuntu or by Z9iT
Published on 2012-06-09T16:58:41Z Indexed on 2012/11/22 17:11 UTC
Read the original article Hit count: 260

Filed under:
|
|
|
|

From my past experience (using Win-Xp), this particular monitor works only on 60Hz , Best resolution being 1024x768.

I have "installed and configured" Ubuntu 12.04 Minimal (on USB stick) so that most of the time terminal is used, however, whenever there is a need to enter GUI, I may issue startx command to go into gnome.

However the problem is that on this particular system, issuing this command poses problem because its default refresh rate won't synchronize with the monitor. The display keep on flickering and utterly unreadable. It is visible that gnome has been loaded and default wallpaper and desktop items are visible. But the problem is due to refresh rate different than 60Hz.

I am looking for a command attribute to startx command which will force the refresh rate to 60Hz and resolution preferably to 1204x768

I can open terminals with Ctrl+Alt+T and enter commands.

Key combinations like Ctrl+Alt+NumPlus works flawlessly in distributions like solaris, but it's not working for me. Also the commands like xrandr -r 60 60 being refresh rate wont work.

The same problem is faced even when I boot from a live CD

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about xorg