After Linux / Ubuntu installation with Microsoft virtualization software, we get some errors when we want to change the screen resolution.
How to Fix Ubuntu Screen Resolution in Hyper-V
After installing Ubuntu system, we experience a screen resolution issue after clicking View / Full Screen on the virtual machine.
Microsoft continues to support Linux installations. In some cases, however, we may have to perform manual operations, such as changing the screen resolution.
In our previous article, we installed Ubuntu on Windows 10 using Hyper-V. In this article, we will examine step by step on how to solve the virtual machine full-screen problem.
You can also check out our articles below to perform various installations of Hyper-V on Windows.
Resolution Settings for Linux in Hyper-V
Under normal circumstances, increasing the screen resolution of a virtual computer is quite simple. For example, you can set the desired resolution in the Display section of the Ubuntu system settings.
We will use Terminal to troubleshoot Linux virtual machine screen resolution. Follow these steps in order to get rid of the Ubuntu resolution issue.
Run Ubuntu in Hyper-V and then try to switch the virtual machine to full-screen mode via View / Full Screen.
As you can see in the image below, there is a virtual machine screen resolution problem. We will use the command prompt to resolve it.
You can also see the screen resolution of the virtual machine in Ubuntu Settings. Here we will set the screen resolution to 1024×768.
On the Ubuntu desktop, right-button/click Open Terminal. Since we will solve this problem with the command prompt, open the resolution configuration by following the command on the terminal.
[email protected]:~$ sudoedit /etc/default/grub
Type the root password of your Linux system and press Enter.
For resolution configuration, you need to add code to GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” in the image below.
Use the arrow buttons to move to the option shown in the image below.
Add the “video=hyperv_fb:1024×768” command to the field in the following image. If you want to set a higher screen resolution, you can also assign the desired value here.
Press Ctrl + X to save your settings.
Press Y to accept the changes.
Press Enter without changing the file name.
After changing the screen resolution, update the GRUB settings by using the following command to make the settings active.
[email protected]:~$ sudo update-grub
Restart your Ubuntu virtual machine for the changes to take effect.
[email protected]:~$ sudo reboot
Opening Ubuntu 17.10 virtual machine …
After the Ubuntu virtual pc is turned on, open it as Full Screen. You can see that the problem solved from the image below.
Also, click Displays on the left panel in Settings to check the display settings and check the value in Resolution.
How to Configure Resolution in Hyper-V ⇒ Video
You can watch the video below to set the Ubuntu screen size in Hyper-V and also subscribe to our YouTube channel to support us!
In this article, we have reviewed how to change the screen resolution of the Ubuntu operating system on the HyperV virtualization program. Thanks for following us!
♦ How to Update Softwares in Ubuntu
♦ How to Setup Wine on Ubuntu
♦ How to Create Virtual PC in Hyper-V
♦ How to Install VMware on Ubuntu
♦ How to Reset Root Password in Ubuntu