That still doesn't work.  Now when I pass no -fp argument to Xvnc, I get:

Could not init font path element built-ins, removing from list!

Fatal server error:
could not open default font 'fixed'

I've also tried passing an argument of "-fp
catalogue:/etc/X11/fontpath.d" to Xvnc, and that gives me the same
result (minus the message about built-ins.)

I guess we're approaching this from two different angles.  I'm trying to
create a version of the TigerVNC server that will run on as many
different platforms as possible.  I think that is Cendio's goal as
well.  So rather than hard-code the font path into Xvnc, I want to be
able to override it at the command line level.  In my opinion, the
behavior of the vncserver script should be:

if (XFS exists && XFS is running) {$fontPath={inet|unix}/:7100;}
else if(font catalogue exists) {$fontPath=catalogue:{catalogue path};}
else {attempt to build font path for this system;}
Attempt to start Xvnc using $fontPath
if(failed) {Attempt to start Xvnc with no -fp argument;}

but, per the above, setting $fontPath to catalogue:/etc/X11/fontpath.d
doesn't seem to work.

Adam Tkac wrote:
> On Thu, Apr 16, 2009 at 06:27:44PM -0500, DRC wrote:
>   
>> I set up a Fedora 11 test VM, and it appears that Xvnc does not use the
>> font catalog on that system.  It instead tries to use the hard coded
>> font path (which is determined by whatever directory you built Xvnc in. 
>> In my case, it's /home/drc/tigervnc/unix/xorg.build/lib/X11/fonts/*). 
>> This of course means that it fails whenever -fp is not specified.
>>
>> I'm not sure why my system is different from yours.  Are you building
>> with the Xorg 1.6 code maybe?  I'm building 1.5.
>>
>> In any case, it seems that passing no -fp argument may not be a good
>> idea as the default.
>>     
>
> I'm using 1.6 codebase but there should be no major differences
> from 1.5. What happens if you try to add those params to Xvnc
> configure?
>
> --with-default-font-path=catalogue:/etc/X11/fontpath.d,built-ins
> --with-fontdir=/usr/share/X11/fonts
>
> Adam
>
>   


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to