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

Bug#984776: marked as done (tightvncserver: fails to start when $HOME contains a whitespace)



Your message dated Sun, 28 Mar 2021 01:03:23 +0000
with message-id <E1lQJpr-000GIL-Tp@fasolo.debian.org>
and subject line Bug#984776: fixed in tightvnc 1:1.3.10-3
has caused the Debian Bug report #984776,
regarding tightvncserver: fails to start when $HOME contains a whitespace
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
984776: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984776
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tightvncserver
Version: 1:1.3.10-2
Severity: normal
Tags: none

Steps to reproduce:

# adduser --home '/home/john doe' johndoe
Adding user `johndoe' ...
Adding new group `johndoe' (1009) ...
Adding new user `johndoe' (1007) with group `johndoe' ...
Creating home directory `/home/john doe' ...
Copying files from `/etc/skel' ...
New password:
Retype new password:
passwd: password updated successfully
Changing the user information for johndoe
Enter the new value, or press ENTER for the default
        Full Name []:
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n]
# su - johndoe
johndoe@debian:~$ vncpasswd
Using password file /home/john doe/.vnc/passwd
VNC directory /home/john doe/.vnc does not exist, creating.
Password:
Verify:
Would you like to enter a view-only password (y/n)?
johndoe@debian:~$ vncserver
cat: /home/john: No such file or directory
cat: doe/.vnc/passwd: No such file or directory
xauth:  timeout in locking authority file /home/john
xauth:  timeout in locking authority file /home/john
sh: 1: cannot create /home/john: Permission denied
cat: /home/john: No such file or directory
cat: 'doe/.vnc/t470:1.pid': No such file or directory
Couldn't start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script.
sh: 1: cannot create /home/john: Permission denied
cat: /home/john: No such file or directory
cat: 'doe/.vnc/t470:1.pid': No such file or directory
Couldn't start Xtightvnc process.

Unrecognized option: doe/.Xauthority
use: X [:<display>] [option]
-a #                   mouse acceleration (pixels)
[...]


You can workaround the issue by symlinking the home directory

johndoe@debian:~$ ln -s . /tmp/jdoe
johndoe@debian:~$ export HOME=/tmp/jdoe
johndoe@debian:/home/john doe$ vncserver
You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)?
xauth:  file /tmp/jdoe/.vnc/.Xauthority does not exist

New 'X' desktop is debian:1

Creating default startup script /tmp/jdoe/.vncstartup
Starting applications specified in /tmp/jdoe/.vncstartup
Log file is /tmp/jdoe/.vnc/debian:1.log


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'stable'), (700, 'unstable'), (500,
'stable-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tightvncserver depends on:
ii  libc6            2.31-9
ii  libjpeg62-turbo  1:2.0.6-2
ii  libx11-6         2:1.7.0-2
ii  perl             5.32.1-2
ii  x11-common       1:7.7+22
ii  x11-utils        7.7+5
ii  xauth            1:1.1-1
ii  xserver-common   2:1.20.10-3
ii  zlib1g           1:1.2.11.dfsg-2

Versions of packages tightvncserver recommends:
ii  x11-xserver-utils  7.7+8
ii  xfonts-base        1:1.0.5

Versions of packages tightvncserver suggests:
pn  tightvnc-java  <none>

--- End Message ---
--- Begin Message ---
Source: tightvnc
Source-Version: 1:1.3.10-3
Done: Sven Geuer <debmaint@g-e-u-e-r.de>

We believe that the bug you reported is fixed in the latest version of
tightvnc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 984776@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sven Geuer <debmaint@g-e-u-e-r.de> (supplier of updated tightvnc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 28 Mar 2021 01:31:39 +0100
Source: tightvnc
Architecture: source
Version: 1:1.3.10-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Remote Maintainers <debian-remote@lists.debian.org>
Changed-By: Sven Geuer <debmaint@g-e-u-e-r.de>
Closes: 984776
Changes:
 tightvnc (1:1.3.10-3) unstable; urgency=medium
 .
   * Allow for a home directory name containing spaces and other unusual
     characters (Closes: #984776).
     - Roll back changes from 1:1.3.10-3~exp1 and 1:1.3.10-3~exp2 to
       enable a targeted fix to unstable.
     - Add d/patches/space-chars-in-home-dir-name.patch. Thanks to
       Antoni Villalonga <antoni@friki.cat> for an initial version of the
       fix.
     - Extend the autopkgtest to cover this case.
Checksums-Sha1:
 af7796b786ec7e99b7c0e01af4f56305088dd583 2306 tightvnc_1.3.10-3.dsc
 e119e8aed0de058edf66599f92cfd9ee48492e15 48444 tightvnc_1.3.10-3.debian.tar.xz
 cadf2c0392da95eaa9597ce8a2a7850c0a510dc7 8268 tightvnc_1.3.10-3_amd64.buildinfo
Checksums-Sha256:
 1b520cef3d9b231a674c649b0756070da099f683fc0ccf79a0e96df3c7fcf344 2306 tightvnc_1.3.10-3.dsc
 55d752ff6712ff8b2ba6191136a8ec5ee4068d55671cbefc42ca3d216ae01645 48444 tightvnc_1.3.10-3.debian.tar.xz
 a3c71bae8dca9fc81aeec5233453531808fdc43c2ac7a0880c8de55f5ebb2478 8268 tightvnc_1.3.10-3_amd64.buildinfo
Files:
 567e7c14a4aa3cd63fa6fbfff8e3a3bf 2306 x11 optional tightvnc_1.3.10-3.dsc
 80a7e7448f331d49ac733825c737a4b5 48444 x11 optional tightvnc_1.3.10-3.debian.tar.xz
 716d91f91902c9a01668e7176dafb525 8268 x11 optional tightvnc_1.3.10-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJKBAEBCgA0FiEEPfXoqkP8n9/QhvGVrfUO2vit1YUFAmBf0H8WHGRlYm1haW50
QGctZS11LWUtci5kZQAKCRCt9Q7a+K3VhVELEACTlosgtqLTm7NwXiz5PGu7zyav
JuyFmG9ecKZ80Ubl1XH4LCdwBoczLThmxXADED1GrELDHeRf6jsa5RebRDJU8nzo
6huBqQiCWzwhAA1ibZdWK+VbQDqFaQmYPrYk368xi6HJHY1Y9cmfOtpWvN7svlkd
nDtxZUlxjS4k88XaQ09CUBCJog+HjBfFdPFm9lxxcmkN8pLERgqjzRhKgbimE2nc
o2oAZ4ybKD362ceUWylMr1H6wMGg1j6EPboU/sh6ugR2Z2tGsiViFXj0vxoZnyjD
90qigPG4R+XEffoKiy6G13eOlU2qbJ3n2/z1Ts0wSC3Zp0qLJrexO2wXYG6MZ/4J
TdqMuK4/VS+Y5gTL0opJqBFY0Y/I3LCGoYVqeGFz0hq0Mwnb4+PF5FmxIiDGgRAD
JldwP7VKJBvnquAbrtEPNgsAg6npdFG0P+MCg2D9sHPRjpHHlUMgiKROKy3dpGD4
UwDb4hA9887QEB5dS0ktbNIRNhtDX8AQffWdqugW3vJEP8eUaCtqcl94mfiArQ61
Nrk57M760dOZGAQL5NKtTpGMJlFbH1jljdBA6Sy4weYMq7r0QW6Eaqciexjw9y60
QuI45GbmnGqQnChCxNphYg7YW98ZuIvMTyj29Xwm/Y6CFiKu8qTeURktmveHbUYI
HMV38bQv+To+AVbGDw==
=F5zF
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: