[CentOS] CentOS 7 + GUI as KVM guest: fix screen resolution

Nicolas Kovacs

info at microlinux.fr
Wed May 25 16:30:12 UTC 2016


Le 25/05/2016 à 14:20, Nicolas Kovacs a écrit :

> 
> - Is there a way to achieve this new resolution system-wide, and also
> for WindowMaker?
> 
> I tried to fiddle a bit with xorg.conf (X -configure, copy it over, edit
> it), but to no avail.
> 

I'll answer that myself, since I just found the solution. It was as
simple as this:

# X -configure (without X started)
# mv xorg.conf.new /etc/X11/xorg.conf

Edit this file:

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        ...
        SubSection "Display"
                Viewport   0 0
                Depth     24
        Modes "1280x1024"
        EndSubSection
EndSection

And that's it. Works perfectly.

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32



More information about the CentOS mailing list