Virtual Machine Low Resolution

falves1

Well-Known Member
Jan 11, 2009
99
3
48
I installed Ubuntu Mint as a Virtual machines, but the default resolution is only 800x600. I tried to change the display but there is no option to set a higher resolution. Is there a kernel command line or any other trick to move the resolution to 1280 or higher?
 
Hi!

What you can do is install the qemu-guest-agent (pve.proxmox.com/wiki/Qemu-guest-agent) and after that append to the grub bootloader the -vga virtio as an option.

See: askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter if you don`t know how that works.

Please try the option for not permanent first to see if it works and when it fails you can restart it and revert to the old state.
 
This actually had no effect...

Host​

You have to install guest-agent in each VM and then enable it, you can do that in the Proxmox VE Webinterface (GUI)​
Go to Datacenter, Node, and Linux VM. Select Options. Select QEMU Guest Agent, press Edit, then Select "Use QEMU Guest Agent" and "Run guest-trim after a disk move or VM migration", and select Type = "Default (VirtIO)", press OK.​

Linux​

On Linux you have to simply install the qemu-guest-agent, please refer to the documentation of your system.​
on Debian/Ubuntu based systems (with apt-get) run:​
apt-get install qemu-guest-agent​
Depending on the distribution, the guest agent might not start automatically after the installation.​
Start it either directly with​
systemctl start qemu-guest-agent​
Then enable the service to autostart (permanently) if not auto started, with​
systemctl enable qemu-guest-agent​
(should work for most distributions) or reboot the guest.​

  1. Start your system and wait for the GRUB menu to show (if you don't see a GRUB menu, press and hold the left Shift key right after starting the system).
  2. Now highlight the kernel you want to use, and press the e key. You should be able to see and edit the commands associated with the highlighted kernel.
  3. Go down to the line starting with linux and add your parameter -vga virtio to its end.
  4. Now press Ctrl + x to boot.

WHAT FINALLY WORKED
In Proxmox VE Webinterface go to Datacenter, Node, and Linux VM. Select Hardware. Select Display, press Edit, then Select "VirtIO-GPU (virtio)"
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!