freerdp 会话未知

freerdp 会话未知

我尝试使用 xfreerdp 从 Debian 10 机器连接到我们的 Windows 7 虚拟机,但我不断收到错误会话[未知]。我已经尝试过向后移植的 xfreerdp 2.0 和 2.2,甚至 2021 年 4 月 3 日的 3.0 nightly build,但都有相同的错误。

这是我正在使用的命令;

/opt/freerdp-nightly/bin/xfreerdp /u:<admin user> /p:<pass> /v:192.168.200.189 /app:"cmd.exe"

注意:它确实可以在没有连接“/app:”cmd.exe”的情况下工作,但我想启动应用程序,然后在离开该应用程序后关闭连接。

完全错误;

[14:59:10:453] [18976:18977] [INFO][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state
[14:59:10:453] [18976:18977] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[14:59:10:454] [18976:18977] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[14:59:10:454] [18976:18977] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[14:59:10:454] [18976:18977] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail
[14:59:10:817] [18976:18977] [INFO][com.freerdp.primitives] - primitives autodetect, using optimized
[14:59:10:829] [18976:18977] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[14:59:10:829] [18976:18977] [INFO][com.freerdp.core] - freerdp_tcp_default_connect:freerdp_set_last_error_ex resetting error state
[14:59:10:844] [18976:18977] [WARN][com.freerdp.crypto] - Certificate verification failure 'unable to get local issuer certificate (20)' at stack position 0
[14:59:10:844] [18976:18977] [WARN][com.freerdp.crypto] - CN = tramontana-PC
[14:59:12:957] [18976:18977] [INFO][com.freerdp.client.x11] - Logon Error Info SESSION_ID [UNKNOWN]
[14:59:12:957] [18976:18977] [INFO][com.freerdp.client.x11] - Logon Error Info SESSION_ID [UNKNOWN]
[14:59:12:957] [18976:18977] [INFO][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off their session on the server.
[14:59:12:957] [18976:18977] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_LOGOFF_BY_USER [0x0001000C]

答案1

这里同样的问题。从buster-backports更新freerdp:

sudo apt install -t buster-backports libfreerdp-client2-2 freerdp2-x11

此外,您的Windows VM应该满足一些要求:

RemoteApp Tool requires:

    Microsoft .Net Framework 4
    Windows 7 Enterprise or Ultimate -or-
    Windows 8 Enterprise -or-
    Windows 10 Enterprise or Education -or-
    Windows XP SP3
    It also works with Windows Server 2008 and newer.

Note: If you try to host RemoteApps on any other edition of Windows (eg Win 7/8/10 Professional), the tool will run but RemoteApps will not work. The RDP client will appear to be connecting, then just disappear.

相关内容