Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to SSH to a machine and forward the X of already running process to my SSH client (as if I launched this process via SSH with X forwarding)?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

No. Not in a standard X server. There are a pile of research projects out there that are trying to accomplish this, but none have produced code that has been incorporated into the x server project.

This is a duplicate question. see: http://superuser.com/questions/1674/detach-and-reattach-xterms-across-x-sessions

share|improve this answer
add comment

Unfortunately, no, it is not possible with the current X.org server (it would have to be something that is supported by the original X server on the remote machine). The problem is that the X server stores a lot of state and there is no way to transfer that state to the new server.

However, if it is possible to setup something like Xpra on the remote machine ahead of time (e.g. set it up to run on login), then it is possible to redirect the clients later.

share|improve this answer
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.