Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22024 - Some applications do not have a system font in vncserver (tightvnc package)
Summary: Some applications do not have a system font in vncserver (tightvnc package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-31 19:14 UTC by Bill Kenworthy
Modified: 2004-01-15 07:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tightvnc-1.2.9-vncserver.patch (tightvnc-1.2.9-vncserver.patch,582 bytes, patch)
2003-11-01 16:58 UTC, Bret Towe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Kenworthy 2003-05-31 19:14:56 UTC
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 Bret Towe 2003-11-01 16:57:00 UTC
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 Bret Towe 2003-11-01 16:58:01 UTC
Created attachment 20085 [details, diff]
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 Bill Kenworthy 2003-11-07 22:39:18 UTC
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 Daniel Ahlberg (RETIRED) gentoo-dev 2004-01-15 07:25:38 UTC
I've updated the patch to change fontPath to unix/:-1

Thanks!