Since the ssh shell is running on the remote machine, change the DISPLAY variable to simply ":0.0". I think that will work. I'm not at home now and can't test this out, but I was able to verify that DISPLAY=<my ip address>:0.0 wouldn't work. Bear in mind that I am assuming that the remote machine is already running X.
If using DISPLAY=":0.0" doesn't work, then you may need to use the "xauth" program.
|