Does the Clipboard/Selection get transferred between the vncviewer and the X display?
As of Jan/2004 x11vnc supports the “CutText” part of the RFB (aka VNC) protocol. When text is selected/copied in the X session that x11vnc is polling it will be sent to connected VNC viewers. And when CutText is received from a VNC viewer then x11vnc will set the X11 selections PRIMARY, CLIPBOARD, and CUTBUFFER0 to it. x11vnc is able to hold the PRIMARY and CLIPBOARD selections (Xvnc does not seem to do this.) The X11 selections can be confusing, especially to those coming from Windows or MacOSX where there is just a single ‘Clipboard’. The X11 CLIPBOARD selection is a lot like that of Windows and MacOSX, e.g. highlighted text is sent to the clipboard when the user activates “Edit -> Copy” or presses “Control+C” (and pasting it via “Edit -> Paste” or “Control+V”.) The X11 PRIMARY selection has been described as ‘for power users’ or ‘an Easter Egg’. As soon as text is highlighted it is set to the PRIMARY selection and so it is immediately ready for pasting, usually via the Middle Mouse
As of Jan/2004 x11vnc supports the “CutText” part of the rfb protocol. Furthermore, x11vnc is able to hold the PRIMARY and CLIPBOARD selection (Xvnc does not seem to do this.) If you don’t want the Clipboard/Selection exchanged use the -nosel option. If you don’t want the PRIMARY selection to be polled for changes use the -noprimary option. (with a similar thing for CLIPBOARD.) You can also fine-tune it a bit with the -seldir dir option and also -input. You may need to watch out for desktop utilities such as KDE’s “Klipper” that do odd things with the selection, clipboard, and cutbuffers.