switched to stellarmate and decided to install rdp so I could remote desktop from my ipad. Did this as I’ve never been able to configure vnc screen resolution and it always disconnects if I close the ipad while remote desktop just seems to work out the resolution and stays connected.
Unfortunately… shutdown option from the menu doesn’t seem to work, looks to be permission related. Login also complains and asks for a password which in my previous test run of setting up stellarmate I don’t think it did (aka I may have either cleverly done things right previously or cocked things up this time)
cat << EOF >> /etc/polkit-1/localauthority/50-local.d/50-xrdp.pkla
[Allow users to shutdown from XRDP]
Identity=unix-user:*
Action=org.freedesktop.login1.power-off
ResultAny=yes
[Allow users to reboot from XRDP]
Identity=unix-user:*
Action=org.freedesktop.login1.reboot
ResultAny=yes
EOF
Create the file as root and then restart polkit - sudo systemctl restart polkit and you will be able to reboot from the menu when connected using remote desktop. No idea about the security implications but if you are worried someone might reboot your telescope controller you’ve probably got bigger problems….