Super User is a question and answer site for computer enthusiasts and power users. 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

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .