Hello,
I've installed vnc-4.1.3_1 with the make config option of vnc server selected so it downloaded additional files named x430src-1.tgz (10MB)
x430src-2.tgz (7775kB)
x430src-3.tgz (11MB)
and successfully compiled into the executable vncserver.
After my first try, vncserver did not work and the log file read:
After this error, a friend in this forum suggested that I check the existence of the file /usr/local/lib/X11/xserver/SecurityPolicy , so I checked it and it wasn't available in that path but in:
/usr/ports/net/vnc/work/vnc-4_1_3-unixsrc/unix/xc/programs/Xserver/Xext/SecurityPolicy
Then I've copied the SecurityPolicy from this location to
/usr/local/lib/X11/xserver/SecurityPolicy, and
part of the error log is gone.
It seems that the problem is basically about the path & existence of the files so I searched for the next missing file, namely the rgb and installed the rgb :
and the rgb part of the error is gone.
Now I'm left only with this error:
At this site it is reported that adding /usr/X11/bin to PATH eliminated that kind of problem. I've added "/usr/X11R6/bin" to the PATH variable at /.profile as there was no /usr/X11/bin in my FreeBSD 7.2.
So the resulting PATH is:
But, still the # vncserver results in the same error I've given above. What should I do now?
Thanks.
I've installed vnc-4.1.3_1 with the make config option of vnc server selected so it downloaded additional files named x430src-1.tgz (10MB)
x430src-2.tgz (7775kB)
x430src-3.tgz (11MB)
and successfully compiled into the executable vncserver.
After my first try, vncserver did not work and the log file read:
Code:
IBM# cat /root/.vnc/IBM.HOME.COM:3.log
Couldn't open RGB_DB '/usr/local/lib/X11/rgb'
Xvnc Free Edition 4.1.3 - built Oct 5 2009 02:38:39
Copyright (C) 2002-2008 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc
Mon Oct 5 03:45:00 2009
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5903
vncext: Listening for HTTP connections on port 5803
vncext: created VNC server for screen 0
error opening security policy file /usr/local/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/local/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/local/lib/X11/fonts/CID/, removing from list!
xsetroot: unknown color "grey"
Xlib: extension "Generic Event Extension" missing on display ":3.0".
Xlib: extension "Generic Event Extension" missing on display ":3.0".
twm: invalid color name "black"
twm: invalid color name "white"
twm: invalid color name "slategrey"
twm: invalid color name "gray85"
twm: invalid color name "gray85"
twm: invalid color name "gray85"
twm: invalid color name "slategrey"
twm: invalid color name "gray70"
twm: invalid color name "gray85"
twm: invalid color name "gray85"
twm: invalid color name "gray85"
After this error, a friend in this forum suggested that I check the existence of the file /usr/local/lib/X11/xserver/SecurityPolicy , so I checked it and it wasn't available in that path but in:
/usr/ports/net/vnc/work/vnc-4_1_3-unixsrc/unix/xc/programs/Xserver/Xext/SecurityPolicy
Then I've copied the SecurityPolicy from this location to
/usr/local/lib/X11/xserver/SecurityPolicy, and
Code:
error opening security policy file /usr/local/lib/X11/xserver/SecurityPolicy
part of the error log is gone.
It seems that the problem is basically about the path & existence of the files so I searched for the next missing file, namely the rgb and installed the rgb :
Code:
cd /usr/ports/x11/rgb & make install clean
and the rgb part of the error is gone.
Now I'm left only with this error:
Code:
IBM# cat /root/.vnc/IBM.HOME.COM:2.log
Xvnc Free Edition 4.1.3 - built Oct 5 2009 02:38:39
Copyright (C) 2002-2008 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc
Mon Oct 5 16:32:33 2009
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5902
vncext: Listening for HTTP connections on port 5802
vncext: created VNC server for screen 0
Could not init font path element /usr/local/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/local/lib/X11/fonts/CID/, removing from list!
Xlib: extension "Generic Event Extension" missing on display ":2.0".
Xlib: extension "Generic Event Extension" missing on display ":2.0".
At this site it is reported that adding /usr/X11/bin to PATH eliminated that kind of problem. I've added "/usr/X11R6/bin" to the PATH variable at /.profile as there was no /usr/X11/bin in my FreeBSD 7.2.
So the resulting PATH is:
Code:
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:~/bin:/usr/X11R6/bin
But, still the # vncserver results in the same error I've given above. What should I do now?
Thanks.