Bug 217336

Summary: vnc textmode only install fails in second stage
Product: [openSUSE] openSUSE 10.2 Reporter: Olaf Hering <ohering>
Component: InstallationAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High CC: sndirsch
Version: Beta 1 plus   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: rpm-qa.txt
dead-Xvnc.txt

Description Olaf Hering 2006-11-02 12:48:26 UTC
a vnc install with minimal.sel is supposed to work.
Its almost perfect with 10.2b1+, but Xvnc can start because it misses some fonts. Current Xorg is very picky:

checkerberry:~ # o /var/log/YaST2/vncserver.log 

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


Thu Nov  2 12:41:43 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
error opening security policy file /usr/lib/xserver/SecurityPolicy
Could not init font path element /usr/share/fonts/misc/, removing from list!
Could not init font path element /usr/share/fonts/truetype/, removing from list!

Fatal server error:
could not open default font 'fixed'
checkerberry:~ # 

either one more package has to be added to the hardcoded list in Packages.ycp, or xorg has to pull in the required package via Requires:
This may also fix the similar bug #216079

I currently do not know what package is actually missing.
Comment 1 Olaf Hering 2006-11-02 12:49:42 UTC
Created attachment 103505 [details]
rpm-qa.txt

list of installed packages after selecting minimal.sel
Comment 2 Olaf Hering 2006-11-02 12:59:44 UTC
I ran yast -i xorg-x11-fonts because  thats what contains /usr/share/fonts/misc.
it installed 4 more packages:
xorg-x11-fonts-7.2-4
xorg-x11-fonts-core-7.2-4
ft2demos-2.2.1.20061027-2
fonts-config-20061025-2

I'm not sure if xorg-x11-fonts should go into some Requires or if it should just go into Packages.ycp
Comment 3 Olaf Hering 2006-11-02 13:06:33 UTC
Xvnc itself seems to be happy with xorg-x11-fonts-core itself.

xorg-x11-server has xorg-x11-fonts-core in Requires.
But xorg-x11-Xvnc does not have this Requires.
Comment 4 Olaf Hering 2006-11-02 13:30:03 UTC
Created attachment 103512 [details]
dead-Xvnc.txt

its a missing SuSEconfig run.

I bet something is skipped due to YAST_IS_RUNNING=instsys
Comment 5 Olaf Hering 2006-11-02 14:31:52 UTC
yes, it is the missing or incomplete SuSEconfig run plus the lack of xorg-x11-fonts-core.
Comment 6 Stefan Dirsch 2006-11-02 16:42:58 UTC
Ok. I'll add a Requires to xorg-x11-fonts to xorg-x11-Xvnc package.
Comment 7 Stefan Dirsch 2006-11-02 17:02:10 UTC
fixed Factory/STABLE and for openSUSE 10.2 Beta2.