win10中mstsc远程Centos-Stream 9图形化界面

文章目录

  • [1 前置状态](#1 前置状态)
  • [2 安装配置XRDP](#2 安装配置XRDP)
  • [3 关闭SELinux](#3 关闭SELinux)
    • [3.1 查看selinux状态](#3.1 查看selinux状态)
    • [3.2 关闭selinux](#3.2 关闭selinux)
  • [4 启动XRDP](#4 启动XRDP)
  • [5 Win10远程连接测试](#5 Win10远程连接测试)

1 前置状态

  1. 已安装CentOS9桌面版;
  2. Windows10。

2 安装配置XRDP

bash 复制代码
sudo yum install epel-release
sudo yum install xrdp
sudo yum install tigervnc-server
vncpasswd root					# 为root用户设置vnc密码
systemctl stop firewalld		# 关闭防火墙
sudo systemctl disable firewalld		# 禁止防火墙开机自启

3 关闭SELinux

3.1 查看selinux状态

bash 复制代码
sestatus

3.2 关闭selinux

bash 复制代码
sudo gedit /etc/selinux.config
# 修改 SELINUX=enforcing 为 SELINUX=disabled
SELINUX=disabled
## 保存文件

4 启动XRDP

bash 复制代码
systemctl start xrdp
sudo systemctl enable xrdp

5 Win10远程连接测试

Win + R输入mstsc,输入CentOS9操作系统IP地址和root账户

登录成功

相关推荐
qq_452396231 天前
第十三篇:《Docker Swarm 集群基础》
运维·docker·容器
诸葛务农1 天前
共沸脱水技术及其在光刻胶用PGMEA纯化中的应用(中)
linux·数据库·人工智能
lld9510271 天前
(二)从验证到执行:策略实时运行全链路
linux·服务器·数据库
biter down1 天前
6:参数化
运维·服务器
坤昱1 天前
cfs调度类深入解刨——最新内核细节分析5
linux·分布式·cfs调度·eevdf调度·linux调度·linux技术·kernel最新版本内容
海域云-罗鹏1 天前
企业服务器遭到网络攻击该如何解决?应急处理与长效防护方案
运维·服务器·安全
阿洛学长1 天前
Kali Linux 虚拟机安装(VMware Workstation 17)
java·linux·服务器
H Journey1 天前
source命令、.bashrc 、.bash_profile、/etc/profile配置文件详解
linux·.bashrc
上天_去_做颗惺星 EVE_BLUE1 天前
Ubuntu Android 虚拟机安装使用教程
android·linux·测试工具·ubuntu·安卓
2023自学中1 天前
imx6ull开发板 移植 ffmpeg 4.2.11 + x264 视频编码库
linux·ffmpeg·音视频·嵌入式·开发板