PDA

View Full Version : vncserver startup fails on "default font 'fixed'"



andyed
01-06-2003, 05:21 AM
Any ideas what to do about this?

root@knobox:/usr/X11R6# more /root/.vnc/knobox\:1.log
06/01/03 23:04:07 Xvnc version 3.3.3r2+tight1.2.2
...
06/01/03 23:04:07 Desktop name 'X' (knobox:1)
06/01/03 23:04:07 Protocol version supported 3.3
06/01/03 23:04:07 Listening for VNC connections on TCP port 5901
failed to set default font path '/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11
R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11
/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/1
00dpi,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/PEX,/usr/X11R6/li
b/X11/fonts/cyrillic,/usr/X11R6/lib/X11/fonts/Type1,/usr/share/fonts/ttf/western
,/usr/share/fonts/ttf/decoratives'
Fatal server error:
could not open default font 'fixed'

andyed
01-06-2003, 05:26 AM
BTW, uninstalling and reinstalling vnc doesn't help.

jy-jelly
01-07-2003, 06:06 AM
try apt-get -t unstable install xvnc

hamatoma
01-08-2003, 04:22 PM
als root /etc/vnc.conf edieren:
Zeile mit "# Example $fontPath = "";" suchen
Zeilenwechsel nach Example: einfuegen, dass also die Zeile $fontPath = ""; entsteht.
Kommentar von alle folgenden Zeilen bis zu "...freefont.." (sind 8 oder so) entfernen

Voila!
mfg
Hamatoma

hamatoma
01-08-2003, 04:28 PM
login as root
Edit /etc/vnc.conf.
Search for # Example $fontPath = "";
Insert newline behind "Example:", this makes a new line: $fontPath = ""; Remove comment at all lines until "...freefont.." (these are ca. 8)

Voila!
Best regards
Hamatoma

andyed
01-08-2003, 07:12 PM
Thanks for the font fix. Now I get this error:

Xvnc: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot ope
n shared object file: No such file or directory

I also receive the same error when running the Netscape and Mozilla installers.

hamatoma
01-12-2003, 04:36 AM
On my system the correct libs are installed, but witches and wizards are everywhere...

If you don't want to reinstall, try this:

cd /usr/lib
ls libstdc*so*
Remember the name of the listed file e.g. libstdc++-libc6.2-2.so.3
If no file is listed, you must reinstall, because important files are missing.

ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2
This is a solution if the used subroutines have not changed from version 6.1.1 to 6.2.2.

Good luck! :D
Hamatoma