I believe VLC has remote-control capabilities, so if you ran something with that (Angstrom most likely), you should be good.
Another good option, as mentioned above, is SSH. Set up SSH with X forwarding and the Z with a static IP address, then run whatever media player you want on the Z. It will be controlling the Z, but it will seem like you're using it right on the other computer.
Hope that helps.