In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Purpose
Log in to windows Desktop using the remote Desktop included with CentOS Gnome
First, install the Gnome desktop for CentOS 6
Yum groupinstall Desktop
Second, install xrdp
Because xrdp does not have a rpm package, you need to download the source package
Wget https://jaist.dl.sourceforge.net/project/xrdp/xrdp/0.6.1/xrdp-v0.6.1.tar.gzyum install libX11-devel libXfixes-devel libXfixes-devel make gcc gcc-c++ tigervnc-server tigervnctar-zxvf xrdp-v0.6.1.tar.gz./bootstrap. / configure make & & make install# opens the service sh / etc/xrdp/xrdp.sh start
If you need to configure a firewall, please open ports 3389, 3350 and 5910.
III. Other configurations and error protection
① if you want to modify port 3389
Vi / etc/xrdp/ xrdp.ini[global]... port=3389...
Just change port 3389 to the port you need.
② error xrdp X server for display 11 startup timeout
Port access, access to the remote desktop, can enter the password to enter, but the error timeout can not enter the desktop
Find the log
Vi / var/log/xrdp-sesman.log [ERROR] Xserver for display 11 startup timeout [ERROR] Xserver for display 11 startup timeout [INFO] starting xrdp-sessvc-xpid=32437-wmpid=32436 [ERROR] another Xserver is already active on display 11
At the same time, it is found that 5910 does not exist.
Solution:
Yum install tigervnc-server tigervnc
Try to see if you can enter the system with sh / etc/xrdp/startwm.sh after installation
Restart the service to access the account
Sh / etc/xrdp/xrdp.sh restart
In addition, a tutorial for source code compilation and xrdp installation in Ubuntu14.04 is attached
1, dependent installation
Sudo apt-get install git autoconf libtool pkg-config gcc gears + make libssl-dev libpam0g-dev libjpeg-dev libx11-dev libxfixes-dev libxrandr-dev flex bison libxml2-dev intltool xsltproc xutils-dev python-libxml2 gloves + xutils libfuse-dev libmp3lame-dev nasm libpixman-1-dev xserver-xorg-dev
2. Download the xrdp source code package
Wget https://github.com/neutrinolabs/xrdp/releases/download/v0.9.4/xrdp-0.9.4.tar.gz
Wget https://github.com/neutrinolabs/xorgxrdp/releases/download/v0.2.4/xorgxrdp-0.2.4.tar.gz
3, compile & install
Tar xvfz xrdp-0.9.4.tar.gz
Cd xrdp-0.9.4
. / bootstrap
. / configure-- enable-fuse-- enable-mp3lame-- enable-pixman
Make
Sudo make install
Sudo ln-s / usr/local/sbin/xrdp {,-sesman} / usr/sbin
Tar xvfz xorgxrdp-0.2.4.tar.gz
Cd xorgxrdp-0.2.4
. / bootstrap
. / configure
Make
Sudo make install
4. Start the service
Sudo servicce xrdp start
5, configure on demand
The configuration file is as follows:
/ etc/xrdp/xrdp.ini
/ etc/xrdp/sesman.ini
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.