ssh to the HTPC with X forwarding
ssh -X HTPCThen install x2x on the htpc:
sudo apt-get install x2xAllow xhost connections to the htpc:
DISPLAY=:0 xhost +finally issue the command
x2x -east -to :0
Note that xhost allow all is unsecure, unless you are on a trusted network. It is advisable to ssh tunnel x2x when running over an unsecure network.