Summary: | net-misc/tightvnc with media-fonts/font-misc-misc[-nls] - /etc/init.d/vnc: Fatal server error: could not open default font 'fixed' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Florian Schmaus <flow> |
Component: | New packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | dimgel, non7top, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Pending removal: 2016-09-21 | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
first proposed solution
ebuild patch (first variant) ebuild patch (second variant) tightvnc-1.3.10 patch for "fixed" as popup font fallback |
Description
Florian Schmaus
2011-05-28 09:55:31 UTC
I can confirm re-emerging font-misc-misc with +nls fixes the "could not open default font 'fixed'" problem: user $ vncserver -name XYZ -depth 16 -geometry 1024x768 :32 Couldn't start Xvnc; trying default font path. could not open default font 'fixed' ... root # USE=nls emerge -v font-misc-misc ... user $ vncserver -name XYZ -depth 16 -geometry 1024x768 :32 New 'XYZ' desktop is gentoo:32 Starting applications specified in /home/gentoo/.vnc/xstartup ... This is a dup of Bug 357331, I think. https://bugs.gentoo.org/show_bug.cgi?id=357331 *** Bug 411397 has been marked as a duplicate of this bug. *** This just happened to me as well while trying to start tightvnc server. /usr/share/fonts/misc/fonts.alias had an entry like this: fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 but /usr/share/fonts/misc/fonts.dir had no entry for "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1" moreover /usr/share/fonts/misc/fonts.alias was missing until I did emerge -1 media-fonts/font-alias media-fonts/font-alias-1.0.3 media-fonts/font-misc-misc-1.1.2 net-misc/tightvnc-1.3.10-r1:0 forgot to mention adding the nls useflag to media-fonts/font-misc-misc fixed it for me as well Same problem here. Default font fixed not found when starting vncserver. Installing font-misc-misc with USE flag nls solves the problem for me too. By the way: Why is version 2.X of tightvnc not in portage? Created attachment 373092 [details, diff]
first proposed solution
Created attachment 373098 [details, diff]
ebuild patch (first variant)
Created attachment 373100 [details, diff]
ebuild patch (second variant)
Created attachment 373102 [details, diff]
tightvnc-1.3.10 patch for "fixed" as popup font fallback
Frank Sieber, it looks like the tight vnc version >=2 is windows-only. I can confirm this issue on multiple different setups, it starts showing up with tightvnc anywhere I disable the nls flag. The media-fonts/font-misc-misc[nls] fixed it for me too. So did $ echo "*popup*font: fixed" | xrdb -merge in the X session before running the vncviewer. I assume it's caused by the lack of creating the fonts for ISO-8859-1 encoding, causing the default fallback *popup*font Xresource not to be resolved. So I see two quick solutions, although specific only to this package (I haven't experienced it with any other, but then, I don't use anywhere near as many packages): 1. make sure tightvnc ebuild requests media-fonts/font-misc-misc with the nls flag. That might confuse some people who have -nls system now and think they don't need the flag... 2. add nls flag to the tightvnc that (if disabled) would change the fallback popup font (-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*) to something more generic (I've used fixed without any further specification, maybe something else would serve better). These both solve it for me and I've attached the patches here (sorry for the duplicate). There might be also some other, better, solution, probably by changing the media-fonts/font-misc-misc to install ISO 8859-1 encoding, even with -nls? What do you think? Are you willing to proxy maintain this? wiki.gentoo.org/wiki/Project:Proxy_Maintainers Thanks *** Bug 573410 has been marked as a duplicate of this bug. *** Also, if I don't misremember, tigervnc forked this and maybe we could treeclean this old software (that is dead since version 2 is only for windows and it is the only one still being developed) removed |