Re: anyone gotten vnc 4.0 to compile yet?

2004-10-22 Thread Edmonds, Alan

I got it to compile by placing

#include sys/types.h

in vncsrc/xc/programs/Xserver/vnc/XserverDesktop.h on line 34 (just after the 
#include os.h)

I built this against the X430src- tree on FreeBSD 4.7.  I then copied the vnc.so 
module 
to a FreeBSD 4.10-STABLE box running Xorg 6.7.  The 4.10 box is running with i810 
drivers.
I also tried the module on a 5-latest laptop with DRM enabled and ATI Radeon drivers.  
When
I connected, the laptop screen started flickering and the laptop locked up hard.  
Power cycle
to recover.  I haven't tried it with the DRM disabled.

I modified the XF86Config file as per the instructions on RealVNC's page: 
http://www.realvnc.com/v4/x0.html

If your native X server is an XFree86 version 4 server, then the vnc.so module should 
be copied to the /usr/X11R6/lib/modules/extensions directory. It can be enabled like 
any other module by adding a Load vnc line to the Module section of XF86Config. The 
parameters listed in the Xvnc manual page can be set as options in XF86Config. You 
will need to set either the passwordFile parameter or set the securityTypes 
parameter to None if you really don't want any authentication. Note that options 
cannot be set in the Module section of XF86Config - try the Screen section. For 
example: 

Section Module
...
Load vnc
EndSection
...
Section Screen
...
Option passwordFile /root/.vnc/passwd
EndSection



-- 
Alan Edmonds
+44 20 8762 5195 Office
+44 7950 203 918 Mobile
Infrastructure Specialist
T-Mobile International

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


anyone gotten vnc 4.0 to compile yet?

2004-08-28 Thread Jason
im getting the following error.

making all in programs/Xserver/vnc...
rm -f vncExtInit.o
LD_LIBRARY_PATH=../../../exports/lib c++ -c -O2   -I../include 
-I../../../include/extensions -I.. 
/../../exports/include/X11 -I../../../include/fonts -I../mfb -I../mi 
-I../../../. 
. -I../../../../vncconfig -I../../.. -I../../../exports/include  -DCSRG_BASED   
-DCSRG_BASED -DSH 
APE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT 
-DDPMSExtension   -DPAN 
ORAMIX  -DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA 
-DXvExtension 
 -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension  -DSMART_SCHEDULE 
-DBUILDDEBUG -D 
X_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DGC_HAS_COMPOSITE_CLIP -UXFree86LOADER   
vncExtInit.cc
In file included from vncExtInit.cc:51:
XserverDesktop.h:64: `fd_set' was not declared in this scope
XserverDesktop.h:64: `fds' was not declared in this scope
XserverDesktop.h:64: variable or field `blockHandler' declared void
XserverDesktop.h:65: `fd_set' was not declared in this scope
XserverDesktop.h:65: `fds' was not declared in this scope
XserverDesktop.h:65: syntax error before `)'
XserverDesktop.h:65: variable or field `wakeupHandler' declared void
XserverDesktop.h:65: ANSI C++ forbids initialization of member `wakeupHandler'
XserverDesktop.h:65: making `wakeupHandler' static
XserverDesktop.h:65: ANSI C++ forbids in-class initialization of non-const static 
member `wakeupH 
andler'
vncExtInit.cc: In function `void vncBlockHandler(void *, timeval **, void *)':
vncExtInit.cc:219: `fd_set' undeclared (first use this function)
vncExtInit.cc:219: (Each undeclared identifier is reported only once
vncExtInit.cc:219: for each function it appears in.)
vncExtInit.cc:219: `fds' undeclared (first use this function)
vncExtInit.cc:219: syntax error before `)'
vncExtInit.cc: In function `void vncWakeupHandler(void *, int, void *)':
vncExtInit.cc:251: syntax error before `)'
*** Error code 1

Stop in /usr/home/jason/temp/vnc-4.0-unixsrc/xc/programs/Xserver/vnc.
*** Error code 1

Stop in /usr/home/jason/temp/vnc-4.0-unixsrc/xc/programs/Xserver.
[EMAIL PROTECTED] Xserver $ 

Jason
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]