如何以全屏模式连接到 Linux CentOS 7 虚拟机? [英] How to connect in full screen mode to Linux CentOS 7 virtual machine?

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

问题描述

我正在从 Windows 8.1 的 Hyper-V 连接到 CentOS 7 VM.全屏模式不起作用.我需要解决这个问题.其他虚拟机包括 CentOS 6 和 Windows Server 都没有问题.

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.

这些是我从 Hyper-V 管理器连接到该 VM 时的一些观察结果.

These are some observations I made when I connect to that VM from Hyper-V Manager.

  1. CentOS 7 在启动时显示此警告快速 TSC 校准失败".我读到这不是问题,但我不确定.除了无法在具有相当高分辨率显卡的笔记本电脑的全屏模式下工作之外,其他一切都在 VM 中工作.

  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.

应用程序 -> 系统工具 -> 设置 -> 显示器仅显示一个默认选项内置显示器",分辨率为1152 x 864 (4:3)"灰显.这是我期待看到其他分辨率可供选择的地方!

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!

当我运行以下 bash 命令时

When I run the following bash command

lspci -nn | grep VGA

我明白了

    00:80.0 VGA compatible controller [0300]: Microsoft Corporation Hyper-V Virtual VGA [1414:5353]

任何帮助将不胜感激.

推荐答案

试试下面的:

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

还请记住,hyperv 查看器仅在分辨率方面走得这么远.我的建议是,安装 xrdp 并使用远程桌面,这样会更好,您将获得全屏分辨率.

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.

保重.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆