CentOS7 Configuring the graphical interface and setting up VNC remote connection, Windows Remote Desktop Connection

Source: Internet
Author: User
Tags windows remote desktop

Installing the CentOS Desktop

Yum Groupinstall "GNOME Desktop"

Restart, enter the terminal, change the boot mode to graphics mode

Systemctl Set-default Graphical.target

Restart

Method One: Install and configure the VNC server

Yum Install Tigervnc-server

Create a Telnet user uservnc (can be replaced with a different user name)

Useradd Uservnc

Set Password

passwd Uservnc

Attached: VNC Viewer official website https://www.realvnc.com/en/download/vnc/

Note: The firewall is powered on port 5901 and the client is connected ip:5901

Mode two: Implementing Windows Remote Desktop Connection

Configuration source

Yum Install epel*-y

Installing XRDP

Yum--enablerepo=epel-y Install XRDP

Start XRDP and set boot boot

Systemctl Start XRDP

Systemctl Enable XRDP

Check if XRDP is starting successfully, XRDP listening on port 3389

Netstat-antup | grep XRDP

Open firewall corresponding port

Firewall-cmd--permanent--zone=public--add-port=3389/tcp
Firewall-cmd--reload

CentOS7 Configuring the graphical interface and setting up VNC remote connection, Windows Remote Desktop Connection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.