Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can't I forward a program window from my laptop to my desktop securely, both running Linux?

How to ssh -X an existing window program just like the 'screen' program does?

This question came up with my friends when watching an episode of 24! "Almeida send me your screen"

share|improve this question
I didn't see the episode, but might just a picture of the screen been forwarded? i.e. ssh -X you@desktop xwd -root >~/screen.xwd? – DaveParillo Jul 30 '10 at 22:41
@DaveParillo: hehe, nice hack. nevertheless a "not so effective" screenshoter (thats why rdp + vnc where developed). – akira Jul 31 '10 at 5:43
Nice hack I agree! – djondal Aug 1 '10 at 2:36
up vote 3 down vote accepted

you can use XVnc and then use any vnc-client to "watch what can be watched on the xvnc server".

share|improve this answer
I think vnc is the way to go. If you wanted to login & run the program yourself, it would be easy to ssh -X & run your program. Not sure there is a secure way to connect to a program that is already running and redirect it's display to you. I would recommend tightVNC over xvnc, however: – DaveParillo Jul 30 '10 at 22:39
secure: tunnel vnc through ssh. tightvnc is windows only, iirc. – akira Jul 31 '10 at 5:45
Why this functionnality is not developed yet? Technically difficult to implement ? Or the need for that is not there? I reward you with the reponse accepted because it seems that there is no alternative besides vnc. – djondal Aug 1 '10 at 2:41

Your Answer


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.