Linux之rdesktop远程连接Windows

2011年04月09日 Linux, SUSE/openSUSE 暂无评论

Windows下开启了远程桌面,即telnel,在Linux下远程连接Windows,可以采用rdesktop。
rdesktop  is a client for Remote Desktop Protocol (RDP), used in a num‐ber of Microsoft products including Windows NT Terminal Server, Windows 2000 Server, Windows XP and Windows 2003 Server.
安装方法:
Debian/Ubuntu 系统 apt-get install rdesktop
Fedora 系统 yum install rdesktop
Opensuse系统 zypper in rdesktop

Opensuse11.4下
fantlam@linux-4k5v:~> sudo zypper in rdesktop
root's password:
Loading repository data...
Reading installed packages...
'rdesktop' is already installed.
No update candidate for 'rdesktop-1.6.0-45.1.i586'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.
默认已经装好rdesktop.

使用方法:
以Opensuse11.4为例,在终端输入命令即可。
fantlam@linux-4k5v:~> rdesktop IP地址 -u administrator -p 密码

详细使用方法:
Usage: rdesktop [options] server[:port]
-u: user name
-d: domain
-s: shell
-c: working directory
-p: password (- to prompt)
-n: client hostname
-k: keyboard layout on server (en-us, de, sv, etc.)
-g: desktop geometry (WxH)
-f: full-screen mode
-b: force bitmap updates
-L: local codepage
-A: enable SeamlessRDP mode
-B: use BackingStore of X-server (if available)
-e: disable encryption (French TS)
-E: disable encryption from client to server
-m: do not send motion events
-C: use private colour map
-D: hide window manager decorations
-K: keep window manager key bindings
-G: prevent window manager key bindings
-S: caption button size (single application mode)
-T: window title
-N: enable numlock syncronization
-X: embed into another window with a given id.
-a: connection colour depth
-z: enable rdp compression
-x: RDP5 experience (m[odem 28.8], b[roadband], l[an] or hex nr.)
-P: use persistent bitmap caching
-r: enable specified device redirection (this flag can be repeated)

给我留言