vncserver 4.1.1 | Fedora 5 | X11 fonts

Evan Cooch cooch17 "at" verizon.net
Mon Jul 31 16:11:02 2006


James Weatherall wrote:
> Evan,
>
> You just need to start your VNC Server with the appropriate default font
> path configured, to match the one used by your console X server, which is
> probably "unix/:7100" or similar under Fedora Core 5.
>
> Regards,
>
> Wez @ RealVNC Ltd.
>  
>   

Yes, I stumbled on that in the end myself. Basically, to make everything 
play nice

1. in /etc/X11/xorg.conf, make sure you have something like

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
        FontPath     "unix/:7100"
        FontPath     "/usr/share/X11/fonts/misc/"
        FontPath     "/usr/share/X11/fonts/75dpi/"
        FontPath     "/usr/share/X11/fonts/100dpi"
        FontPath     "/usr/share/X11/fonts/Type1"
EndSection

2. in /usr/bin/vncserver, probably should also add

$cmd .= " -fp 
/usr/share/X11/fonts/misc/,/usr/share/X11/fonts/75dpi/,/usr/share/X11/fonts/100dpi/";

in the appropriate place.