Bug 203531

Summary: could not open default font 'fixed'
Product: [openSUSE] openSUSE 10.2 Reporter: Andreas Schwab <schwab>
Component: YaST2Assignee: Marcus Schaefer <ms>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: locilka, ms
Version: Alpha 3 plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Schwab 2006-09-04 09:57:59 UTC
# cat /var/log/YaST2/vncserver.log 
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/10.10.3.150:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 70100000, The X.Org Foundation


Mon Sep  4 09:46:53 2006
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      Listening for HTTP connections on port 5801
 vncext:      created VNC server for screen 0
Could not init font path element /usr/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/lib/X11/fonts/uni/, removing from list!
Could not init font path element /usr/lib/X11/fonts/truetype/, removing from list!

Fatal server error:
could not open default font 'fixed'
# ll /usr/lib/X11/
total 1
drwxr-xr-x 1 root root 24 Jan  1  1970 fvwm2
Comment 1 Steffen Winterfeldt 2006-09-04 10:15:15 UTC
already fixed
Comment 2 Andreas Schwab 2006-09-04 11:16:48 UTC
No, it isn't.
Comment 3 Steffen Winterfeldt 2006-09-04 11:26:42 UTC
.
Comment 4 Andreas Schwab 2006-09-04 11:38:23 UTC
.
Comment 5 Lukas Ocilka 2006-09-04 11:50:35 UTC
Stefan, VNC in installation seems to be broken. Could you, please, take care of fixing it?
Comment 6 Stefan Dirsch 2006-09-04 12:30:42 UTC
I wonder if YaST2 specifies a wrong font path for Xvnc.

# Xvnc :1
Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 70100000, The X.Org Foundation


Mon Sep  4 14:28:59 2006
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      created VNC server for screen 0
Could not init font path element /usr/share/fonts/TTF/, removing from list!
Could not init font path element /usr/share/fonts/OTF, removing from list!
FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.
Comment 7 Lukas Ocilka 2006-09-04 13:26:55 UTC
Marcus: please, fix font paths if there are wrong or make it "duplicate" if already fixed.

Jsrain: Have a look please, if font paths are set correctly (XVersion?).

...or write who's responsible for this... thanks
Comment 8 Marcus Schaefer 2006-09-04 13:53:14 UTC
I think this was fixed in a wrong way during my vacation. I assume the variable
Xfontdir should be used here not Xlibdir. I changed the Xvnc call like
the following patch shows:

Index: startup/common/vnc.sh
===================================================================
--- startup/common/vnc.sh       (revision 32684)
+++ startup/common/vnc.sh       (working copy)
@@ -84,7 +84,7 @@
                -httpd /usr/share/vnc/classes \
                -rfbport 5901 \
                -httpport 5801 \
-               -fp $Xlibdir/X11/fonts/misc/,$Xlibdir/X11/fonts/uni/,$Xlibdir/X11/fonts/truetype/ \
+               -fp $Xfontdir/misc/,$Xfontdir/uni/,$Xfontdir/truetype/ \
        &> /var/log/YaST2/vncserver.log &
        xserver_pid=$!
        export DISPLAY=:0
 
Comment 9 Lukas Ocilka 2006-09-04 13:54:59 UTC
thanks
Comment 10 Marcus Schaefer 2006-09-04 14:15:56 UTC
Hui, you are really fast... "already checked in"