Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122807 - net-misc/tightvnc-1.3_alpha7 fails to launch
Summary: net-misc/tightvnc-1.3_alpha7 fails to launch
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Disenchanted (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-14 09:13 UTC by Richard Freeman
Modified: 2006-04-01 09:21 UTC (History)
1 user (show)

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


Attachments
Strace output on vncserver (strace.txt,53.05 KB, text/plain)
2006-02-23 18:42 UTC, Richard Freeman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Freeman gentoo-dev 2006-02-14 09:13:10 UTC
Attempting to start vncserver fails:

$ vncserver -geometry 1000x750 
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xvnc process.

14/02/06 12:10:32 Xvnc version TightVNC-1.3dev7
14/02/06 12:10:32 Copyright (C) 2000-2003 Constantin Kaplinsky
14/02/06 12:10:32 Copyright (C) 1999 AT&T Laboratories Cambridge
14/02/06 12:10:32 All Rights Reserved.
14/02/06 12:10:32 See http://www.tightvnc.com/ for information on TightVNC
14/02/06 12:10:32 Desktop name 'X' (rich64:1)
14/02/06 12:10:32 Protocol versions supported: 3.7t, 3.7, 3.3
14/02/06 12:10:32 Listening for VNC connections on TCP port 5901
14/02/06 12:10:32 Listening for HTTP connections on TCP port 5801
14/02/06 12:10:32   URL http://rich64:5801
Font directory '/usr/lib/X11/fonts/misc/' not found - ignoring
Font directory '/usr/lib/X11/fonts/75dpi/' not found - ignoring

Fatal server error:
could not open default font 'fixed'
14/02/06 12:10:33 Xvnc version TightVNC-1.3dev7
14/02/06 12:10:33 Copyright (C) 2000-2003 Constantin Kaplinsky
14/02/06 12:10:33 Copyright (C) 1999 AT&T Laboratories Cambridge
14/02/06 12:10:33 All Rights Reserved.
14/02/06 12:10:33 See http://www.tightvnc.com/ for information on TightVNC
14/02/06 12:10:33 Desktop name 'X' (rich64:1)
14/02/06 12:10:33 Protocol versions supported: 3.7t, 3.7, 3.3
14/02/06 12:10:33 Listening for VNC connections on TCP port 5901
14/02/06 12:10:33 Listening for HTTP connections on TCP port 5801
14/02/06 12:10:33   URL http://rich64: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

Fatal server error:
could not open default font 'fixed'


xorg-x11 works fine.  Generic vnc starts fine, but crashes frequently.  I had previously been running tightvnc 32-bit, but the current ebuilds don't work even if installed 32-bit.  Despite much tinkering with my X11 fonts directories I haven't been able to figure out what is wrong.  I have re-emerged xorg to ensure the font directories are in their default state.


emerge info output:

Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1-rf41 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1-rf41 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -Os -pipe -fomit-frame-pointer -frename-registers -fweb -funit-at-a-time"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home /opt/zetagrid /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/freenet /var/qmail/control /var/www"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -Os -pipe -fomit-frame-pointer -frename-registers -fweb -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks multilib-strict nostrip sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib aim alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 canna cdparanoia cdr crypt css ctype cups curl dba dri dts dv dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimpprint glut gmail gmp gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile iconv idn imagemagick imap imlib innodb jabber jack java jpeg junit kde kerberos lcms libcaca libwww lm_sensors lua lzw lzw-tiff mad maildir memlimit mhash mikmod mng motif mozilla mozsvg mp3 mpeg mplayer msn musicbrainz mysql ncurses nls nodrm nptl ntlm oav ogg oggvorbis openal opengl pam pcre pda pdflib perl php png python qt quicktime readline recode ruby samba sasl sdl session slang smime speex spell sqlite ssl svg tcltk tcpd tetex theora tiff timidity truetype truetype-fonts type1-fonts udev usb userlocales vorbis wmf xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Disenchanted (RETIRED) gentoo-dev 2006-02-15 23:12:32 UTC
this sounds very familiar, unfortunately i do not recall what i had fixed here
Section "Files"
        #RgbPath      "/usr/lib64/X11/rgb"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

let me know  if this helps anything, this is from my xorg7

i think i once edited the vncserver script, wonder if this stays behind leading me to believe there is no issue, will look into this tomorrow

from my /usr/bin/vncserver:
&SanityCheck();

#
# Global variables.  You may want to configure some of these for your site.
#

$geometry = "1024x768";
$depth = 24;
$desktopName = "X";
$vncClasses = "/usr/share/tightvnc/classes";
$vncUserDir = "$ENV{HOME}/.vnc";
$fontPath = "unix/:-1";
$authType = "-rfbauth $vncUserDir/passwd";
  
# Here is another example of setting the font path:
$fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";

# X colors database path is optional, uncomment and edit to use:
# $colorPath = "/usr/lib/X11/rgb";

Comment 2 Richard Freeman gentoo-dev 2006-02-16 09:51:37 UTC
I'd tried tweaking this, but with no luck.  I'm not convinced it is a genuine font path issue.  I've tried entering a fontpath parameter directly to Xvnc and it still crashes.  I verified that an invalid path generates warnings about missing directories, and the valid path generates no warnings other than the final fatal error.
Comment 3 Disenchanted (RETIRED) gentoo-dev 2006-02-16 14:41:49 UTC
this might take a while to figure out, since the problem hasn't occured in a long time and si i don't recall what fix was.

grep eader /cvs/gentoo-x86/net-misc/tightvnc/tightvnc-1.3_alpha7.ebuild

what does that print?
Comment 4 Richard Freeman gentoo-dev 2006-02-16 14:45:22 UTC
Uh, that would give me a file-not-found, but if you really meant:

# grep eader /usr/portage/net-misc/tightvnc/tightvnc-1.3_alpha7.ebuild
# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.3_alpha7.ebuild,v 1.7 2006/02/11 22:01:23 morfic Exp $
Comment 5 Richard Freeman gentoo-dev 2006-02-23 18:42:20 UTC
Created attachment 80570 [details]
Strace output on vncserver

I attached an strace output in case it will help track down the source of this error.  Again, regular vnc works fine, xorg-x11 works fine.  So, I obviously have fonts of some kind installed...
Comment 6 Richard Freeman gentoo-dev 2006-02-25 18:47:44 UTC
I went ahead and compiled xorg-x11 with xfs support, and changed the vncserver script to use the unix socket.  It seems to work fine in this configuration.

It sounds like either the font files have changed, or tightvnc has changed to prevent it from reading them.  
Comment 7 Disenchanted (RETIRED) gentoo-dev 2006-02-26 23:35:14 UTC
I will close this as later, since you no longer have an issue and i have not heard any other reports like this. If this becomes an issue we can look at it in more detail at a later point.

Thank you for reporting this.

Comment 8 Martin von Gagern 2006-04-01 09:21:00 UTC
I believe this here is a dup of bug #127001.