免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1141 | 回复: 0
打印 上一主题 下一主题

rdesktop用法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-07 23:17 |只看该作者 |倒序浏览
rdesktop [options] server[:port]
       -u
              Username for authentication on the server.
       -d
              Domain for authentication.
       -s
              Startup  shell  for  the  user  -  starts a specific application instead of Explorer.
       -c
              The initial working directory for the user.  Often used in  combination with -s to set up a fixed login environment.
         -p
              The  password  to authenticate with.  Note that this may have no effect if "Always prompt for password" is enabled on the server.WARNING: if you specify a password on the command line it may be visible to other users when they use tools like ps.  Use -p - to
make  rdesktop  request  a  password  at  startup (from standard
input).
       -n
              Client hostname.  Normally rdesktop  automatically  obtains  the hostname of the client.
       -k
              Keyboard  layout  to  emulate.   This  requires  a corresponding keymap file to be installed.  The standard keymaps provided with rdesktop  follow the RFC1766 naming scheme: a language code followed by a country code if necessary - e.g.  en-us,  en-gb,  de, fr, sv, etc.  The default is en-us (a US keyboard).
    -g
              Desktop   geometry  (WxH).  If  geometry  is  the  special  word "workarea", the geometry will be fetched from the extended  window  manager hints property _NET_WORKAREA, from the root window.The geometry can also be specified as a percentage of the  whole screen, e.g. "-g 80%".
       -f     Enable  fullscreen  mode.  This overrides the window manager and causes the rdesktop window to fully cover  the  current  screen.Fullscreen mode can be toggled at any time using Ctrl-Alt-Enter.
       -b     Force the server to send screen updates as bitmaps  rather  than using higher-level drawing operations.
       -B     Use  the  BackingStore  of the Xserver instead of the integrated one in rdesktop.
       -e     Disable encryption.  This option is only needed (and  will  only work) if you have a French version of NT TSE.
       -E     Disable  encryption  from  client  to  server.   This  sends  an encrypted login packet, but everything after this is unencrypted (including interactive logins).
       -m     Do not send mouse motion events.  This saves bandwidth, although some Windows applications may rely on receiving mouse motion.
       -C     Use private colourmap.  This will improve colour accuracy on  an 8-bit display, but rdesktop will appear in false colour when not focused.
       -D     Hide window manager decorations, by using MWM hints.
       -K     Do not override window manager key bindings.  By default  rdesktop attempts to grab all keyboard input when it is in focus.
       -S
              Enable  single  application  mode.  This option can be used when running a single, maximized application (via -s). When the minimize  button of the windows application is pressed, the rdesktop
window is minimized instead of the remote application. The maximize/restore  button  is  disabled.  For  this to work, you must
specify the correct button size, in  pixels.  The  special  word
"standard" means 18 pixels.
       -T
              Sets the window title.
       -N     Enable numlock syncronization between the Xserver and the remote RDP session.  This is useful with applications that looks at the numlock  state, but might cause problems with some Xservers like Xvnc.
       -X
              Embed  rdesktop-window  in  another  window.  The  windowid   is expected to be decimal or hexadecimal (prefixed by 0x).
       -a
              Sets  the  colour  depth  for  the connection (8, 15, 16 or 24).More than 8 bpp are only supported when connecting to Windows XP(up to 16 bpp) or newer.  Note that the colour depth may also be limited by the server configuration.
       -z     Enable compression of the RDP datastream.  This  currently  only works for a colour depth of 8bpp.
       -x
              Changes  default  bandwidth  performance  behaviour for RDP5. By default only theming is enabled, and all other options are  disabled  (corresponding to modem (56 Kbps)). Setting experience to
b[roadband] enables menu animations and  full  window  dragging.
Setting experience to l[an] will also enable the desktop wallpaper. Setting  experience  to  m[odem]  disables  all  (including themes).  Experience can also be a hexidecimal number containing
              the flags.
       -P     Enable caching of bitmaps to disk (persistent  bitmap  caching).This generally improves performance (especially on low bandwidth connections) and reduces network traffic at the cost of slightly longer  startup  and  some  disk space.  (10MB for 8-bit colour,20MB for 15/16-bit colour and 30MB for 24-bit colour sessions)
       -r
              Enable redirection of the specified device on the  client,  such that  it  appears  on the server. Note that the allowed redirections may be restricted by the server configuration.
Following devices are currently supported:
       -r comport:=,...
              Redirects serial devices on your client to the server. Note that if  you  need to change any settings on the serial device(s), do so with an appropriate tool before starting  rdesktop.  In  most OSes  you  would  use  stty. Bidirectional/Read support requires Windows XP or newer.  In Windows 2000 it will create a port, but it's not seamless, most shell programs will not work with it.
example: rdesktop -g 1024*768 -u **** -p ****  hostname
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/19624/showart_137819.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP