[vnc on aix]: vnc fails to start on adding more font directories

saurabh gupta sguptak "at" gmail.com
Fri Aug 24 15:17:01 2007


Hi,

While trying to run an app i got the error:
unable to convert string..........isoxxx font to FontStruct...
unable to load usable fonts..
googling indicated on aix there are subdirs in the default font path and
these perhaps needs to be added
to the path
so i added the path in the vncserver script but it fails to start:

failed to set default font path
'/usr/lib/X11/fonts,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/TrueType'
Fatal server error:
could not open default font 'fixed'

with:

# Add font path and color database stuff here, e.g.:
#
# $cmd .= " -fp unix/:7100";
$cmd .= " -fp
/usr/lib/X11/fonts,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
# $cmd .= " -co /usr/lib/X11/rgb";
#
it works fine

how to resolve this?
any pointer would be highly helpful

thanks and regards

Saurabh