How to hijack an already running X11 application via ssh -X?

Dear Lazyweb,

I have always wondered whether it is possible to "hijack" an already running X11 application on a remote server...

Say I have a box at home which has a running X11 server with many applications, e.g. Firefox, xchat, xmms, whatever. Now, say I'm somewhere else with my laptop and login with "ssh -X" into my home box. I can now start X11 applications and they will be shown on my laptop screen. So far so good.

But... how can I get one of the applications that were already running before I logged in from remote to be displayed on my laptop screen? Is it possible? How?

Just curious.

Syndicate content