Your message dated Fri, 28 Apr 2006 21:27:07 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#363448: tightvncserver: Old paths in Xvnc again
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: tightvncserver
Version: 1.2.9-10
Severity: grave
Tags: patch
Justification: renders package unusable

 After upgrading to xorg 7.0 from unstable, Xvnc and tightvncserver
don't work because they can't find any fonts.

 Here's a patch for tightvncserver.  I didn't make the fallback font
path include all the fonts that xserver-xorg's configure script puts
in xorg.conf (which, on my system, looks like:

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

 I also haven't patched Xvnc itself, only that wrapper script.  I like
to use Xvnc on my home network with no password, which tightvncserver
doesn't support.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-ck5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tightvncserver depends on:
ii  dpkg                          1.13.18    package maintenance system for Deb
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libjpeg62                     6b-12      The Independent JPEG Group's JPEG 
ii  libx11-6                      2:1.0.0-6  X11 client-side library
ii  libxext6                      1:1.0.0-3  X11 miscellaneous extension librar
ii  perl                          5.8.8-4    Larry Wall's Practical Extraction 
ii  vnc-common                    3.3.7-9    Virtual network computing server s
ii  x11-common                    1:7.0.14   X Window System (X.Org) infrastruc
ii  xbase-clients                 1:7.0.0-4  miscellaneous X clients
ii  zlib1g                        1:1.2.3-11 compression library - runtime

Versions of packages tightvncserver recommends:
ii  xfonts-base                   1:1.0.0-3  standard fonts for X

-- no debconf information
--- tightvncserver.orig 2006-04-17 10:28:17.000000000 -0300
+++ tightvncserver      2006-04-19 03:28:58.000000000 -0300
@@ -80,13 +80,11 @@
 &ReadConfigFile();
 
 if (!$XFConfigPath) {
-  if (-e "/etc/X11/XF86Config-4") {
-    $XFConfigPath = "/etc/X11/XF86Config-4";
+  foreach ("/etc/X11/xorg.conf", "/etc/X11/XF86Config-4", 
"/etc/X11/XF86Config" ){
+      $XFConfigPath = $_;
+      last if ( -e $XFConfigPath );
   }
 }
-if (!$XFConfigPath) {
-  $XFConfigPath = "/etc/X11/XF86Config";
-}
 if (!$fontPath) {
   &ReadXFConfigFont;
 }
@@ -95,13 +93,20 @@
               "/usr/X11R6/lib/X11/fonts/Speedo/,".
               "/usr/X11R6/lib/X11/fonts/misc/,".
               "/usr/X11R6/lib/X11/fonts/75dpi/,".
-              "/usr/X11R6/lib/X11/fonts/100dpi/"
+              "/usr/X11R6/lib/X11/fonts/100dpi/".
+              "/usr/share/fonts/X11/misc/,".
+             "/usr/share/fonts/X11/Type1/,".
+              "/usr/share/fonts/X11/75dpi/,".
+              "/usr/share/fonts/X11/100dpi/"
 }
 if (!$colorPath) {
   &ReadXFConfigColor;
 }
 if (!$colorPath) {
-  $colorPath = "/usr/X11R6/lib/X11/rgb";
+  foreach ("/etc/X11/rgb.txt", "/usr/X11R6/lib/X11/rgb"){
+      $colorPath = $_;
+      last if ( -e $colorPath );
+  }
 }
 
 ##########################################################

--- End Message ---
--- Begin Message ---
Version: 1.2.9-13

Corrected in last upload. Please check.

// Ola

On Thu, Apr 27, 2006 at 11:29:56AM +1200, Thomas Renard wrote:
> Package: tightvncserver
> Version: 1.2.9-12
> Followup-For: Bug #363448
> 
> I tried to startup Xvnc via gdm yesterday and it ended up with
> (/var/log/gdm/:10.log):
> 
> -snip
> 27/04/06 10:57:01 Listening for VNC connections on TCP port 5910
> 
> Fatal server error:
> could not open default font 'fixed'
> -snip
> 
> after reading #363448 I tried "strings /usr/bin/Xvnc | grep X11":
> 
> -snip
> /usr/X11R6/lib/X11/rgb
> /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
> -snip
> 
> These seem to be the old paths for fonts and rgb again. To be shure that
> I am looking at the tight-Xvnc: update-alternatives --display Xvnc
> 
> -snip
> Xvnc - status is auto.
>  link currently points to /usr/bin/Xtightvnc
> /usr/bin/Xtightvnc - priority 70
>  slave Xvnc.1.gz: /usr/share/man/man1/Xtightvnc.1.gz
> Current `best' version is /usr/bin/Xtightvnc.
> -snip
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.16-1-686
> Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
> 
> Versions of packages tightvncserver depends on:
> ii  dpkg                      1.13.18        package maintenance system for 
> Deb
> ii  libc6                     2.3.6-7        GNU C Library: Shared libraries
> ii  libjpeg62                 6b-12          The Independent JPEG Group's 
> JPEG 
> ii  libx11-6                  6.9.0.dfsg.1-6 X Window System protocol client 
> li
> ii  libxext6                  6.9.0.dfsg.1-6 X Window System miscellaneous 
> exte
> ii  perl                      5.8.8-4        Larry Wall's Practical 
> Extraction 
> ii  vnc-common                3.3.7-8        Virtual network computing server 
> s
> pi  x11-common                1:7.0.14       X Window System (X.Org) 
> infrastruc
> ii  xbase-clients             1:7.0.0-4      miscellaneous X clients
> ii  zlib1g                    1:1.2.3-11     compression library - runtime
> 
> Versions of packages tightvncserver recommends:
> ii  xfonts-base                   1:1.0.0-3  standard fonts for X
> 
> -- no debconf information
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------

--- End Message ---

Reply via email to