Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I'm using Cygwin to login to my lubuntu box:

ssh -y *user*@

I can easily use byobu to redeem my cli session. Is there a way to move a running window from display :0.0 to my remote session (:10.0)?

I ask because my lubuntu box is hooked to the HDTV in the living room, and I give my kids priority to do their educational stuff on the big screen. I then (try to) pick up where I left off on a netbook Cygwin session. Usually I have to quit everything and restart on the netbook.

share|improve this question
Move? I'm not sure, but if you want to run a new application, run it like this: DISPLAY=:10 foo – MiJyn Nov 14 '12 at 19:21
Thanks, @lkjoel. I had been trusting applications to be GTK aware and ran them like this: foo -display :10.0. – fabyouless Nov 16 '12 at 16:02
up vote 2 down vote accepted

No, there's no way to attach a running application to another X display. The X protocol mandates that clients exit when they lose connection to the X server.

share|improve this answer
Thank you, @Dennis. I will remember this. Perhaps I will find a way to restart a client on a different X display. – fabyouless Nov 16 '12 at 16:05

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.