Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Xrdp under Linux

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to install Xrdp under Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Xrdp is an open source implementation of the Microsoft remote Desktop Protocol (RDP) that allows you to control remote systems graphically. With RDP, you can log in to a remote computer and create a real desktop session as if you were logged in to the local computer.

Ubuntu opens the terminal and enters the following commands in turn:

Sudo apt-get install xrdp sudo apt-get install vnc4server tightvncserver cd / home/youruser # youruser is everyone's own user name echo "gnome-session-- session=ubuntu-2d" > .xsession sudo / etc/init.d/xrdp restart and then log in to the machine directly with win7's remote login function. Enter IP, user name and password, which is the same as logging in to other systems with win7.

CentOS1. The default library does not contain xrdp, so you need to install the Epel library.

Yum install epel-release then installs xrdp

Yum install xrdp2. Install tigervnc-server

If yum install tigervnc-server needs a client, you can install tigervnc at the same time

Yum install tigervnc3. Set the vnc password for the current user, and if it is another user, su to that user first, and then vncpasswd.

Vncpasswd4. Configure the xrdp.ini file

Vim / etc/xrdp/xrdp.ini change max_bpp=32 to max_bpp=24

5. Configure selinux

Chcon-t bin_t / usr/sbin/xrdp chcon-t bin_t / usr/sbin/xrdp-sesman6. Start the xrdp service and set it to boot\

Systemctl start xrdp systemctl enable xrdp7. Open firewall port 3389

Firewall-cmd-permanent-zone=public-add-port=3389/tcp firewall-cmd-reload8. Check whether the xrdp service starts normally

Systemctl status xrdp.service ss-antup | after the grep xrdp is successful, you can use windows's remote Desktop to connect to linux.

BinBin Learns To Develop

The above is all the contents of the article "how to install Xrdp under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report