Guacamole RDP Remote App在黑匣子内

问题描述 投票:0回答:1

当我使用以下代码连接到RemoteApp时:

@Override
protected GuacamoleTunnel createTunnel(Session session, EndpointConfig config) throws GuacamoleException {

    // Create our configuration
    GuacamoleConfiguration guacConfig = new GuacamoleConfiguration();
    guacConfig.setProtocol("rdp");
    guacConfig.setParameter("security", "any");
    guacConfig.setParameter("hostname", HOST);
    guacConfig.setParameter("port", PORT);
    guacConfig.setParameter("username", USER);
    guacConfig.setParameter("password", SECRET);
    guacConfig.setParameter("ignore-cert", "true");
    guacConfig.setParameter("remote-app", "||calc");

    // Connect to guacd
    GuacamoleSocket socket = new ConfiguredGuacamoleSocket(
            new InetGuacamoleSocket(GUACD_HOST, GUACD_PORT),
            guacConfig
    );

    return new SimpleGuacamoleTunnel(socket);
}

我连接得很好,但远程应用程序显示在一个大黑盒子里。

enter image description here

有没有办法将显示器裁剪到远程应用程序?

此外,关闭页面不会关闭服务器上的远程应用程序,所以当我刷新页面时,我最终会得到两个计算器,任何提示也是如此?

rdp remoteapp guacamole
1个回答
0
投票

您看到的黑盒子是“桌面”,或者远程应用程序下面包含的任何内容。您可以使用“width”和“height”参数来设置桌面大小。可用的RDP选项列表如下:https://guacamole.apache.org/doc/0.9.5/gug/configuring-guacamole.html#rdp

或者,您可以将应用程序设置为最大化并占用整个桌面。你可以在这里查看如何设置:https://www.computerhope.com/tips/tip201.htm

© www.soinside.com 2019 - 2024. All rights reserved.