Package: vnc4server
Severity: wishlist
Version: all

It could be able to handle this situation instead of giving a warning.

Regards,

// Ola

----- Forwarded message from Luca Andreucci <[EMAIL PROTECTED]> -----

Envelope-to: [EMAIL PROTECTED]
Delivery-date: Fri, 02 Sep 2005 16:41:37 +0200
From: Luca Andreucci <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], debian-x@lists.debian.org, [EMAIL PROTECTED]
Subject: bug: artwiz-cursor breaks vnc server
X-Spam-Score: 0.0 (/)
X-Spamcheck-provider: Checked for spam by opalsys.net, [EMAIL PROTECTED]


I think I found the bug that borked the (tight)VNC server in my debian sarge.

it seems that the "fonts.dir" file in my "misc" font directory has an entry 
that looks like this:

-------------------------------------
cursor.pcf.gz-artwiz cursor
-------------------------------------

that's because the "artwiz-cursor" package has a file named 
"cursor.pcf.gz-artwiz", and mkfontdir generates the line above.

Obviously Xvnc and Xtightvnc don't like the above line and they skip the 
"misc" directory, simply dismissing it, with no warning message (if there is 
a way to have more verbose error messaging I didn't find it, even if I 
admittedly did not try hard).

This causes the server to quit, since the "fixed" font is missing:

---------------------------------------------
bambino:/usr/X11R6/lib/X11/fonts/misc# Xvnc :1

Xvnc version 4.0 - built Jan 22 2005 17:23:07
Underlying X server release 40200000, The XFree86 Project, Inc


Fri Sep  2 16:29:19 2005
 vncext:      VNC extension running!
  vncext:      Listening for VNC connections on port 5901
   vncext:      created VNC server for screen 0
   Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing 
from list!
   Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!

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

I wrote to the package maintainers since I believe this is a packaging bug (if 
you rename the font file to "cursor.pcf.gz" everything is OK), but I also 
believe something must be wrong in the way the X servers (if it's them) parse 
the fonts.dir file. The original line does not look like it is malformed, and 
even if it was, why skip the whole font dir, without a sound (almost: only 
vncserver v4 prints the warning above)?

I think that you may be in a better position to file relevant bug reports.  Of 
course I am at your disposal if you need further information.

-- 
Luca "andrew" Andreucci
ict security :: http://lucaandreucci.it :: mailto:[EMAIL PROTECTED]
cat >/dev/null :: http://blog.andrew.org
virtual andrew :: http://andrew.org :: mailto:[EMAIL PROTECTED]
IM :: MSN:[EMAIL PROTECTED] :: ICQ:4349263 :: Yahoo:andrew_org
VoIP :: skype:andreworg :: sip:[EMAIL PROTECTED]
OpenPGP :: http://andrew.org/gpg


----- End forwarded message -----

-- 
 --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/  [EMAIL PROTECTED]                   Annebergsslingan 37        \
|  [EMAIL PROTECTED]                   654 65 KARLSTAD            |
|  http://www.opal.dhs.org           Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to