Xvnc looking in wrong place for fonts

Bug #34218 reported by dbri on 2006-03-09
This bug report is a duplicate of:  Bug #3593: vnc4server uses wrong font path. Edit Remove
Affects Status Importance Assigned to Milestone
vnc (Ubuntu)
Adam Conrad

Bug Description

Xvnc can't find the X fonts. It should be looking in /usr/share/ blah blah blah, not /usr/X11R6/lib/ blah blah blah. Adding a symlink to /usr/X11R6/lib/ blah blah blah is a temporary fix.

just typing 'Xvnc' at the prompt will show you where its looking, and it will give a 'couldnt find default font' type of error and die.

This messes up programs like xrdp (xrdp.sourceforge.net), which use Xvnc directly.


Matt Zimmerman (mdz) wrote :

mizar:[~/mail/read] Xvnc :1
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
05/04/06 13:48:00 Xvnc version 3.3.7 - built Feb 20 2006 12:05:53
05/04/06 13:48:00 Copyright (C) 2002-2003 RealVNC Ltd.
05/04/06 13:48:00 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
05/04/06 13:48:00 All Rights Reserved.
05/04/06 13:48:00 See http://www.realvnc.com for information on VNC
05/04/06 13:48:00 Desktop name 'x11' (mizar:1)
05/04/06 13:48:00 Protocol version supported 3.3
05/04/06 13:48:00 Listening for VNC connections on TCP port 5901

Fatal server error:
could not open default font 'fixed'
zsh: exit 1 Xvnc :1

Changed in vnc:
assignee: nobody → adconrad
status: Unconfirmed → Confirmed
Romain Wartel (linux-wartel) wrote :

This did not work for me either. On my fully patched (as of 19/04/06) Dapper Amd64:
romain@altair:~$ vncserver
Couldn't start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xtightvnc process.

Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'

romain@altair:~$ ls -l /usr/X11R6/lib/X11/rgb
lrwxrwxrwx 1 root root 16 2006-04-10 13:35 /usr/X11R6/lib/X11/rgb -> /etc/X11/rgb.txt
romain@altair:~$ ls -l /usr/share/X11/rgb
lrwxrwxrwx 1 root root 16 2006-04-06 12:22 /usr/share/X11/rgb -> /etc/X11/rgb.txt

romain@altair:~$ ls /usr/X11R6/lib/X11/fonts -l
lrwxrwxrwx 1 root root 20 2006-04-10 17:21 /usr/X11R6/lib/X11/fonts -> /usr/share/X11/fonts

dkg (dkg0) wrote :

This was fixed in debian's sources in version 3.3.7-12:

(<a href="http://packages.debian.org/changelogs/pool/main/v/vnc/vnc_3.3.7-12/changelog">changelog</a>)

Matthew Caron (matt-mattcaron) wrote :

this appears to be a duplicate of Bug # 3593

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers