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 it possible to have VNC running on ubuntu to share just 1 application running on the desktop instead of the whole desktop?

Thank you.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Yes. x11vnc (available in Ubuntu's repositories somewhere) has a command line option (-id) which allows you to only share one window. Note that the window will appear without decorations, and resizing the windows may cause issues. You can use the xwininfo to find the window id. Basic steps:

  1. Run xwininfo from a console. It will change your cursor. Click on the window you want to share. xwininfo will print out the window id.
  2. Run x11vnc -id "id from xwininfo" replacing "id from xwininfo" with the appropriate id.
share|improve this answer

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.