View | Details | Raw Unified
Collapse All | Expand All

(-) vncserver (-1 / +11 lines)
 Lines 41-47    Link Here 
# $fontPath = "unix/:7100";
# $fontPath = "unix/:7100";
# Here is another example of setting the font path:
# Here is another example of setting the font path:
$fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
open(XFC, "/etc/X11/XF86Config");
while (<XFC>) {
	if (/^[ \t]+FontPath[\t ]+\"(.*)\"/) {
		if ($fontPath) {
			$fontPath="$fontPath,$1";
		} else {
			$fontPath="$1";
		}
	}
}
close XFC;
# X colors database path is optional, uncomment and edit to use:
# X colors database path is optional, uncomment and edit to use:
# $colorPath = "/usr/lib/X11/rgb";
# $colorPath = "/usr/lib/X11/rgb";