I am helping out create a media wall from spare computers/screens for a local university to use processing.org/java to distribute renders across several machines. However, it's still buggy and I need to restart the clients occasionally.
I'm currently having trouble figuring out how to re-launch the client java app remotely from the server. Note: the clients are connected directly to dual screens - rather than rendering headless
I have recreated a similar environment on AWS/EC2 where I can get the client-server model to work, but just can't start the gui client remotely. I keep getting:
Can't open Display.
Currently I use the following from the server:
ssh ubuntu@guiclient1 "export DISPLAY=:0; cd ~/wallclient/; xclock &"
I monitor the same guiclient1 desktop using x2go. I haven't done any specific xauth / xhost configuration - as haven't seen any issues related to this yet.
What should I be configuring differently? I haven't found much help online - I don't want to do port forwarding back to server, which is what most questions answer.