RealVNC 4.0, vnc.so, and two displays / Xinerama on :0

Jason Boxman jasonb "at" edseek.com
Sun Oct 31 04:46:01 2004


Is it possible for me to view my full X desktop, both displays, under VNC 4 
with the vnc.so extension?

I have two Screen sections and use Xinerama such that I have one large 
desktop, 1152x864*2.  When I connect to :0 on my Debian GNU/Linux desktop 
with Real VNC Viewer installed on a Windows 2000 box, I am presented with 
Screen 1 only.  Coincidently, I can only specify 'Option "SecurityTypes" 
"None"' under "Screen 1" in XF86Config-4.  If I specify it under "Screen 2" 
it seems to be ignored entirely.

I was expecting something similar to what happens when I run x11vnc, which 
presents to me the whole desktop when I connect with Real VNC Viewer, but 
without the unfortunate CPU pegging I get when I use x11vnc.

My ServerLayout with two monitors and Xinerama enabled:

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Screen 1"
        Screen          "Screen 2" LeftOf "Screen 1"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Generic Mouse"
EndSection

Section "ServerFlags"
        Option "Xinerama" "true"
EndSection

Successful module loading:

(II) LoadModule: "vnc"
(II) Loading /usr/X11R6/lib/modules/extensions/vnc.so
(II) Module vnc: vendor="RealVNC Ltd"
        compiled for 4.2.0, module version = 1.0.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension VNC

Suggestions appreciated.

Thanks.

-- 

Jason Boxman
Perl Programmer / *NIX Systems Administrator
Shimberg Center for Affordable Housing | University of Florida
http://edseek.com/ - Linux and FOSS stuff