These two were no the case for the event I needed to share my screen for :). Ideally I needed GoToMeeting and made it to share my screen! This instructions should work with most (if not any) of available screensharing solution for Windows.
Prerequisites:
In parenthesis I referred to software I was using.- Windows running on either virtual machine (even non-virtual would work if you have spare one) (Windows XP on VirtualBox)
- VNC server running on your Linux desktop (x11vnc)
- VNC client on your Windows PC (TightVNC)
Basic idea:
You should have guessed what I'm going to do next :) I explain if not. You share the screen of you Windows PC with screensharing tool of your choice. But what the screen will display is fullscreen VNC client connected to your Linux desktop. I suppose there might be some video issues with the way how VNC client draws the picture and the way screensharing tool captures the screen, that's why I mentioned what software I was using.Setup:
For sharing my desktop on Linux I ran x11vnc like that:$ x11vnc -display :0 -auth ~/.Xauthority -forever -nap -noxdamage
$ startx -- :1
Variations:
- On dual-screen setup you could share only one screen with
$ x11vnc -display :0 -auth ~/.Xauthority -forever -nap -noxdamage -clip 1680x1050+0+0
and thus you may try to avoid switching between different XServer by running VirtualBox instance on second screen. - Gnome users may use vino instead of x11vnc, though I haven't tried this.