[Python-apps-team] Bug#710868: xpra: does not show password prompt unless I install ssh-askpass-gnome

Timo Juhani Lindfors timo.lindfors at iki.fi
Mon Jun 3 07:06:38 UTC 2013


Package: xpra
Version: 0.9.4+dfsg-1
Severity: normal

Steps to reproduce:
1) Disable any SSH keys
2) xpra attach ssh:server.example.com:7

Expected results:
2) user sees a password prompt

Actual results:
2) user does not see any password prompt:

xpra client version 0.9.4
2013-06-03 06:34:27,619 check_server_echo: server is not responding, redrawing spinners over the windows
2013-06-03 06:35:25,619 server ping timeout - waited 60 seconds without a response
2013-06-03 06:35:25,621 connection closed after 0 packets received (0 bytes) and 7 packets sent (8512 bytes)
2013-06-03 06:35:25,623 Connection lost
2013-06-03 06:35:25,707 check_server_echo: server is OK again, stopping redraw

More info:
1) ps axuf shows that ssh-askpass gets started but somehow it does not
   seem to be visible to the user:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
lindi    31428  0.0  0.0  19696  2156 pts/0    S    06:33   0:00  |           \_ /bin/bash
lindi    31497  0.0  0.0   4320   608 pts/0    S+   06:34   0:00  |               \_ /bin/sh /home/lindi/bin/xpra attach ssh:server.example.com:7
lindi    31498  2.5  0.6 813872 38520 pts/0    Sl+  06:34   0:00  |                   \_ /usr/bin/python /usr/bin/xpra attach ssh:server.example.com:7
lindi    31499  0.0  0.0  45936  2944 ?        Ss   06:34   0:00  |                       \_ ssh -T server.example.com .xpra/run-xpra _proxy :7
lindi    31505  0.0  0.0  24684  1460 ?        S    06:34   0:00  |                           \_ /usr/bin/ssh-askpass lindi at server.example.com's password:


2) After xpra timeouts the ssh-askpass process is left running and
   orphaned:

lindi    31499  0.0  0.0  45936  2944 ?        Ss   06:34   0:00 ssh -T server.example.com .xpra/run-xpra _proxy :7
lindi    31505  0.0  0.0  24684  1460 ?        S    06:34   0:00  \_ /usr/bin/ssh-askpass lindi at server.example.com's password: 


3) If I install the "ssh-askpass-gnome" package then I get a popup that
   properly asks for a password. However, if I spend more than 8 seconds
   typing the password then xpra timeouts:

xpra client version 0.9.4
2013-06-03 07:02:57,681 check_server_echo: server is not responding, redrawing spinners over the windows
2013-06-03 07:03:25,701 connection closed after 0 packets received (0 bytes) and 5 packets sent (8431 bytes)
2013-06-03 07:03:25,703 Connection lost
2013-06-03 07:03:25,773 check_server_echo: server is OK again, stopping redraw

   This is probably related to the previous bug I reported:
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710866

   I'm using one-time passwords so it is quite a challenge to type them
   in 8 seconds ;)

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/6 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xpra depends on:
ii  libavcodec53              6:0.8.7-1
ii  libc6                     2.17-4
ii  libswscale2               6:0.8.7-1
ii  libvpx1                   1.2.0-2
ii  libwebp2                  0.1.3-3+nmu1
ii  libx11-6                  2:1.5.0-1+deb7u1
ii  libx264-123               2:0.123.2189+git35cf912-1
ii  python                    2.7.3-5
ii  python-gtk2               2.24.0-3+b1
ii  python-wimpiggy           0.9.4+dfsg-1
ii  x11-xserver-utils         7.7~3
ii  xserver-xorg-input-void   1:1.4.0-1+b1
ii  xserver-xorg-video-dummy  1:0.3.5-2+b1

Versions of packages xpra recommends:
ii  openssh-client  1:6.2p2-3
ii  python-imaging  1.1.7-4
ii  ssh-askpass     1:1.2.4.1-9

Versions of packages xpra suggests:
ii  gstreamer0.10-plugins-bad   0.10.23-7.1
ii  gstreamer0.10-plugins-good  0.10.31-3+nmu1
ii  gstreamer0.10-plugins-ugly  0.10.19-2+b2
pn  openssh-server              <none>
ii  pulseaudio                  2.0-6.1
ii  pulseaudio-utils            2.0-6.1
ii  python-dbus                 1.2.0-1
ii  python-gst0.10              0.10.22-3
pn  python-gtkglext1            <none>

-- no debconf information



More information about the Python-apps-team mailing list