I don’t know about you, but i find myself sometimes wanting to run linux GUI desktop as a VM in Hyper-V. By default, the screen resolution is horrifying. So, I always change it so i can get at least a 1920×1080 resolution.
To do that I enter the VM from the Hyper-V console, open up a terminal and type:
1 |
sudo nano /etc/default/grub |
Then I go to GRUB_CMDLINE_LINUX_DEFAULT and change it so it looks like this:
1 |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080" |
Then run update-grub:
1 |
sudo update-grub |
There you go. Now reboot into your fullscreen viewing experience.
To make the experience even better, you may want to install the free Nomachine NX for linux to give you true trouble free remote GUI console (I am in no way affiliated with Nomachine, I’m just a happy user). After years of fighting with vnc setups and other methods, I find that this is as easy as it could ever be. Just download the client from nomachine.com (Download / Select NoMachine for Linux) and install the package. I’ve personally used both the x64 RPM and the x64 DEB packages.
Then install the same package (client and server) on your laptop/desktop and it should find the remote machine. (or just make a new connection to the IP of the remote machine. Remember to open up the firewall port, which is TCP 4000 by default). Then connect. Easy peasy. No more hacking config files on dodgy VNC server installs.