Updated samples to run with the new remoting #2906