Remote Desktop Connection to Ubuntu using the XRDP method

Source: Internet
Author: User

Install related software

sudo apt-get-y install Xfce4 xrdp vnc4server

Once the software has been installed, we will review the relevant packages

Dpkg-l XRDP


The files in the red box are the one we need to focus on configuring

Dpkg-l Vnc4server


Check if there is a script file inside the red box

Configure the Xfce4 desktop session file. Because of compatibility issues between XRDP, GNOME, and unity, we also need to configure a Xfce4 desktop session file for every user who needs to log on to the system using Remote Desktop, and if the file is not configured, the user will only have black and white dots for background and no icons to operate.

To configure the Xfce4 desktop session file, we only need to save the xfce4-session command to the user's home directory. As follows:

Echo xfce4-session>.xsession

In the user root directory ls-l see if there is a. xsession script, and there is only one line xfce4-session command within the script.

Note: Here we are testing with the CentOS user. If you are testing with another user, be sure to save one copy of the above Xfce4 desktop session file in the user's home directory. Also, be aware that Ubuntu Server Edition is not required to configure Xfce4 desktop session files. There is no compatibility issue between XRDP, GNOME, and unity because of Ubuntu Server Edition.

PS: Problems with the Remote Desktop card, please check my other logs.
Reference reading:
Here to write the link content
Here to write the link content

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.