Bug 22024 - Some applications do not have a system font in vncserver (tightvnc package)
Bug#: 22024 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: aliz@gentoo.org Reported By: billk@iinet.net.au
Component: Server
URL: 
Summary: Some applications do not have a system font in vncserver (tightvnc package)
Keywords:  
Status Whiteboard: 
Opened: 2003-05-31 19:14 0000
Description:   Opened: 2003-05-31 19:14 0000
gvim, unison and possibly other apps such as sylpheed (from a forum post) show
only boxes for font charaters for system fonts such as menus.  Adding the
fontpaths from XF86Config did not fix it, but using $fontPath = "unix/:-1"; from
an old, resolved bug (6614) fixed it.  There is a line $fontPath = "unix/:7100";
already in the vncserver file, but it does not work since xfree-4.3 was
installed (when the xfs package changed).  This line is also commented out.  

Reproducible: Always
Steps to Reproduce:
1.Run any of the above applications in an unmodified (fontpath- wise)
(tightvnc)vncserver
2.
3.

Actual Results:  
No menu or dialog boxes in gvim, unison and possibly other applications

Expected Results:  
normal display

------- Comment #1 From Bret Towe 2003-11-01 16:57:00 0000 -------
ive got a patch for vncserver that reads /etc/X11/XF86Config for font paths
it would fix this problem also is my guess since this patch fixed the problem
i was
having

------- Comment #2 From Bret Towe 2003-11-01 16:58:01 0000 -------
Created an attachment (id=20085) [details]
tightvnc-1.2.9-vncserver.patch

heres the patch for 1.2.9 prob works for .8 also 
(been using .9 for some time now on x86 btw seems stable)

------- Comment #3 From Bill Kenworthy 2003-11-07 22:39:18 0000 -------
Actually I dont think this is a good idea.  gentoo sets up xfree to use
xfontserver
so reading the XF86 file may not get what you need (and doesnt in my case
on two systems)

Just change to 

$fontPath = "unix/:-1"

This fits in nicely without affecting the standard install of other packages
and is a simple one-liner.  Of course, if you dont run xfs it wont work,
but thats a non-standard config and you are on your own.

BillK

------- Comment #4 From Daniel Ahlberg (RETIRED) 2004-01-15 07:25:38 0000 -------
I've updated the patch to change fontPath to unix/:-1

Thanks!