LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-16-2005, 10:13 PM   #1
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
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

Last edited by jonaskoelker; 08-17-2005 at 06:40 AM.
 
Old 06-17-2005, 09:38 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
Using vnc to connect to that desktop would be my first suggestion.

It needs to be secured via tunnel or ssl
 
Old 06-18-2005, 06:53 AM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Original Poster
Rep: Reputation: 46
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving from Windows to Linux dlublink Linux - Distributions 3 10-04-2005 09:44 AM
Moving Windows to new drive ? DavidTempler General 26 07-29-2005 05:48 AM
Moving windows between two monitors ProtoMan Linux - General 3 12-21-2004 08:29 AM
Moving windows between XServers... smudge Linux - Software 1 07-02-2004 12:35 AM
Moving files to Windows partition... frkstein Linux - General 6 08-11-2002 01:01 AM


All times are GMT -5. The time now is 01:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration