High screen resolution on KVM virtual machine
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)