1c99c [Solved] vncserver cannot init font path element /usr/local/lib/X11/fonts/Speedo/ - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > X.Org

X.Org X.Org on FreeBSD installation & configuration.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old October 5th, 2009, 21:20
aurora72 aurora72 is offline
Member
 
Join Date: May 2009
Location: Türkiye
Posts: 231
Thanks: 9
Thanked 1 Time in 1 Post
Default vncserver cannot init font path element /usr/local/lib/X11/fonts/Speedo/

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:
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.
__________________
FreeBSD 7.4 on PII 400 Mhz 100 Mhz FSB, 512MB PC100 SDRAM, 80GB HDD, 100Mb Ethernet, PCI Wireless.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/local/lib/libX11.so: undefined reference to `shmctl@FBSD_1.1' osx-addict Installation and Maintenance of FreeBSD Ports or Packages 2 November 9th, 2009 11:58
/etc/rc.d/ versus /usr/local/etc/rc.d/ rambetter General 9 August 25th, 2009 19:40
ldconfig will not link /usr/local/lib DarkenedReality General 21 August 19th, 2009 08:54
visudo: /usr/local/etc/sudoers busy, try again later MarS Installation and Maintenance of FreeBSD Ports or Packages 10 January 23rd, 2009 22:12
default local fonts Slesarev GNOME 18 December 12th, 2008 23:40


All times are GMT +1. The time now is 23:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0