您的位置:首页 > 运维架构 > Linux

rdesktop:Linux 下的远程桌面客户端

2011-09-04 15:29 399 查看
rdesktop 是一个在 Unix/Linux 下访问 Windows 远程桌面的客户端程序。当前,rdesktop 所支持的 Windows 系列版本包括 NT、2000、XP 和 2003。通过使用 rdesktop 所实现的远程桌面协议(RDP),你可以在 Unix/Linux 系统中呈现 Windows 桌面,并进行相应的操作。



不像 Citrix ICA 这种商业程序,rdesktop 对服务器没有什么扩展要求。rdesktop 目前的最新稳定版本为 1.5.0,你可以从源代码安装它,也可以使用下列命令直接从所用的 Linux 发行版中安装:

apt-get install rdesktop


或者,

yum install rdesktop


前一命令针对 Debian/Ubuntu 系统,后一命令则适用于 Fedora 系统。

若要连接 Windows 远程桌面,那么可执行以下指令:

rdesktop [options] server[:port]


例如,连接服务器 IP 地址为 192.168.0.100 的 Windows 桌面,并以 16 位色全屏显示,可以使用
rdesktop -f -a 16 192.168.0.100
。关于 rdesktop 更为详细的用法,可以查询 man rdesktop。

Updated: 如果结合使用 seamlessrdp,可以让 rdesktop 实现更加好玩的效果:你能够从 Linux 中直接执行 Windows 桌面中的应用程序,就好像运行 Linux 中的原生程序一样。其实现方法如下:

下载 seamlessrdp.zip,并将其提取到 C:\seamlessrdp。
从 Linux 中执行 Windows 桌面的程序,如 IE:
rdesktop -A -s "C:\seamlessrdp\seamlessrdpshell.exe C:\Program Files\Internet Explorer\iexplore.exe" <IP>:3389 -u administrator -p password
其中,IP 为服务器所在的 IP 地址。

此方法的实现可详细参考
Ubuntu Wiki。

[感谢华华提示]

Read More:

grdesktop: rdesktop的gnome前端
VirtualBox 1.6.4 发布
VirtualBox 更新到 1.5.6

5 Comments

1 yjwork
Commented
@ 2007-08-10 8:56


apt-get install tsclienttsclient比他更强大不光支持rdesktop还支持VNC,XDMCP

2 wilbur
Commented
@ 2007-08-10 9:26


tsclient就是利用rdesktop实现RDP协议的。也就是tsclient中的远程桌面就是rdesktop。

3 xwl
Commented
@ 2007-08-10 10:14


只是一个 frontend 而已。 tsclient == a frontend for rdesktop and other remote desktop tools

4 chijiao
Commented
@ 2007-12-06 10:22


不错,效果很不错

5 flay
Commented
@ 2011-08-31 13:22


我怎么试了下,发现不能单独运行程序阿?是怎么回事呢

转帖:http://linuxtoy.org/archives/rdesktop.html

------------------------------------------------------------------------------------------------------------------------------------------------------

It's grdesktop.

sure there is!. It's called grdesktop. Install it using you ordinary package manager. If you like you can also compile it by hand. I noticed a dependency on rdesktop. (while installing it within a gentoo linux system)
You can download the source code from a mirror on the dutch university in the city of Twente.

ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/rdesktop-1.4.1.tar.gz

ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/grdesktop-0.23.tar.gz

I presume the installation by hand is simple.

Grdesktop depends on rdesktop I guess, thus it's saver to install rdesktop first. But do as you like and see what happens.

The general recept is something like :->

tar -zxvf file-name

cd into the new directory

run something like:

sh ./configure

make

make install

In the end you should be stuck with a binairy called grdesktop. You can run it from a shell or make a nice little clickable item. That's all up to you.

if all I said isn't working, don't start complaining, just read the installation guide. These might be included in the for mentioned downloads but perhaps maybe not. I don't know and I don't care.

ciao.

Masikh.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: