When logged in to a Xrdp session, you might not get an xauth cookie generated for your own xrdp sessioin, which may cause you problems to use the display if you ssh to another host…
for that, check your current display, in this case it is :14.0
# echo $DISPLAY
:14.0
Use xauth list to check if there is an existing cookie for unix:14, if there is not…. create one… with a random id… in this case… i improvised one: “2ab6a473b33253105e70c53350c80b3a”
# xauth add GTWTPLJSINFV01/unix:14 MIT-MAGIC-COOKIE-1 2ab6a473b33253105e70c53350c80b3a
After this, ssh -C -X -Y otherhost will work