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.