![](https://seccdn.libravatar.org/avatar/98b4308dea1244ecdc466d868352a98f.jpg?s=120&d=mm&r=g)
Eric Carbone writes:
Chad's suggestion:
on your local machine type xhost +10.XXX.XXX.XXX (or whatever the REMOTE ip address is that you are ssh'ing to)
then ssh -l <username> -X 10.XXX.XXX.XXX once logged in, do export DISPLAY=YYY.YYY.YYY.YYY:0 where YYY..... is the ip of your local machine (the one you sshed from)
now starting an x app from the ssh session will display it on your local machine (assuming no firewalls are blocking access to port 6000 on either end)
this is not quite what I wanted to do. I wanted the x app to display on the REMOTE machine's display. Chad's instructions caused the x app to display on the LOCAL machine's display. So, instead of using export DISPLAY=YYY.YYY.YYY.YYY:0 (where YYY..... is the ip of my local machine), I typed export DISPLAY=XXX.XXX.XXX.XXX:0 (where XXX..... is the ip of the REMOTE machine).
I look across the room and lo and behold, the app is starting up. Exactly what I was trying to accomplish. Thanks Chad (and everyone else) for your help.
I have one small problem though ... if I close the Konsole window on my local machine, I see my app shuts down on my REMOTE machine!
... boy ... if someone can just port over pcAnywhere to linux, that would make me very happy ... ;-p
With X apps it is possible to use the -display <display name> parameter. For example: localhost> xclock -display remotemachine:0 If I run this locally, it will display on remotemachine provided I have permission. You can have fun at work with xbanner or xsnow.