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>