This is what I have in mind.

- Consider display :0 on machine 1 (m1) and display :0 on machine 2 (m2).
- Let us say, a process 'p1' running under privileges of user 'u' opens a 
window on :0 of m1.
- I do an 'ssh -X [EMAIL PROTECTED]' in xterm on :0 of m2 and login to m1.
- Now, from that xterm window, is there any way by which I can make that window 
of process 'p1' appear on :0 of m2.

This kind of situation regularly occurs to me and some of my friends. We have 
multiple terminals at our disposal. On one terminal, I start some xterm which 
is, let us say, showing output of some process. I go to some other department 
in the institute and do an ssh to that terminal. Now, I have no way of seeing 
what is going on in that xterm. Well, this is a simple example, of course. 

Another example (though childish). Consider a case where I have a browser 
window with many tabs open in it, the window being displayed on :0 of m1. I 
would like to export it to :0 of m2 when I go and sit in front of m2. Before 
closing ssh on m2, I re-export the window back to :0 of m1 and then quit the 
ssh. Such a feature would be really great to have. Since, any way, currently 
the only dependency on the remote machine is that it should have an X server 
running, I believe this feature should be implementable if not already present.

With Regards,
Prasad H. L.

--- On Sat, 10/11/08, Pat Kane <[EMAIL PROTECTED]> wrote:
> Prasad,
> 
> Your question is very interesting, could you draw a picture
> for me  of what you want to do?
> 
> Pat
> ---
> 
> 
> On Fri, Oct 10, 2008 at 11:50 PM, Prasad H.L.
> <[EMAIL PROTECTED]> wrote:
> > I am active user of X.org and I admire the power and
> features that X.org
> > provides to the users. I regularly use exported
> display over an ssh session and operate. I commend the
> developers for such a wonder piece of software. However, I
> would like to know one thing as described below.
> >
> > Consider a case where a window has been opened on the
> local terminal with some user id. After performing a remote
> login to and exporting the display to that machine using the
> same user id, is there any way by which the display of that
> opened window can be transferred to the remote exported
> display and vice versa? If not possible, then please
> consider this as a feature request.
> >
> > With Regards,
> > Prasad H. L.
> >
> > ---
> > Prasad H. L.
> > PhD Student (with Dr. Shalabh Bhatnagar),
> > Department of Computer Science and Automation,
> > Indian Institute of Science,
> > Bangalore - 560012
> >
> >
> >
> > _______________________________________________
> > xorg mailing list
> > xorg@lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/xorg
> >


      
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to