knowledge_map/ubuntu xrdp.md

29 lines
1.0 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ubuntu xrdp
### ubuntu服务器安装
```
sudo apt autoremove xrdp
sudo add-apt-repository ppa:martinx/xrdp-hwe-18.04
sudo apt-get update
sudo apt-get install xrdp xorg
sudo adduser xrdp ssl-cert
sudo reboot
```
### Windows客户端
使用远程桌面连接.搜索栏直接搜索即可.打开之后输入Ubuntu服务器的IP地址即可
xrdp 延迟测试
网线直连平均延迟小于1ms,rdp画质分辨率都开最高极限带宽
| 连接方式 | 延迟 | 带宽 | 画质等级 | 实际效果 |
| ---------------------- | ---- | ------- | --------- | --------------------------- |
| 网线直连局域网 | <1ms | 100Mbps | 1920*1080 | 延迟还行,降一档分辨率会更好 |
| 同一WiFi局域网 | 10ms | 20Mbps | 1280*720 | 延迟比较大,但用着还可以 |
| 云服务器(北京的服务器) | 40ms | 5Mbps | 1024*768 | 基本无法使用,延迟太大 |
| | | | | |
![rdp延迟](images\rdp延迟.png)