Nick's posterous http://nicktj.posterous.com Most recent posts at Nick's posterous posterous.com Mon, 06 Feb 2012 12:30:00 -0800 Share a single X window with someone over VNC http://nicktj.posterous.com/share-a-single-x-window-with-someone-over-vnc http://nicktj.posterous.com/share-a-single-x-window-with-someone-over-vnc

I recently found a need to share an NX session open on my desktop with someone else remotely in Linux.  Sure, I could have setup a VNC sharing my entire X desktop,but I didn't see the need to send 3840x1080 over the WAN for a smaller section of interesting data.

This slick little trick comes compliments of a StackExchange based website, Super User:

 

x11vnc supports sharing a window based on it's 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.

 

Permalink | Leave a comment  »

]]>
http://posterous.com/images/profile/missing-user-75.png http://posterous.com/users/heOPIhURBYqT0 Nick Jones nicktj Nick Jones