By the way, I guess vino-preferences gets confused because the DISPLAY command includes localhost but does not point to the local X server, just to the ssh forwarding tunnel.
It can be seen from this example (and also shows why the trick with the DISPLAY variable in my previous post works):
By the way, I guess vino-preferences gets confused because the DISPLAY command includes localhost but does not point to the local X server, just to the ssh forwarding tunnel.
It can be seen from this example (and also shows why the trick with the DISPLAY variable in my previous post works):
USER@CLIENT: ~ $ ssh SERVER
USER@SERVER's password:
USER@SERVER: ~ $ DISPLAY=:0 echo $DISPLAY
localhost:10.0