V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Apol1oBelvedere
V2EX  ›  问与答

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

  •  
  •   Apol1oBelvedere · Jun 7, 2022 · 1980 views
    This topic created in 1432 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   ·   4766 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 09:53 · PVG 17:53 · LAX 02:53 · JFK 05:53
    ♥ Do have faith in what you're doing.