Subject: net/vnc on NetBSD with /usr/pkg/xorg instead of /usr/X11R6
To: None <pkgsrc-users@netbsd.org>
From: Lars Nordlund <lars.nordlund@hem.utfors.se>
List: pkgsrc-users
Date: 08/23/2006 19:46:28
Hello

I am running a pure pkgsrc-X.org NetBSD-current with an empty /usr/X11R6
(the directory structure is recreated by build.sh, but nothing is really
installed there). My X installation is in /usr/pkg/xorg.

When trying net/vnc I noticed that /usr/X11R6 is somewhat hardcoded. I
have not yet found a cure for the problem. I tried changing ProjectRoot
in vnc_unixsrc/Xvnc/config/cf/vnc.def and XSERVER_PATH in
vnc_unixsrc/Xvnc/programs/Xserver/os/wrapper.c, but it still fails with
this error:

===> lars@glengoyne:~ %cat .vnc/glengoyne.nordlund:1.log
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
23/08/06 19:42:41 Xvnc version 3.3.3r2
23/08/06 19:42:41 Copyright (C) AT&T Laboratories Cambridge.
23/08/06 19:42:41 All Rights Reserved.
23/08/06 19:42:41 See http://www.uk.research.att.com/vnc for
information on VNC 23/08/06 19:42:41 Desktop name
'X' (glengoyne.nordlund:1) 23/08/06 19:42:41 Protocol version supported
3.3 23/08/06 19:42:41 Listening for VNC connections on TCP port 5901
23/08/06 19:42:41 Listening for HTTP connections on TCP port 5801
23/08/06 19:42:41   URL http://glengoyne.nordlund:5801
Font directory '/usr/X11R6/lib/X11/fonts/misc/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/75dpi/' not found - ignoring

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


No, I will not symlink /usr/X11R6... :-)

Investigation is ongoing..,
	Lars Nordlund