linux下远程控制windows系统

来源:网络发布时间:2009-06-02
  在实际工作中,桌面系统用的最多还是Windows,怎么在Linux桌面远程控制Windows系统呢。
  现在通过rdesktop软件就能方便的远程控制。。。首先我们要安装这个软件。
  我的linux系统:Redhat enterprise linux 5
  下面我们来安装rdesktop软件:
  [root@Wang Server]# rpm -ivh rdesktop-1.4.1-4.i386.rpm
  [root@Wang Server]# rdesktop --help
  rdesktop: invalid option -- -
  rdesktop: A Remote Desktop Protocol client.
  Version 1.4.1. Copyright (C) 1999-2005 Matt Chapman.
  See http://www.rdesktop.org/ for more information.
  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
  -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
  -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 连接后显示的位色,比如有8位色,16位色,24位色
  -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)
  '-r comport:COM1=/dev/ttyS0': enable serial redirection of /dev/ttyS0 to COM1
  or COM1=/dev/ttyS0,COM2=/dev/ttyS1
  '-r disk:floppy=/mnt/floppy': enable redirection of /mnt/floppy to 'floppy' share
  or 'floppy=/mnt/floppy,cdrom=/mnt/cdrom'
  '-r clientname=<client name>': Set the client name displayed
  for redirected disks
  '-r lptport:LPT1=/dev/lp0': enable parallel redirection of /dev/lp0 to LPT1
  or LPT1=/dev/lp0,LPT2=/dev/lp1
  '-r printer:mydeskjet': enable printer redirection
  or mydeskjet="HP LaserJet IIIP" to enter server driver as well
  '-r sound:[local|off|remote]': enable sound redirection
  remote would leave sound on server
  -0: attach to console
  -4: use RDP version 4
  -5: use RDP version 5 (default)
   [root@Wang Server]# rdesktop -u administrator 192.168.0.196
   现在已经成功连接到192.168.0.196那台机子上。