rdesktop并且xfreerdp都是 RDP 的 linux 客户端。
然而,从他们各自的网站上,尚不清楚使用一种方法有哪些优点/缺点。
我找到了一篇帖子,其中表示xfreerdp比rdesktop.
我期待使用 RDP 客户端(在 Linux Mint 17 上)连接到少数 Windows 计算机(Win 7 和 8)和运行xrdp.
FreeRDP 1.0.2 更新了其参数语法,以实现“与 Windows 更好的互操作性”。我在使用旧语法时遇到问题,其中剪贴板插件仅在我第一次粘贴时起作用,随后停止:
xfreerdp --plugin cliprdr -g 1920x1060 -u Administrator -p xxx n.n.n.n
Run Code Online (Sandbox Code Playgroud)
所以我决定尝试新的语法,但我似乎无法正确使用。下列:
xfreerdp +clipboard /size:1920x1060 /u:Administrator /p:xxx /v:n.n.n.n
Run Code Online (Sandbox Code Playgroud)
给出一个错误:
Warning xf_GetWindowProperty (140): Property 385 does not exist
transport_connect: getaddrinfo (Name or service not known)
Error: protocol security negotiation failure
Run Code Online (Sandbox Code Playgroud)
有什么建议吗?
目前,我正在使用以下命令启动 FreeRDP 会话:
$ sudo xfreerdp /v:farm.company.com /d:company.com \
/u:oshiro /p:oshiro_password /g:rds.company.com
Run Code Online (Sandbox Code Playgroud)
工作正常。但是,我不希望密码像那样在命令行中。所以我在没有密码的情况下尝试了它:
$ sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com
Run Code Online (Sandbox Code Playgroud)
我收到一条连接失败消息,而不是某种对话框或提示,要求我输入密码。
是否有可能让这个提示用户输入密码?
更新:省略/p开关
没有/p开关,我得到以下信息:
oshiro@ubuntu:~$ xfreerdp /v:farm.company.com /d:company.com -u:oshiro /g:rds.company.com
connected to rds.company.com:443
connected to rds.company.com:443
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
rts_connect error! Status Code: 401
HTTP/1.1 401 Unauthorized
Content-Type: text/plain
Server: Microsoft-IIS/7.5
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="rds.company.com"
X-Powered-By: …Run Code Online (Sandbox Code Playgroud) 目前我有一个非常强大的专用服务器,我在 Windows 10 上运行,并从其他 Windows“瘦客户端”进入RDP。
这非常有效,您几乎感觉不到自己在进行 RDPing。多个显示器、音频、麦克风、USB 等都可以正常工作。
我更喜欢在具有桌面环境的专用服务器上使用 Linux、Manjaro或任何 Debian/Ubuntu 风格。
我不介意我的瘦客户端使用 Linux 还是 Windows。
我尝试过VNC、xrdp、freerdp、nomachine 等,但没有一个像 Microsoft Windows 上的 RDP 那样高性能、稳定且功能丰富。他们仍然觉得很遥远。
我一次只需要一个会话,而且我一次只使用一个客户端。必须为我的客户提供多显示器支持。
我有一台 Windows 8.1 远程 PC,我使用来自 Windows 7 和 Linux 客户端的 RDP 连接到它。我注意到在 Windows 上滚动时的性能比在任何 Linux 发行版上都要好得多。我正在使用 rdesktop、Remmina、GNOME-RDP,到处都是屏幕刷新缓慢且断断续续的地方,例如 VNC。但是 RDP不像 VNC 那样工作,或者是吗?为什么会这样,Linux 上最快的 RDP 客户端是什么?也许Wine 下的远程桌面连接客户端?
我们有一个公司的 RDS(远程桌面服务器)TSG(终端服务网关)服务器,它允许员工在家中连接到 RDS 会话,因此他们可以在家中看到工作的 RDS 桌面。
这在他们使用 Windows 7 的家用计算机上运行良好,设置如下:


但是,有些用户家里有 Linux 并尝试使用 freerdp 1.2.0。
我已经使用以下命令在连接到公司内部 LAN 的笔记本电脑上对此进行了测试,并且工作正常:
$ xfreerdp /f /rfx /cert-ignore /v:farm.company.com /d:company.com /u:administrator /p:
Run Code Online (Sandbox Code Playgroud)
但是,如果我尝试在未使用公司 LAN 连接(即家庭连接)的笔记本电脑上使用该命令,则会得到以下信息:
freerdp_set_last_error 0x2000C
Error: protocol security negotiation or connection failure
Run Code Online (Sandbox Code Playgroud)
所以我现在尝试在 freerdp 1.2.0 中使用一些新的 TSG 命令,如下所示,但这也不起作用。
我只能看到 4 个与 TSG 相关的命令:
/g:<gateway>[:port] Gateway Hostname
/gu:[<domain>]<user> or <user>[@<domain>] Gateway username
/gp:<password> Gateway password
/gd:<domain> Gateway domain
Run Code Online (Sandbox Code Playgroud)
我在某个地方读到了我只需要/g在我的特定场景中使用的地方,我可能读错了。
所以当我尝试:
$ xfreerdp /f /rfx /cert-ignore /v:farm.company.com /d:company.com /g:rds.company.com …Run Code Online (Sandbox Code Playgroud) 我一直在尝试使用带有声音和麦克风重定向的 Linux 的 Windows 7 机器建立 RDP conexion,我尝试过 rdesktop、remmina 和 freerdp,但没有用。
最后,使用 freerdp,我终于设法从不同的会话中获得声音和麦克风重定向。我的意思是
xfreerdp -u user -d domain -p password --plugin drdynvc --data audin -- server
允许我将麦克风发送到远程机器。
xfreerdp -u user -d domain -p password --plugin rdpsnd --data pulse -- server
允许我从远程机器获取声音,但我无法在同一个会话中同时获取这两个声音。
有任何想法吗?
当我登录到 Windows 计算机时
xfreerdp -v computer -u user --workarea -f
Run Code Online (Sandbox Code Playgroud)
全屏窗口总是出现在我的两台显示器中的第一台上。是否可以告诉 freerdp 在第二台显示器上启动或者移动窗口?使用 Alt+Click 移动的标准 KDE 窗口不适用于 freerdp 窗口。
在互联网上搜索,我只找到了有关使用多个远程屏幕进行多监控的示例。但我只想选择显示远程会话的本地屏幕。
我在带有 KDE 4.14.3 的 Gentoo Linux 下使用 freerdp 1.2.0。
添加:
我没有使用不同的 X 显示器。我有一个带有 randr 的多显示器设置,xrandr输出如下:
Screen 0: minimum 8 x 8, current 3840 x 1200, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected 1920x1200+1920+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 59.95*+
...
DP-0 disconnected …Run Code Online (Sandbox Code Playgroud) 在与 freerdp 的 rdp 连接期间,我无法重定向音频。
当我使用此命令时:
xfreerdp /v:ServerName /u:User /p:Password /d:Domain /audio
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
Warning rdpsnd_process_connect (/home/USER/Desktop/FreeRDP-master/FreeRDP/channels/rdpsnd/client/rdpsnd_main.c:801): no sound device.
Run Code Online (Sandbox Code Playgroud) 使用xfreerdp1.1.0 版:
oshiro@debian:~$ xfreerdp --version
This is FreeRDP version 1.1.0-beta1 (git n/a)
oshiro@debian:~$
Run Code Online (Sandbox Code Playgroud)
我收到以下错误消息:
oshiro@debian:~$ sudo xfreerdp /v:farm.company.com /d:company.com /g:rds.company.com /u:rds_username /p:rds_password /f
connected to rds.company.com:443
connected to rds.company.com:443
TS Gateway Connection Success
Got stub length 4 with flags 3 and callid 7
...
Got stub length 4 with flags 3 and callid 192
WaitForSingleObject: unknown handle type 6715497
connected to rds.company.com:443
connected to rds.company.com:443
TS Gateway Connection Success
Got stub length 4 with flags 3 and callid …Run Code Online (Sandbox Code Playgroud)