Getting XRDP working with Fedora Gnome

cp -f /etc/xrdp/xrdp.ini /etc/xrdp/
cp -f /etc/xrdp/sesman.ini /etc/xrdp/
sed -i "s/autorun=/autorun=Xorg/g" /etc/xrdp/xrdp.ini
sed -i "0,/allow_channels=true/{s/allow_channels=true/allow_channels=false/}" /etc/xrdp/xrdp.ini
echo "PREFERRED=gnome-session" > /etc/sysconfig/desktop
echo "unset DBUS_SESSION_BUS_ADDRESS; gnome-session" >> /etc/sysconfig/desktop
echo "allowed_users=anybody" > /etc/X11/Xwrapper.config
sed -i "/param=96/ a param=-AcceptCutText=0\nparam=-SendCutText=0\nparam=-SendPrimary=0\nparam=-SetPrimary=0" /etc/xrdp/sesman.ini
systemctl restart xrdp


Setting the old way of crypto

So updating an OS sometimes changes the defaults used for various pieces of crypto. In fedora to set it back to how it used to be:

update-crypto-policies --set LEGACY

You should only do this as last resort or just for testing.