Package: xinit
Version: 1.4.0-1
Severity: minor

/usr/bin/startx contains this around line 198:

    for displayname in $authdisplay $hostname$authdisplay; do
        authcookie=`xauth list "$displayname" \
        | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
[…]
            dummy=$(($dummy+1));
            xauth -q -f "$xserverauthfile" << EOF
add :$dummy . $authcookie
EOF

This clearly assumes that $authcookie is only one.
However, on my system I somehow get two (the same but,
nevertheless, two), leading to xauth throwing a syntax
error upon running startx.

tglase@tglase-nb:~ $ displayname=tglase-nb.lan.tarent.de:0
tglase@tglase-nb:~ $ xauth list "$displayname" | sed -n 
"s/.*$displayname[[:space:]*].*[[:space:]*]//p"
2f5582db6c1e1d0f6da34c7f4fec89c7
2f5582db6c1e1d0f6da34c7f4fec89c7


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 
'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages xinit depends on:
ii  coreutils   8.30-1
ii  libc6       2.27-8
ii  libx11-6    2:1.6.7-1
ii  x11-common  1:7.7+19
ii  xauth       1:1.0.10-1

Versions of packages xinit recommends:
ii  evilwm [x-window-manager]             1.1.1-1
ii  icewm [x-window-manager]              1.4.3.0~pre-20181030-2
ii  konsole [x-terminal-emulator]         4:18.04.0-1
ii  kwin-x11 [x-window-manager]           4:5.13.5-1+b1
ii  plasma-workspace [x-session-manager]  4:5.13.5-1+b1
ii  tigervnc-standalone-server [xserver]  1.9.0+dfsg-2
ii  xserver-xorg [xserver]                1:7.7+19
ii  xterm [x-terminal-emulator]           337-1

xinit suggests no packages.

-- no debconf information

Reply via email to