I'm connecting to CentOS 7 VM from Hyper-V from Windows 8.1. The full screen mode is not working. I need to fix that. Other VMs including CentOS 6 and Windows Server have no problems.
These are some observations I made when I connect to that VM from Hyper-V Manager.
CentOS 7, while booting, displays this warning "fast TSC calibration failed". I read that this is not a problem but I'm not sure. Everything else is working in the VM except not being able to work in the full screen mode of my laptop which has a pretty high resolution graphics card.
Applications -> System Tools -> Settings -> Displays shows only one default option "Built-in Display" with grayed out Resolution of "1152 x 864 (4:3)". This is where I was expecting to see other resolutions to choose from!
When I run the following bash command
lspci -nn | grep VGA
I get
00:80.0 VGA compatible controller [0300]: Microsoft Corporation Hyper-V Virtual VGA [1414:5353]
Any help would be greatly appreciated.
try the following:
$sudo grubby --update-kernel=ALL --args="video=hyperv_fb:2560x1440"
$sudo reboot
Also keep in mind that hyperv viewer only goes so far in terms of resolution. My recommendation, install xrdp and use remote desktop, it's better and you'll get full screen resolution.
Take care.
This issue is has been fixed once I have installed below packages on my VM (CentOS 7.6) on Windows 10 host. Hope it may help others too.
yum install dkms gcc make kernel-devel bzip2 binutils patch libgomp glibc-headers glibc-devel kernel-headers
Later reboot and try to install Virtualbox guest additions.
Take care.
来源:https://stackoverflow.com/questions/25816916/how-to-connect-in-full-screen-mode-to-linux-centos-7-virtual-machine