Windows mstsc 连接 ubuntu xrdp远程图形桌面一键安装脚本xrdp-installer

前言全局说明

很多人因为各种原因可能需要用 Win 连接 linux桌面,但网上很多教程,都是在说,如何安装、卸载,
对与一部分只想使用,不想研究原理的人,解决各种依赖、安装各种包,确实麻烦
国外就有大神,将 xrdp 安装,做成了自动化脚本,大大方便了新手。

更详细的安装过程、错误解决:
https://www.cnblogs.com/wutou/p/18573626


一、说明

环境:

Ubuntu 18.04.6 LTS (Linux qt-vm 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux)

二、xrdp-installer 官网

2.1 官网

http://www.c-nergy.be/products.html

2.2 官方使用教程

https://c-nergy.be/blog/?p=19951
https://c-nergy.be/blog/?p=14888

2.3 历史版本

https://c-nergy.be/repository.html

2.4 历史版本,直接下载:

V1.5.2 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.5.2.zip
(V1.5.2 备用链接:https://files.cnblogs.com/files/wutou/xrdp-installer-1.5.2_说明.zip?t=1732931257&download=true)
V1.5.1 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.5.1.zip
V1.5 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.5.zip

V1.4.9 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.4.9.zip
V1.4.8 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.4.8.zip
V1.4.7 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.4.7.zip
V1.4.6 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.4.6.zip
V1.4.2 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.4.2.zip
V1.3 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.3.zip

V1.2.3 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.2.3.zip
V1.2.2 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.2.2.zip
V1.2 https://c-nergy.be/downloads/xRDP/xrdp-installer-1.2.zip
(V1.2 备用连链接:https://pan.baidu.com/s/1m0ahUdc9tfrREgNyKeazUA?pwd=odcs 提取码:odcs
V1.2 备用链接2:https://files.cnblogs.com/files/wutou/xrdp-installer-1.2_说明.zip?t=1732931235&download=true


三、使用

3.1 下载

wget https://www.c-nergy.be/downloads/xRDP/xrdp-installer-1.2.3.zip

3.2 解压

unzip xrdp-installer-1.2.3.zip

3.3 运行安装

安装可能会修改系统,请在其他环境,先测试,再安装
安装可能会修改系统,请在其他环境,先测试,再安装
安装可能会修改系统,请在其他环境,先测试,再安装

bash xrdp-install-1.2.3.sh

不用加 sudo , 需要时会提示输入密码

3.4 重启

sudo reboot

3.5 执行过程

image

image

image

image

image

(以下图片来源于网络)
image

image

image


四、注意

4.1

同一个账号,不能同实登录两个图形界面
同一个账号,不能同实登录两个图形界面
同一个账号,不能同实登录两个图形界面

重启后,直接在远程 mstsc 里登录。

4.2 在 18.04 安装,黑屏版本

进过测试,以下版本安装后,在18.04 下xrdp连接会黑屏:

V1.4.6
V1.4.5a
V1.4.5
V1.4.4
V1.4.3
V1.4.2
V1.4.1
V1.4
V1.3
V1.2

经过测试,以下版本安装后,正常:

V1.2.3
V1.2.2
V1.2.1



免责声明:本号所涉及内容仅供安全研究与教学使用,如出现其他风险,后果自负。




参考、来源:
https://blog.csdn.net/weixin_43315707/article/details/107518380
https://www.baidu.com/s?wd=xrdp-installer&pn=10&oq=xrdp-installer&tn=98012088_21_dg&ie=utf-8&ch=1&rsv_pq=8d9e664e001a7bef&rsv_t=2224Xt%2FxlYbzjVn4M1HJ%2FOJL3kiSxkKhw50jOch5e5hwWFxMqWbQCR3CDDl1btcNsYmZfx0&rsv_page=1 (历史版本)
https://blog.csdn.net/sinat_15213441/article/details/125459414 (网络图片来源)



posted @   悟透  阅读(127)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
历史上的今天:
2023-11-30 python flask下载功能
2023-11-30 ubuntu下apt添加第三方ppa源
2020-11-30 Etcd v3.1.15 在Linux CentOS7 集群配置 (单机改端口实现)
点击右上角即可分享
微信分享提示