pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vnc font errors show ${prefix}; vnc can't open display



On Sat, 4 Jan 2025 at 06:27, Mayuresh <mayuresh%acm.org@localhost> wrote:
>
> I have been using tigervnc server regularly on NetBSD 9.2 amd64, but now
> do not have the version of tigervnc.
>
> Recently upgraded to NetBSD 10.1 amd64 and tigervnc 1.14.
>
> Now starting vnc server says it can't open the display.
>
> Further in the error messages it shows the word ${prefix} appears. Wonder
> why.
>
> Below is the log file:
>
>
> Xvnc TigerVNC 1.14.0 - built Jan  3 2025 10:43:57
> Copyright (C) 1999-2024 TigerVNC Team and many others (see README.rst)
> See https://www.tigervnc.org for information on TigerVNC.
> Underlying X server release 12013000
>
>
> Sat Jan  4 11:04:28 2025
>  vncext:      VNC extension running!
>  vncext:      Listening for VNC connections on local interface(s), port 5901
>  vncext:      created VNC server for screen 0
> _FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/misc/
> _FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/TTF/
> _FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/OTF/
> _FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/Type1/
> _FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/100dpi/
> _FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/75dpi/
> No protocol specified
>
> Can't open display


Where is ${prefix}/share/fonts/X11/misc coming from?

In case it helps I'm running tigervnc-1.14.0.1.20.13nb3 on
NetBSD/amd64 without any apparent issue for both vncviewer and
vncserver.

From a quick check in /etc, /usr/pkg/etc, /usr/pkg/lib and
/usr/X11R7/lib the only reference to /share/fonts/X11/misc I see is
in:
/etc/X11/xorg.conf:     FontPath     "/usr/pkg/share/fonts/X11/misc/"

My matching .config/tigervnc/forsaken.absd.org:4.log would be:

Xvnc TigerVNC 1.14.0 - built Jan  1 2025 15:17:02
Copyright (C) 1999-2024 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12013000


Sun Jan  5 19:58:32 2025
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5904
 vncext:      created VNC server for screen 0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Couldn't lookup keysym
>                   Symbol interpretation ignored
> Error:            Couldn't lookup keysym
>                   Symbol interpretation ignored
Errors from xkbcomp are not fatal to the X server

Sun Jan  5 19:58:37 2025
 Connections: accepted: 127.0.0.1::55679
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VeNCrypt(19)
 SVeNCrypt:   Client requests security type TLSVnc (258)

Sun Jan  5 19:58:40 2025
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888


Home | Main Index | Thread Index | Old Index