How to Change Screen Resolution in Ubuntu on Hyper-V? – After installing Linux/Ubuntu with Hyper-V Manager, we encounter some mistakes when we want to change the screen resolution.
How to Change Screen Resolution in Ubuntu on Hyper-V?

How to Change Screen Resolution in Ubuntu on Hyper-V?

After installing Ubuntu on Hyper-V, we experience screen resolution problems even if we connect to the Ubuntu virtual machine by clicking View/Fullscreen.

Microsoft is continuing to support the installations of Linux distributions on Hyper-V. But in some cases, we may have to do manual operations such as changing the Ubuntu screen resolution.

In our previous article, we implemented Ubuntu 17.10 installation using Hyper-V on Windows 10 operating system. In this article, we will go through how to change screen resolution in Ubuntu on Hyper-V step by step.

You can also browse the following articles to perform various installations of Hyper-V on Windows.

How to Fix Display Resolution in Ubuntu Virtual Machine on Hyper-V?

Under normal circumstances, increasing the screen resolution of Ubuntu is quite simple. From Ubuntu’s settings, you can set the desired resolution from Display. But after installing Ubuntu with Hyper-V we are experiencing screen resolution problem through GUI.

On Hyper-V we will use the Terminal to handle the Ubuntu 17.10 virtual machine screen resolution issue. Follow these steps in order to get rid of the Ubuntu resolution problem.

   Step 1

Run Ubuntu in Hyper-V and then switch the virtual machine to full-screen mode via View/Full Screen.

How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 2

As you can see in the image below, there is a Ubuntu virtual machine screen resolution problem in Hyper-V. We will use the command prompt to solve the Ubuntu screen resolution problem.

How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 3

You can also see the screen resolution of the virtual machine from Ubuntu Settings. We will set the screen resolution here to 1024×768.

How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 4

On the Ubuntu desktop, click Right Key / Open Terminal. On Hyper-V, we will handle the Ubuntu screen resolution with command prompt, open the resolution configuration by executing the following command on the terminal.

[email protected]:~$ sudoedit /etc/default/grub

 
How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 5

Type your root password and press Enter.

How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 6

We will resolve the Ubuntu screen resolution by adding additional code to the GRUB_CMDLINE_LINUX_DEFAULT = “quiet splash” option in the image below.

Use the arrow keys to move to the option shown below.

How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 7

As you see in the image below, add the command video=hyperv_fb:1024×768 at the command prompt. If you want to set a higher screen resolution, you can assign the desired value here as well.

Press Ctrl + X to save the settings you made.

How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 8

Press Y to accept the changes.

How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 9

Press Enter without changing the file name.

How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 10

After changing the Ubuntu screen resolution, update the GRUB settings by executing the following command to make the settings active.

[email protected]:~$ sudo update-grub

 
How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 11

Restart your Ubuntu virtual machine for the changes to take effect.

[email protected]:~$ sudo reboot

 
How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 12

Opening Ubuntu 17.10 virtual machine on Hyper-V…

How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 13

After the Ubuntu virtual machine is turned on, connect to the virtual machine as Full Screen. As a result, you can see that the screen resolution of the Ubuntu virtual machine is resolved as shown below.

How to Change Screen Resolution in Ubuntu on Hyper-V?

   Step 14

You can also check that your screen resolution changes by clicking on Displays in the left pane of Ubuntu Settings to test the Ubuntu screen resolution.

How to Change Screen Resolution in Ubuntu on Hyper-V?

Our Recommendation

You can purchase “Mastering Windows Server 2016 Hyper-V” from Amazon.

How to Change Screen Resolution in Ubuntu on Hyper-V? ⇒ Video

You can watch the video below to fix Ubuntu screen size or increase the Ubuntu screen resolution in Hyper-V, and you can also subscribe to our YouTube channel to support us…

  Final Word

How to Change Screen Resolution in Ubuntu on Hyper-V? – In this article, we have discussed the resolution of the Ubuntu 17.10 operating system screen resolution problem on the Hyper-V virtualization program step by step. Thanks for following us!

If this article is helpful, send me feedback by commenting! Thanks in advance, take care of yourself!

Also, you can add to browser bookmarks by pressing the CTRL+D to read this article later!

Articles Related to How to Change Screen Resolution in Ubuntu on Hyper-V

Products Related to How to Change Screen Resolution in Ubuntu on Hyper-V
Related Products


Leave a Reply

Your email address will not be published. Required fields are marked *

4 − one =