Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Scenario:

Linux mint is running on a machine at my home. I have some gui applications open on it.

I'm away from home but want to get at the open applications. I have cygwin/x and I know how to ssh -X homecomputer, and I could run gui applications from there, but I want to get at the windows that are already open on the local display.

Is there a way to attach to the existing x session on linux without using extra software like VNC?

Thanks!

share|improve this question
    
just curious, do you have a static IP for your home connection, which enables you to do this? i don't think i can see my home computer from the outside –  amphibient Nov 9 '12 at 16:53
    
@foampile - My machine is always on so the IP address stays the same for the most part, and I set up port forwarding on my router so I can get into it. –  Matthew Nov 9 '12 at 17:03
1  
@foampile Look into dyndns.com (ignore the paid 'products' and just register an account at 'Sign In'). With that you can keep the same (free) DNS name even when your IP changes. Many routers support it, and if they don't I'm sure there's something you can have you machine do. –  ams Nov 9 '12 at 17:25
add comment

2 Answers 2

This is similar to, though not an exact duplicate of, question 11623. Moving applications between X displays is possible; have a look at xmove, guievict, or xpra.

share|improve this answer
add comment

You can run both a VNC server and VNC viewer on the home computer, X-forwarding the VNC viewer through the SSH connection. It's VNC, but you don't need any additional software on the Cygwin/X side and everything is still secured over SSH:

cygwin$ ssh -X home
home$ x11vnc -display :0 &
home$ xtightvncviewer localhost:0
share|improve this answer
    
though that will work, it will much more usable if you run the vnc client on the other computer, using ssh port-forwarding for the vnc port. (see also vino as an alternative to x11vnc which might even be enabled by default on mint). –  Stéphane Chazelas Nov 9 '12 at 20:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.