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