Skip to content

High screen resolution on KVM virtual machine

May 31, 2013

After exporting virtual machines from “RHCSA/RHCE Red Hat Linux Certification Practice Exams with Virtual Machines (Exams EX200 & EX300)”   book  I was not able to see screen resolution on the VM more than 1024×768.

To fix this issue I have to:

1) select “vga” video card for virtual machine

(virt-manager-View-Details-Video-Model:vga)

2) create /etc/X11/xorg.conf.d/xorg.conf  inside the virtual machine with this settings:

Section “Monitor”

Identifier “Monitor1”

HorizSync 31.5 – 90

VertRefresh 50.0 – 180.0

Option “PrefferedMode” “1280x1024_60.00”

EndSection

Section “Device”

Identifier “Device1”

Driver “vesa”

EndSection

Section “Screen”

Identifier “Screen1”

Device “Device1”

Monitor “Monitor1”

DefaultDepth 16

SubSection “Display”

Depth 16

Modes “1280×1024”

EndSubSection

EndSection

3) reboot virtual machine

(init 6)

Advertisements

From → Administration

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: