本文介绍了如何以全屏模式连接到Linux CentOS 7虚拟机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我从Windows 8.1连接到Hyper-V的CentOS 7 VM。全屏模式无法正常工作。我需要解决这个问题。其他虚拟机(包括CentOS 6和Windows Server)没有问题。



这些是我从Hyper-V Manager连接到虚拟机时的一些观察结果。


  1. 在启动时,CentOS 7显示此警告快速TSC校准失败。我读到这不是一个问题,但我不知道。除非我的笔记本电脑有一个非常高分辨率的显卡的全屏模式,所有其他都在虚拟机中工作。


  2. >系统工具 - >设置 - >显示仅显示一个默认选项内置显示,灰色分辨率为1152 x 864(4:3)。


  3. 当我运行以下bash命令时

      lspci -nn | grep VGA 


我得到

  00:80.0 VGA兼容控制器[0300]:Microsoft Corporation Hyper-V虚拟VGA [1414:5353] 
解决方案
p>尝试以下操作:

  $ sudo grubby --update-kernel = ALL --args =video = hyperv_fb:2560x1440 
$ sudo reboot

请记住,hyperv查看器的分辨率。
我的建议,安装xrdp和使用远程桌面,它会更好,你会得到全屏幕分辨率。



小心。


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.

  1. 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.

  2. 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!

  3. 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.

这篇关于如何以全屏模式连接到Linux CentOS 7虚拟机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 23:35