apt install -y xrdp remmina
behavior: without follow taskbar and panel not appears
export GNOME_SHELL_SESSION_MODE=ubuntu
export XDG_CURRENT_DESKTOP=ubuntu:GNOME
export XDG_DATA_DIRS=${D}
export XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
gnome-extensions enable desktop-icons@csoriano
gnome-extensions enable [email protected]
gnome-extensions enable [email protected]
behavior: without this authentication required for color profile and/or system repositories
create /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla
[Allow Colord all Users]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
ResultAny=no
ResultInactive=no
ResultActive=yes
[Allow Package Management all Users]
Identity=unix-user:*
Action=org.debian.apt.*;io.snapcraft.*;org.freedesktop.packagekit.*;com.ubuntu.update-notifier.*
ResultAny=no
ResultInactive=no
ResultActive=yes
systemctl restart polkit
systemctl restart xrdp
apt install -y lxde
cat > ~/.xsession <<EOF
startlxde
EOF
chmod +x ~/.xsession
- Server : localhost
- User name : xxx
- User password : xxx
- Color depth : RemoteFX (32bpp)
if server xrdp has session opened, connecting to that with rdp client makes programs to display on the xrdp server display
to share session refers edit /etc/xrdp/startwm.sh
and place
unset DBUS_SESSION_BUS_ADDRESS
unset XDG_RUNTIME_DIR
just before test -x ...
ref: https://c-nergy.be/blog/?p=16698
cannot read /etc/xrdp/key.pem. Permission denied
solve by adding xrdp user to ssl-cert
sudo adduser xrdp ssl-cert