[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#286181: Quotes around variables in xvfb-run confuse Xvfb



Package: xvfb
Version: 4.3.0.dfsg.1-10
Severity: important
Tags: patch

The quotes around the option variables on the Xvfb command line inside
of xvfb-run confuse Xvfb.  To see this behavior, set ERRORFILE= to an
actual file, then run xvfb-run.  It will log an "Unrecognized option:"
error.

This can be fixed by removing the offending quotes on $XVFBARGS and
$LISTENTCP

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xvfb depends on:
ii  libc6                       2.3.2.ds1-19 GNU C Library: Shared libraries an
ii  libfreetype6                2.1.7-2.3    FreeType 2 font engine, shared lib
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information
--- xvfb-run	2004-12-15 12:15:49.000000000 -0700
+++ xvfb-run.fix	2004-12-17 23:18:39.000000000 -0700
@@ -140,7 +140,7 @@
 MCOOKIE=$(mcookie)
 XAUTHORITY=$AUTHFILE xauth add ":$SERVERNUM" "$XAUTHPROTO" "$MCOOKIE" \
   >"$ERRORFILE" 2>&1
-XAUTHORITY=$AUTHFILE Xvfb ":$SERVERNUM" "$XVFBARGS" "$LISTENTCP" >"$ERRORFILE" \
+XAUTHORITY=$AUTHFILE Xvfb ":$SERVERNUM" $XVFBARGS $LISTENTCP >"$ERRORFILE" \
   2>&1 &
 XVFBPID=$!
 sleep "$STARTWAIT"

Reply to: