Recently I created a Ubuntu desktop virtual machine in the Hyper-V platform. After login to the desktop realises that the screen resolution is not correct. I tried to change VM to full-screen mode but it opens in partial screen. When I checked the resolution under the settings found below:
This how-to guide will help you to change the screen resolution of an Ubuntu VM in Hiper-V. This also allows you to run Ubuntu VM in full-screen mode in Hiper-V.
Follow the instructions to change the screen resolution of an Ubuntu VM in Hyper-V:
sudo vim /etc/default/grub
Update the value of GRUB_CMDLINE_LINUX_DEFAULT variable as below:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1366x768"
Here 1366×768 is the screen resolution of the host machine. You need to change this value as per your host machine resolution
sudo update-grub
sudo apt install linux-image-extra-virtual
Once the system is rebooted, log in to the Ubuntu desktop and change to full screen. You will see the Ubuntu desktop open in full screen.
Now, check the updated screen resolution of Ubuntu running on the Hyper-V platform.
This tutorial helped you to change the screen resolution of an Ubuntu VM running on the Hyper-V platform.
The post Change Screen Resolution of An Ubuntu VM in Hyper-V appeared first on TecAdmin.
For many software teams, documentation is written after features are built and design decisions have…
With the release of the FIPS 140-3 certified cryptographic modules for Ubuntu 22.04 LTS, Canonical…
Open source libraries are repositories of code that developers can use and, depending on the…
Last year, we had the opportunity to speak at Regent’s UX Conference (Regent’s University London’s…
A government agency mandated smartcard authentication across their Ubuntu fleet. When they enabled FIPS mode…
Building telco clouds with open source At MWC Barcelona 2026, Canonical is demonstrating how telecommunications…