* Starting TightVNC server ... Couldn't start Xvnc; trying default font path. Please set correct fontPath in the vncserver script. Couldn't start Xvnc process. 28/05/11 11:37:57 Xvnc version TightVNC-1.3.10 28/05/11 11:37:57 Copyright (C) 2000-2009 TightVNC Group 28/05/11 11:37:57 Copyright (C) 1999 AT&T Laboratories Cambridge 28/05/11 11:37:57 All Rights Reserved. 28/05/11 11:37:57 See http://www.tightvnc.com/ for information on TightVNC 28/05/11 11:37:57 Desktop name 'X' (xxx:1) 28/05/11 11:37:57 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t 28/05/11 11:37:57 Listening for VNC connections on TCP port 5901 28/05/11 11:37:57 Listening for HTTP connections on TCP port 5801 28/05/11 11:37:57 URL http://xxx:5801 Font directory '/usr/share/fonts/Type1/' not found - ignoring Fatal server error: could not open default font 'fixed' 28/05/11 11:37:58 Xvnc version TightVNC-1.3.10 28/05/11 11:37:58 Copyright (C) 2000-2009 TightVNC Group 28/05/11 11:37:58 Copyright (C) 1999 AT&T Laboratories Cambridge 28/05/11 11:37:58 All Rights Reserved. 28/05/11 11:37:58 See http://www.tightvnc.com/ for information on TightVNC 28/05/11 11:37:58 Desktop name 'X' (servitor:1) 28/05/11 11:37:58 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t 28/05/11 11:37:58 Listening for VNC connections on TCP port 5901 28/05/11 11:37:58 Listening for HTTP connections on TCP port 5801 28/05/11 11:37:58 URL http://xxx:5801 Font directory '/usr/X11R6/lib/X11/fonts/misc/' not found - ignoring Font directory '/usr/X11R6/lib/X11/fonts/Speedo/' not found - ignoring Font directory '/usr/X11R6/lib/X11/fonts/Type1/' not found - ignoring Font directory '/usr/X11R6/lib/X11/fonts/75dpi/' not found - ignoring Font directory '/usr/X11R6/lib/X11/fonts/100dpi/' not found - ignoring It seems like vncserver is unable to find some needed fonts. It's the same problem as reported on the forums: http://forums.gentoo.org/viewtopic-t-867073.html?sid=38c9d28d0e20ac793d970b1c14043a85 Diff of font-misc-misc w and w/o NLS Use Flag: http://paste.pocoo.org/show/396590/ emerge --info from affected system: http://paste.pocoo.org/show/396592/
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