Tarandeep Singh wrote:
I am using Frame class and it can't be run in headless mode.
Suggestion of Brien is useful (running x virtual frame buffer) and I guess I
am going to do the same on my servers but right now I am testing on my
laptop which is running X server.
The problem here is, the test program runs over ssh without any problem but
when I run the map reduce program I keep getting error. Both the standalone
program and MR program are run as the same user.
I followed Todd's suggestion and checked the value of XAUTHORITY environment
variable. It turns out, the value of this variable is not set when I do ssh.
So I am trying to see if I can set its value and if the MR program runs
after that. But if this is the problem then the standalone program should
also not run.
logged in as the user at the console, set all access open:
xhost +
This should stop the xauthority stuff mattering, leaving only the
DISPLAY env variable as the binding issue