[LUGSB] Changing Display of Running App
mad about you
madaboutyou at gmail.com
Sat May 21 02:47:59 EDT 2005
Try xmove -- it can do most of what you'd like it to.
xmove acts as a Xserver to the programs you run with its display, and
as an X program to the display you forward its output to. It can
switch around from one to another fairly well (with some minor
limitations, such as font transfers between X servers, and tray
applets).
I had some problems with an early version of it, but based on your
question I decided to explore again and have been using it with no
problems for the past few days.
What I generally found myself doing, though, when I spent more time
away from my local machine, was simply keeping a tightvncserver
running with whatever I wanted to keep open, and connecting to it
through SSH wherever I went, including when I *was* at my local
machine.
A particularly handy trick I put together was a web page on my server
with 3 frames: 1, download tight vncviewer.exe 2, download
sparky.ssh2, a saved session file for the SecureSSH Shell or whatever
program it is they're using for SSH in the school labs, that included
my color preferences of white on black, and port forwarding to my home
machine for SSH only 3, port forwarding through the forwarded SSH for
VNC.
Made a few visits to www.hopto.org, and voila! blah.hopto.org opens a
web page, three confirm messages pop up and when the appropriate three
clicks are made, I type in localhost:3 and a few passwords to get to
my portable desktop, which always contained GAIM, email, and a
browser. Plus I'd have two handy shells which often I appreciated
being separately available. YMMV.
On 5/15/05, Aaron Pellman-Isaacs <lightningskull at hotmail.com> wrote:
> I've been trying to figure out how to do this for a while and was wondering
> if anyone knew.
> Basically, I want to know how (or if its even possible, though I'm thinking
> it is) to change the X display of a running application. A couple
> possibilities I was thinking for it:
>
> 1)running ssh with X forewarding on and wanting to keep an application
> running after shutting down tghe connection (i.e. by shifting it to the
> local X session on the machine its running on).
>
> 2)seeing the gui of a specific app using ssh with X forwarding enabled and
> then shifting the gui back to its normal X display before closing the ssh
> connection.
>
> 3)With a vnc server, keeping an app open after closing the vnc instance by
> shifting the app off the vnc desktop to a local X session.
>
> 4)with more than one X session running locally, shifting apps between them.
>
> etc, anyways, anyone know how to do this? I was thinking it might be hard to
> do because in most cases that I mentioned it involves different login
> sessions, but still, perhaps it's possible.
> thanks,
> Aaron
>
>
> _______________________________________________
> lugsb mailing list
> lugsb at mail.fsl.cs.sunysb.edu
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb
>
More information about the lugsb
mailing list