In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. Introduction to related concepts:
RDP:Remote Desktop Protocol, remote Desktop Protocol
An open source implementation of xrdp:RDP that allows graphical control of remote systems
2. Demo environment:
Operating system
IP
Windows 10 1909 x64
192.168.0.100
CentOS 7.7 1908 x86_64
192.168.0.121
3. Install Xfce desktop environment: # yum grouplist # yum-y groupinstall Xfce
4. Install Epel source: # yum-y install epel-release
5. Install xrdp:# yum-y install xrdp
6. Configure xrdp:# vim / etc/xrdp/sesman.ini and modify the code KillDisconnected=false-- > KillDisconnected=1
Note:
(1) the value of the KillDisconnected parameter is modified so that every time Windows 10 disconnects, CentOS 7.7 shuts down the corresponding session process.
(2) the port number in the / etc/xrdp/xrdp.ini configuration file cannot be modified and can only be port 3389 of TCP. If you need to log in to a remote ECS server similar to Ali Cloud, you need to open port 3389 of TCP.
7. Set the default launch xfce4 desktop: # echo "xfce4-session" > ~ / .Xclients # chmod + x ~ / .Xclients
8. Start xrdp:# systemctl start xrdp # netstat-tunlp | grep xrdp
Note: listen to both ports 3389 and 3350 of TCP
9. Set self-boot: # systemctl enable xrdp
10. Windows 10 logs in to remote CentOS 7.7:
Win + r, enter mstsc in the run box, enter 192.168.0.121
11. Enter the user name and password for CentOS 7.7:
Note: if the remote server uses key authentication, it cannot log in, only for username and password authentication login
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.