Apol1oBelvedere
V2EX  ›  问与答

如何在 Hyper-V 中安装 Debian 11 后启用增强会话模式,现采用 microsoft/ Linux -vm-tools 后仍是灰色?

  •  
  •   Apol1oBelvedere · Jun 7, 2022 · 1989 views
    This topic created in 1436 days ago, the information mentioned may be changed or developed.

    在 Hyper-V 中安装 Debian 11 后,剪贴板不能共享,需要启用增强会话模式:
    1 、成功执行如下命令: https://wiki.archlinux.org/title/Hyper-V#Enhanced_session_mode

    git clone https://github.com/Microsoft/linux-vm-tools
    cd linux-vm-tools/ubuntu/18.04
    chmod +x install.sh
    ./install.sh
    

    2 、在 Windows 中用管理员权限 Powershell 对名称为 Debian11 的虚拟机执行成功如下命令:

    Set-VM -VMName Debian11 -EnhancedSessionTransportType HvSocket
    

    但是启动虚拟机后,增强会话模式仍是黑色,如何解决?(先解决这个问题不考虑使用 WSL2 )

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3988 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 05:11 · PVG 13:11 · LAX 22:11 · JFK 01:11
    ♥ Do have faith in what you're doing.