4
If I ssh into a machine, I can run graphical applications if I enable X11 forwarding - I run gedit
from the command line, and gedit pops up as a window. My question is this: Is there a way to make a window pop up for applications that are already running?
Example: Suppose I have two machines, A and B. I open gedit on A, and type some text
and leave. Then I ssh into A from B. If I run gedit
I'll just spawn another process. Can I access the gedit process that's already running (with some text
)? Or is this a job for vnc?
The problem is that once applications have opened a connection to anX server, you can't redirect that connection. So you have to introduce a means of redirection beforehand, e.g. with
xpra
, see answer below. – dirkt – 2017-11-01T22:24:17.713