LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   moving windows from one X to another. (https://www.linuxquestions.org/questions/linux-software-2/moving-windows-from-one-x-to-another-334421/)

jonaskoelker 06-16-2005 10:13 PM

moving windows from one X to another.
 

STATUS: solved
DavidPhillips suggested a solution that did exactly what I wanted (in post #2). Thanks.


Hi.

I was wondering if it's possible to move windows from one X server to another.

The specific use case I have in mind is this:
1) I start up xfoo on my home box (which runs `origx').
2) I ssh to my home box w. X-forwarding.
3) I temporarily move xfoo to the ssh X server (`sshx'), allowing me to see and interact with it--for all practical purposes make it appear as if it was ran on sshx in the first place.
4) I log off, and xfoo moves back to origx.

Is there any program that does this?
Would it be feasible to write one?

My first idea to do so would be to instruct origx to act as a relay wrt. to the given pids (and it would of course need to know how to talk to sshx).

My second idea would be to fudge with the sockets of xfoo (i.e. tell the kernel to replace socket y with socket z). But I feel that's bound to shoot me in the foot.

Any thoughts? Clueful insights are preferred, but I'll take anything :)

--
Jonas Kölker

DavidPhillips 06-17-2005 09:38 PM

Using vnc to connect to that desktop would be my first suggestion.

It needs to be secured via tunnel or ssl

jonaskoelker 06-18-2005 06:53 AM

Quote:

Using vnc to connect to that desktop would be my first suggestion.
Having looked at the various vnc packages in the repositories, that looks *exactly* like what I wanted.

Thanks a lot.

--Jonas


All times are GMT -5. The time now is 08:36 PM.