Hyper-V 中的 Ubuntu 鼠标问题

Hyper-V 中的 Ubuntu 鼠标问题

我已经在我的一个 Hyper-V 虚拟机中安装了 Ubuntu。

鼠标在客户操作系统中不工作,并且出现以下异常。

[Window Title]
Virtual Machine Connection

[Main Instruction]
Mouse not captured in Remote Desktop session.

[Content]
The mouse is available in a Remote Desktop session when integration services are installed in the guest operating system. For more information, search on 'integration services' in Help.

[ ] Please don't show me this again  [OK]

如果您尝试过,有人可以指导我吗?如果可以使其工作,请告诉我。请考虑到我对 Ubuntu 和 Linux 环境还很陌生。

答案1

Hyper-V Linux 集成组件中不包含合成鼠标支持。Citrix Project Satori 网站的旧版集成组件 (2.1) 中对此有所提及,网址为http://www.xen.org/products/satori.html

不幸的是,这些驱动程序的设置不适用于 Linux 内核中包含的当前 Hyper-V 集成组件。

https://bbs.archlinux.org/viewtopic.php?pid=877096#p877096

答案2

请查看以下博客文章 - 它专门针对 Ubuntu 10.10 服务器,尽管其中所示的步骤应该能够帮助您完成大部分操作(即使不是全部):

http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/10/21/installing-ubuntu-server-10-10-on-hyper-v.aspx

文章建议在文件末尾添加以下四行/etc/initramfs-tools/modules

hv_vmbus
hv_storvsc
hv_blkvsc
hv_netvsc

保存更改并发出命令update-initramfs –u并重新启动。运气好的话,你应该可以启动并工作了。

答案3

Ubuntu 似乎不支持 Hyper-V “首选”的“Enlightenment”虚拟化支持。它并不是唯一一个,因为大多数早期版本的 Windows 也处于同样的情况。如果你四处搜索,会发现一些技巧/指南可能会有所帮助。

相关内容