查看是否安裝開源資源庫(kù)

查看是否已經(jīng)的安裝epel
[root@vantech ~]# rpm -qa|grep epel
epel-release-7-11.noarch

  1. 沒(méi)有安裝進(jìn)行yum安裝

yum install epel-release

  1. 安裝xrtp軟件yum install xrdp

最新不用再安裝

[root@vantech ~]# yum install xrdp
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile

  1. base: mirrors.aliyun.com
  2. epel: mirrors.tuna.tsinghua.edu.cn
  3. extras: mirrors.aliyun.com
  4. updates: mirrors.aliyun.com

Package 1:xrdp-0.9.9-1.el7.x86_64 already installed and latest version
Nothing to do

安裝tigervnc服務(wù)yum install tigervnc-server

為用戶root設(shè)置vnc密碼,命令為:vncpasswd root

查詢/usr/sbin/sestatus -v 關(guān)閉seliunx和防火墻

由于是測(cè)試,所以在此直接關(guān)閉防火墻,命令為:systemctl stop firewalld.service
如果需要開機(jī)關(guān)閉,則命令為 : systemctl disable firewalld.servie

啟動(dòng)服務(wù)命令:systemctl start xrdp
開機(jī)啟動(dòng)命令:systemctl enable xrdp

查詢xrdp的運(yùn)行狀態(tài)

  1. 啟動(dòng)遠(yuǎn)程并連接
  2. 輸入用戶名密碼即可
最后修改:2020 年 12 月 02 日 11 : 50 PM
如果覺得我的文章對(duì)你有用,請(qǐng)隨意贊賞