Hyper-V Connect Zoom in Full Screen

Martin Brown 31 Reputation points
2023-01-09T21:36:56.47+00:00

I've a text only Ubuntu Server Hyper-V VM set up on my Windows 11 machine. I'm having trouble because the screen resolution is quite small compared to my laptop's 4K screen. I don't really want to install xwindows and get RDP working on it. I can use it quite well though by setting the zoom to Automatic or 200%, but when I switch to full screen mode it seems to lose the zoom setting and go back to 100%. Is there a way to set the zoom in full screen mode?

Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
Windows for business Windows Client for IT Pros User experience Other
{count} vote

3 answers

Sort by: Most helpful
  1. Limitless Technology 44,751 Reputation points
    2023-01-12T16:43:01.62+00:00

    Hello,

    Unfortunately the Full Screen mode, means exactly that, fill the screen with the whole desktop. You can try to change the resolution natively from Ubuntu OS.

    Below worked for me. Tested on Ubuntu 20.04 | Host Windows 11.

    1.Open grub file.

    sudo nano /etc/default/grub

    1. then

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:3840x2160"

    *Note: Change value of GRUB_CMDLINE_LINUX_DEFAULT with below. Replace 3840x2160 with your highest resolution.

    1. Run below commands

    sudo update-grub

    sudo apt install linux-image-extra-virtual

    1. Shutdown the VM and open PowerShell as administrator on host machine and run below. Replace "ubuntu" with your vm name. Change "3840" and "2160" with your highest resolution.

    set-vmvideo -vmname ubuntu -horizontalresolution:3840 -verticalresolution:2160 -resolutiontype single

    --If the reply is helpful, please Upvote and Accept as answer--

    2 people found this answer helpful.

  2. Matthew Bechtol 491 Reputation points
    2023-01-10T21:42:53.373+00:00

  3. Martin Brown 31 Reputation points
    2023-01-12T22:35:47.75+00:00

    I found How change the font size in Ubuntu Server 20.04 LTS on Ask Ubuntu which allows me to change the font size. Still not ideal but gets me to a point where it is usable.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.