Freerdp基本参数说明
Freerdp基本参数说明
语法:xfreerdp [file] [options] [/v:<server>[:port]]
基础参数:
/v: 主机IP地址
/u: 登录账号
/p: 登录密码
/f 全屏显示
/port:3389 端口定义
/version 版本查询
/help 帮助查询
扩展参数:
/bpp:[8/16/24/32] 画面效果和流畅度
/sound:sys:pulse,latency:100 音频输出
/microphone:sys:pulse 音频输入,麦克风
/rfx 启用RemoterFX显示特性
/gdi:[hw/sw] 画面绘制模式(hw为终端、sw为远程服务器)
+drives 本地磁盘映射
/video 开启视频增强
/usb:auto 开启USB重定向,包含U盘、打印机、UK等支持USB功能
/gfx:AVC444 启用AVC/H264编码(附带+async-update参数效果更加)
参考案例:
默认无功能参数
xfreerdp /v:192.168.100.102 /size:1280x1024 +auto-reconnect /auto-reconnect-max-retries:5 /cert-ignore /u:administrator /bpp:16 -compression +fonts +wallpaper +themes +bitmap-cache -window-drag -menu-anims /f
允许映射本地耳麦设备
xfreerdp /v:192.168.100.102 /size:1280x1024 +auto-reconnect /auto-reconnect-max-retries:5 /cert-ignore /u:administrator /bpp:16 /sound:sys:pulse,latency:100 /microphone:sys:pulse -compression +fonts +wallpaper +themes +bitmap-cache -window-drag -menu-anims /f
启用RemoterFX显示特性
xfreerdp /v:192.168.100.102 /size:1280x1024 +auto-reconnect /auto-reconnect-max-retries:5 /cert-ignore /u:administrator /rfx /gdi:hw -compression +fonts +wallpaper +themes +bitmap-cache -window-drag -menu-anims /f
本地磁盘映射
xfreerdp /v:192.168.100.102 /size:1280x1024 +auto-reconnect /auto-reconnect-max-retries:5 /cert-ignore /u:administrator /bpp:16 -compression +fonts +wallpaper +themes +bitmap-cache -window-drag -menu-anims +drives /f
在服务器端播放
xfreerdp /v:192.168.100.102 /size:1280x1024 +auto-reconnect /auto-reconnect-max-retries:5 /cert-ignore /u:administrator /bpp:16 -compression +fonts +wallpaper +themes +bitmap-cache -window-drag -menu-anims /audio-mode:1 /f
自定义RDP连接端口
xfreerdp /v:192.168.100.102 /size:1280x1024 +auto-reconnect /auto-reconnect-max-retries:5 /cert-ignore /u:administrator /bpp:32 -compression /port:3389 +fonts +wallpaper +themes +bitmap-cache -window-drag -menu-anims /f
启用Media Player多媒体重定向
xfreerdp /v:192.168.100.102 /size:1280x1024 +auto-reconnect /auto-reconnect-max-retries:5 /cert-ignore /u:administrator /bpp:32 /video -compression +fonts +wallpaper +themes +bitmap-cache -window-drag -menu-anims /f
启用多点触摸
xfreerdp /v:192.168.100.102 /size:1280x1024 +auto-reconnect /auto-reconnect-max-retries:5 /cert-ignore +multitouch /u:administrator /bpp:32 -compression +fonts +wallpaper +themes +bitmap-cache -window-drag -menu-anims /f
启用USB重定向
xfreerdp /v:192.168.100.102 /size:1280x1024 +auto-reconnect /auto-reconnect-max-retries:5 /cert-ignore /usb:auto /u:administrator /bpp:32 -compression +fonts +wallpaper +themes +bitmap-cache -window-drag -menu-anims /f
启用AVC/H264编码
xfreerdp /v:192.168.100.102 /size:1280x1024 +auto-reconnect /auto-reconnect-max-retries:5 /cert-ignore /u:administrator /gfx:AVC444 +async-update -compression +fonts +wallpaper +themes +bitmap-cache -window-drag -menu-anims /f
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)