sudo nano /etc/xrdp/startwm.sh
#place these near the top of the file:
unset DBUS_SESSION_BUS_ADDRESS
unset XDG_RUNTIME_DIR
sudo systemctl restart xrdp
from https://askubuntu.com/a/1324767
sudo nano /etc/xrdp/startwm.sh
#place these near the top of the file:
unset DBUS_SESSION_BUS_ADDRESS
unset XDG_RUNTIME_DIR
sudo systemctl restart xrdp
from https://askubuntu.com/a/1324767