Install XRDP on Raspberry PI – commandset
sudo raspi-config nonint do_vnc 0
sudo apt-get install -y gcc make libssl-dev libpam0g-dev libx11-dev libxfixes-dev libxrandr-dev mc autoconf automake libtool libxkbfile-dev
git clone https://github.com/neutrinolabs/xrdp.git
cd xrdp
git checkout 4b2155b6cf80c0411ffe8b5f1f7e3e4fae09e1a8./bootstrap
./configure
make
sudo make installsudo mcedit /etc/xrdp/xrdp.ini
[Xvnc]
name=Xvnc
lib=libvnc.so
pamusername=ask
pampassword=ask
#username=ask
#password=ask
ip=127.0.0.1
port=5900
security_level=0
depth=24
sudo mcedit /etc/wayvnc/config
use_relative_paths=true
address=::
enable_auth=false
#enable_pam=true
private_key_file=tls_key.pem
certificate_file=tls_cert.pem
rsa_private_key_file=rsa_key.pemsudo systemctl enable xrdp
sudo systemctl restart wayvnc xrdp.service
sudo dphys-swapfile swapoff
sudo mcedit /etc/dphys-swapfileCONF_SWAPSIZE=2048
sudo dphys-swapfile setup
sudo dphys-swapfile swapon