xvnc depends also on x11/keyboard/data-xkb and x11/keyboard/xkbcomp
on a headless system I installed xvnc but startup of vncserver ends with error:
Could not start Xvnc. Could not setppriv() PRIV_PERMITTED_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-pipe will not be created. Xvnc TigerVNC 1.8.0 Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt) See http://www.tigervnc.org for information on TigerVNC. Underlying X server release 11907000, The X.Org Foundation Wed Jan 20 08:34:41 2021 vncext: VNC extension running! vncext: Listening for VNC connections on all interface(s), port 5901 vncext: created VNC server for screen 0 XKB: Failed to compile keymap Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. (EE) Fatal server error: (EE) Failed to activate virtual core keyboard: 2(EE)
vncserver starts if is installed also:
so xvnc depends on and should also install this two packages.
$ pkg list entire
NAME (PUBLISHER) VERSION IFO
entire (openindiana.org) 0.5.11-2020.0.1.0 i--