ITPub博客

首页 > Linux操作系统 > Linux操作系统 > rdesktop 的安装使用

rdesktop 的安装使用

原创 Linux操作系统 作者:lnwxzyp 时间:2011-07-19 09:37:44 0 删除 编辑
      rdesktop是一款linux下访问远程桌面的一款远程软件,类似于windows下的mstsc,最近由于在fedora下安装了win2k3的虚拟机,想用远程软件来控制,但是居然发现本机上没有装,于是google搜索,来到http://www.rdesktop.org/,下载了最新的rdesktop-1.7.0.tar.gz,下载下来进入下载目录
# cd /oracle/home/Downloads/
# tar xvzf rdesktop-1.7.0.tar.gz
# cd rdesktop-1.7.0
查看README文件,这里有详细的安装步骤,
Installation
------------
rdesktop uses a GNU-style. build procedure.  
Typically all that is necessaryto install rdesktop is the following::
% ./configure
% make
% make install
按照这个步骤,使用root权限在rdesktop-1.7.0目录下依次执行就可以了,前两个命令生成的内容太多,不列举了,最后一个make install
mkdir -p /usr/local/bin
/usr/bin/install -c rdesktop /usr/local/bin
strip /usr/local/bin/rdesktop
chmod 755 /usr/local/bin/rdesktop
mkdir -p /usr/local/share/rdesktop/keymaps/
cp keymaps/?? keymaps/??-?? /usr/local/share/rdesktop/keymaps/
cp keymaps/common /usr/local/share/rdesktop/keymaps/
cp keymaps/modifiers /usr/local/share/rdesktop/keymaps/
chmod 644 /usr/local/share/rdesktop/keymaps//*
mkdir -p /usr/local/share/man/man1
cp doc/rdesktop.1 /usr/local/share/man/man1
chmod 644 /usr/local/share/man/man1/rdesktop.1
可以看到make install所做的操作,其中cp keymaps/?? keymaps/??-?? /usr/local/share/rdesktop/keymaps/ 是使用通配符将keymaps目录下的符合的语言包之类的copy到相应目录下。
     rdesktop的用法

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
   -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)
         '-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=': 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[:driver[:device]]|off|remote]': enable sound redirection
                     remote would leave sound on server
                     available drivers for 'local':
                     alsa: ALSA output driver, default device: default
                     oss: OSS output driver, default device: /dev/dsp or $AUDIODEV
         '-r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD]': enable clipboard
                      redirection.
                      'PRIMARYCLIPBOARD' looks at both PRIMARY and CLIPBOARD
                      when sending data to server.
                      'CLIPBOARD' looks at only CLIPBOARD.
   -0: attach to console
看着有些复杂,其实常用的也不过两三项而已
   -u: user name  --设置要登录的用户
   -g: desktop geometry (WxH) --设置远程桌面的分辨率
   -f: full-screen mode  --全屏访问模式

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12216142/viewspace-702539/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-04-25

  • 博文量
    129
  • 访问量
    697063