For internal use
For internal use
xrdp provides a graphical login to remote machines using Microsoft Remote Desktop Protocol (RDP).
xrdp accepts connections from a variety of RDP clients: Many of these work on some or all of Windows, Mac OS, iOS, and/or Android
Call the client software. For windows, Remote Desktop Connection(远程桌面连接) is installed by default. For macos, Remote Desktop shall be downloadable.
Pass the ip and port to one server. The info is availble at ipaddress.
Then you will enter the XFCE desktop environment.
Notes:
The passwords (called credential in Windows) can be saved for each session.
The sessions can be saved in .rdp files.
For some servers (white/black, red), it is not available yet.
The compatibility is much more better than x2go, which will crash in some servers when vmd is called. The disadvantage can be fixed resolution and larger band width consumption.
Install xrdp
sudo apt install xrdp sudo systemctl status xrdp sudo adduser xrdp ssl-cert sudo systemctl restart xrdp
Set XFCE as the default desktop environment. Choose the index of startxfce
sudo update-alternatives --config x-session-manager
Start the service mannually
sudo /etc/rc.d/rc.xrdp start
Set XFCE as the default desktop environment. Add the lines to the file rc.4
sudo vi /etc/rc.d/rc.4 # Start XFCE if [ -x /usr/bin/gdm ]; then exec /usr/bin/startxfce4 fi
Modify some configurations according to xrdp's readme.
sudo vi /etc/X11/Xwrapper.config allowed_users = anybody
Exploring ~