PDA

View Full Version : [ubuntu] U 11.04 - how to freeze monitor resolution?



globus999
July 26th, 2011, 03:36 AM
Hi,

I am stumped and was hoping somebody my help me.
Just installed 11.04 on a box that it is on a kvm switch. As long as the switch is connecting the monitor to the booting Ubuntu box, the resolution of the monitor is detected OK. However, if for some reason I am working on a different box and the KVM switch is routing K V and M inputs to the other box, then Ubuntu defaults to what seems a botched VGA setting (i.e. it chops off top and left sections of the display).
While in this "VGA" mode if I log out and log in, it re-detects the resolution ok.

Is there any way to force Ubuntu to use a specific resolution no matter what? In this way, if I am working on a different box while waiting for Ubuntu to load, when I switch the resolution will be OK.

I tried the only thing I can think of and this is to set the "good" resolution as "default" for "all" monitors, but it has no effect.

Somebody suggested to edit x.org.config.

I checked http://www.x.org/wiki/ConfigurationHelp

and tried X -configure as indicated in the wiki to get X to generate its configuration file. I figure, there should be a setting somewhere to prevent autoconfiguration, but all I get is this error message:

=================

peter@DELL-PC:~$ sudo X -configure

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.


Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.

ddxSigGiveUp: Closing log

=====================

Any ideas would be very much appreciated!


FYI, my box does not support Unity and hence it runs in Classic