vncserver startup fails on "default font 'fixed'"
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'
Edieren von /etc/vnc.conf hilft
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
Oh sorry, Now in english:
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
Font fixed... libstdc++-libc6.1-1.so.2 problem
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.
Tips for solving lib problems
On my system the correct libs are installed, but witches and wizards are everywhere...
If you don't want to reinstall, try this:
Code:
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.
Code:
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