Package: vnc4server
Version: 4.1.1+X4.3.0-7
Severity: grave
Tags: patch
Justification: renders package unusable

Hi, 

/usr/bin/vnc4server uses incorrect parameter (-q) in the call to vncpasswd 
makes the vnc4server unusable for most users.

The attached patch fixes this behaviour.


sample output:
[EMAIL PROTECTED]:~/bin$ /usr/bin/vnc4server -httpport 5808 -geometry 800x1400 
-depth 32 :8

You will require a password to access your desktops.

usage: vncpasswd [passwdFile]
[EMAIL PROTECTED]:~/bin$ 


Thanks,
Taco.

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

Versions of packages vnc4server depends on:
ii  libc6                       2.3.6-7      GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.0-1+b1 GCC support library
ii  libice6                     1:1.0.0-3    X11 Inter-Client Exchange library
ii  libsm6                      1:1.0.0-4    X11 Session Management library
ii  libstdc++6                  4.1.0-1+b1   The GNU Standard C++ Library v3
ii  libx11-6                    2:1.0.0-6    X11 client-side library
ii  libxext6                    1:1.0.0-4    X11 miscellaneous extension librar
ii  libxtst6                    1:1.0.1-3    X11 Testing -- Resource extension 
ii  vnc-common                  3.3.7-11     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 vnc4server recommends:
ii  xfonts-base                   1:1.0.0-3  standard fonts for X

-- no debconf information
--- vnc4server.backup   2006-04-21 21:09:08.000000000 +0200
+++ vnc4server  2006-04-23 22:00:00.000000000 +0200
@@ -189,7 +189,7 @@
 ($z,$z,$mode) = stat("$vncUserDir/passwd");
 if (!(-e "$vncUserDir/passwd") || ($mode & 077)) {
     warn "\nYou will require a password to access your desktops.\n\n";
-    system("vncpasswd -q $vncUserDir/passwd"); 
+    system("vncpasswd $vncUserDir/passwd"); 
     if (($? >> 8) != 0) {
        exit 1;
     }

Reply via email to