How to enable fullscreen mode in hyper-v (win 10) for ubuntu 14.04

I'm having trouble switching to fullscreen size in Ubuntu 14.04 under hyper-v.

I have tried installing and activating linux integration services as suggested by other posts.

apt-get install linux-tools-3.11.0-15-generic
apt-get install hv-kvp-daemon-init

I have also tried updating the grub file like so suggested by other posts.

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1200"

Followed by

sudo grub-update
sudo reboot

I have had no luck with these methods. Is there another way to enable fullscreen mode?


Solution 1:

Make sure to remove the remoteFX video card that might be configured for the VM.

Step-by-step

  • turn off your VM
  • in the Hyper-V manager, right-click on the VM, then click on "Parameters"
  • in the "hardware" section, if there is a "3D RemoteFX graphics card", click on it and then click on "remove".
  • click OK
  • start your VM

Solution 2:

No other way worked for me except setting the screen size explicitly following this video: https://www.youtube.com/watch?v=Tb-p9NOkcT8 (I used Debian, the video uses Ubuntu)

Step 1:

Edit /etc/default/grub change the relevant line to: GRUB_CMDLINE_LINUX_DEFAULT="quiet video=hyperv_fb:3840x2160" (You can change 3840x2160 to whatever screen size you want)

Step 2

Run: sudo update-grub

Step 3

Reboot

Steps must be retaken every time you want to change screen size.