Changing the screen size at run time comes up often over VNC connections, and with Virtual Machines. A working Xrandr configuration is needed for this. The major distros are somewhat in transition so I've needed to know much more than I every wanted to make this work. When booting CentOS in particular using a VMWare driver, this pre XrandR server has a number of video configurations that are not working, or stop working after updates. Here is one solution that works with the 10/2010 updates. 1) Enable XRandR http://ubuntuforums.org/showthread.php?t=643190 yum -y install libXrandr vi /etc/X11/xorg.conf Section "ServerFlags" Option "RandR" "on" EndSection 2) Set display for 1280x800 This allows 4:3, and what appears to be a maximum login 16:9, 1280x800. Even on a 1920x800 monitor this was the case. Likely an aspect of the vmware driver used within the VM. system-config-display (Set Both Hardware and Monitor to your maximum resolution 1280x800) This may show the XrandR error, or let you change the display immediately. Sometimes you can get this to allow a higher resolution, but in all cases you need to have the choices to change the resolution. In some cases, you will need this utility to change the resolution size. gnome-display-properties 2a) On Ubuntu - 10.04 too - if the display is not detected, you can't move the maximum resolution beyond 1024x768 reference: http://www.ubuntugeek.com/how-change-display-resolution-settings-using-xrandr.html 3) Start in Runlevel 3 vi /etc/inittab # id:id:3:initdefault: Having the console in mode 3 will not consume the memory for X and the graphics driver unless you choose to start it. init 5 or if this fails: startx & It's a bit messy, but will eventually go away as the upstream releases are cleaning this up. |
SolengTech > Open Source >