> -----Original Message-----
> From: Preetham [mailto:[EMAIL PROTECTED]]
> 
> Hi All:
>  I have a couple of questions regarding the framebuffer.
> 1. VNC uses a virtual framebuffer implementation of the Xserver.
> 2. The rfbScreenInit() method initialises the vfb for the screen
> 3. How can i access the framebuffer from an external client 
> program, must i write an extension.
> Appreciate the help.

I don't know details here but I see 3 routes:

Direct programm access: needs to be compiled with the source. Can result in
a fast system.

Use the rfb port: have your app act like a vncviewer (see the source for
details). If you use this acces, you can have your app running on an other
machine than the vncserver (which might even be a M$Windows pc!). This route
has to handle with the rfb security (which is fairly low)

Use the X11 display port (6000 + display number). Like screen capture apps
(`xv`) which access the screen with the $DISPLAY variable. This has to
handle X11 security (like `xauth` or `xhost`). See the source of the
mentioned programs (use the same libraries!) on how access is done. Major
advantage here: it can be used on any X server!

Is your app already compiled against any other X11server? If it is XFree86
version 4.x, does it work with http://xf4vnc.sourceforge.net/?


CBee
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to