-d: 域 -s: shell命令 (登录运行命令之后就退出) -c: 工作目录(应该是-s的子命令),-s shell命令的一个参数 -p: password (- to prompt) -n: 客户端(本地)主机名,默认为本地主机名 -k: 服务器上的键盘布局选择 (en-us, de, sv, etc.) -g: 桌面分辨率(宽x高) -i: enables smartcard authentication, password is used as pin -f: 全屏模式(Ctrl + Alt + Enter 退出全屏模式) -b: 强制位图刷新(没发现什么用) -L: 本地编码 -A: 无缝虚拟应用程序到本地 -B: use BackingStore of X-server (if available) -e: disable encryption (French TS) 禁用加密 -E: disable encryption from client to server 从客户端到服务器,禁用加密。 -m: 不允许拖动(不传递鼠标的拖动事件) -C: use private colour map -D: 不显示窗口标题栏(只有远程桌面窗口,没有关闭和最小化按钮) -K: 窗口切换快捷热键(Alt+Tab)不传递到远程桌面 -S: 标题按钮的大小,个人觉得这个参数很无用,或者我还没弄明白到底什么意思。 -T: 窗口标题 -t: disable use of remote ctrl -N: 数字键盘同步 -X: 给定另一个窗口的标识,嵌入到另一个窗口 -a: connection colour depth 选择颜色深度 -z: 启用rdp压缩 -x: RDP5 experience (m[odem 28.8], b[roadband], l[an] or hex nr.) -P: 持久位图缓存 -r: 设备重定向(参数可以重复使用)注:如windows下的mstsc开启串行口、本地磁盘、打印机等 -r comport:COM1=/dev/ttyS0: enable serial redirection of /dev/ttyS0 to COM1 把Linux上的ttyS0映射到远程windows的COM1口 or COM1=/dev/ttyS0,COM2=/dev/ttyS1 -r disk:floppy=/mnt/floppy: enable redirection of /mnt/floppy to 'floppy' share -r floppy=/mnt/floppy,cdrom=/mnt/cdrom 把本地的/mnt/floppy文件夹挂载到远程连接的floppy,/mnt/cdrom文件夹挂在到远程桌面的cdrom -r clientname= 设置本地设备的客户端名称 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]: 远程计算机的声音带到本地 available drivers for ‘local’: alsa: ALSA output driver, default device: default -r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD]: 剪贴板的配置 redirection. 'PRIMARYCLIPBOARD' 在本地和远程桌面共享剪贴板 when sending data to server. ‘CLIPBOARD’ looks at only CLIPBOARD. 以下的不是很常用 -r scard[:”Scard Name”=”Alias Name[;Vendor Name]”[,…]] example: -r scard:”eToken PRO 00 00”=”AKS ifdh 0” “eToken PRO 00 00” -> Device in Linux/Unix enviroment “AKS ifdh 0” -> Device shown in Windows enviroment example: -r scard:”eToken PRO 00 00”=”AKS ifdh 0;AKS” “eToken PRO 00 00” -> Device in Linux/Unix enviroment “AKS ifdh 0” -> Device shown in Windows enviroment “AKS” -> Device vendor name -0: attach to console 连接到控制台 -4: use RDP version 4 使用RDP 4的版本 -5: use RDP version 5 (default) 默认使用RDP 5的版本 -o: name=value: Adds an additional option to rdesktop. sc-csp-name Specifies the Crypto Service Provider name which is used to authenticate the user by smartcard sc-container-name Specifies the container name, this is usally the username sc-reader-name Smartcard reader name to use sc-card-name Specifies the card name of the smartcard to use
常用功能小结及部分参数用法举例
1 2 3 4 5 6
-g: 桌面分辨率(宽x高) -f: 全屏模式(Ctrl + Alt + Enter 退出全屏模式) -D: 不显示窗口标题栏(只有远程桌面窗口,没有关闭和最小化按钮) -T: 窗口标题 -r: 设备重定向 -A: 无缝虚拟应用程序到本地
-------------Thanks for your attention-------------