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.

link|improve this question

62% accept rate
feedback

1 Answer

up vote 2 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.
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.