Package: xpra
Version: 0.14.3+dfsg-1
Severity: important

Steps to reproduce:

* be in a GNOME Shell session
* 'devel' is another Unix user on the same system
* (as devel) xpra start :123 --debug=all --no-daemon --start-child=xterm
* xpra --no-tray attach ssh:devel@localhost:123
  (works fine, xterm appears and can be used)
* xpra attach ssh:devel@localhost:123
  (xpra process has the output below and uses 100% of one CPU core
  until the connection attempt times out)
* Xephyr :2
* DISPLAY=:2 openbox
* DISPLAY=:2 xpra attach ssh:devel@localhost:123
  (works fine, xterm appears inside the Xephyr and can be used)

GNOME Shell does not have a traditional always-on-screen system tray,
but it does allow a gtk.StatusIcon to appear in the message area
(made visible by Super+M, i.e. Windows+M), and running xpra's internal test
code for status icons

    python 
/usr/lib/python2.7/dist-packages/xpra/client/gtk_base/statusicon_tray.py

correctly produces a flashing Xpra icon in the message area.

Log from failing attempt:

2014-08-25 09:54:14,286 xpra client version 0.14.3
2014-08-25 09:54:14,919 PyOpenGL warning: missing accelerate module
2014-08-25 09:54:14,919 PyOpenGL warning: missing array format handlers: 
numeric, vbo, vbooffset
2014-08-25 09:54:14,919 OpenGL Version: 3.0 Mesa 10.2.6
2014-08-25 09:54:14,928 make_tray_menu_helper() tray menu helper classes: 
[<class 'xpra.client.gtk2.tray_menu.GTK2TrayMenu'>]
2014-08-25 09:54:14,966 keyboard layouts: gb,us
2014-08-25 09:54:14,969 get_tray_title()=Xpra
2014-08-25 09:54:14,971 make_tray(<gtk.Menu object at 0x7fd290ecfaa0 (GtkMenu 
at 0x2374e20)>, 'Xpra', '', <function xpra_tray_geometry at 0x7fd290e6db90>, 
<function xpra_tray_click at 0x7fd290e6dc80>, <function xpra_tray_mouseover at 
0x7fd290e6dcf8>, <function xpra_tray_exit at 0x7fd290e6dd70>) tray 
classes=[<class 'xpra.client.gtk_base.statusicon_tray.GTKStatusIconTray'>]
2014-08-25 09:54:14,973 get_tray_icon_filename using default: 
/usr/share/xpra/icons/xpra.png
2014-08-25 09:54:14,973 set_icon_from_file(/usr/share/xpra/icons/xpra.png) 
tray_widget=<gtk.StatusIcon object at 0x7fd2923a3870 (GtkStatusIcon at 
0x28fda80)>
2014-08-25 09:54:14,974 GTKStatusIconTray.get_geometry() <gtk.StatusIcon object 
at 0x7fd2923a3870 (GtkStatusIcon at 
0x28fda80)>.get_geometry()=(<gtk.gdk.ScreenX11 object at 0x7fd2923a38c0 
(GdkScreenX11 at 0x2347e20)>, gtk.gdk.Rectangle(0, 0, 200, 200), <enum 
GTK_ORIENTATION_HORIZONTAL of type GtkOrientation>)
2014-08-25 09:54:14,974 GTKStatusIconTray.get_geometry() <gtk.StatusIcon object 
at 0x7fd2923a3870 (GtkStatusIcon at 
0x28fda80)>.get_geometry()=(<gtk.gdk.ScreenX11 object at 0x7fd2923a38c0 
(GdkScreenX11 at 0x2347e20)>, gtk.gdk.Rectangle(0, 0, 200, 200), <enum 
GTK_ORIENTATION_HORIZONTAL of type GtkOrientation>)
2014-08-25 09:54:14,974 set_icon_from_pixbuf(<gtk.gdk.Pixbuf object at 
0x7fd2923a3910 (GdkPixbuf at 0x2d8d320)>) geometry=(0, 0, 200, 200), icon 
size=(48, 48)
2014-08-25 09:54:14,977 
setup_xpra_tray()=<xpra.client.gtk_base.statusicon_tray.GTKStatusIconTray 
object at 0x7fd2923a2e50>
2014-08-25 09:54:14,977 get_tray_icon_filename using default: 
/usr/share/xpra/icons/xpra.png
2014-08-25 09:54:14,977 <gtk.StatusIcon object at 0x7fd2923a3870 (GtkStatusIcon 
at 0x28fda80)>.set_visible(True)
2014-08-25 09:54:14,986 make_notifier() notifier classes: [<function 
DBUS_Notifier_factory at 0x7fd2918b31b8>, <class 
'xpra.client.notifications.pynotify_notifier.PyNotify_Notifier'>, <class 
'xpra.client.gtk2.gtk2_notifier.GTK2_Notifier'>]
2014-08-25 09:54:14,988 using 
notifier=<xpra.client.notifications.dbus_notifier.DBUS_Notifier object at 
0x7fd2918aec50>
2014-08-25 09:54:15,011 detected keyboard: rules=evdev, model=pc105, layout=gb
2014-08-25 09:54:15,011 desktop size is 1366x768 with 1 screen(s):
2014-08-25 09:54:15,012   ':0.0' (361x203 mm) workarea: 1366x741 at 0x27
2014-08-25 09:54:15,012     LVDS1 (277x156 mm)
2014-08-25 09:54:15,075 GTKStatusIconTray.get_geometry() <gtk.StatusIcon object 
at 0x7fd2923a3870 (GtkStatusIcon at 
0x28fda80)>.get_geometry()=(<gtk.gdk.ScreenX11 object at 0x7fd2918c6c30 
(GdkScreenX11 at 0x2347e20)>, gtk.gdk.Rectangle(1240, 803, 48, 1), <enum 
GTK_ORIENTATION_HORIZONTAL of type GtkOrientation>)
2014-08-25 09:54:15,075 xpra_tray_geometry(<gtk.StatusIcon object at 
0x7fd2923a3870 (GtkStatusIcon at 0x28fda80)>, 1) geometry=(1240, 803, 48, 1)
2014-08-25 09:55:22,819 GTKStatusIconTray.get_geometry() <gtk.StatusIcon object 
at 0x7fd2923a3870 (GtkStatusIcon at 
0x28fda80)>.get_geometry()=(<gtk.gdk.ScreenX11 object at 0x7fd2918c6c30 
(GdkScreenX11 at 0x2347e20)>, gtk.gdk.Rectangle(1240, 780, 48, 48), <enum 
GTK_ORIENTATION_HORIZONTAL of type GtkOrientation>)
2014-08-25 09:55:22,820 xpra_tray_geometry(<gtk.StatusIcon object at 
0x7fd2923a3870 (GtkStatusIcon at 0x28fda80)>, 48) geometry=(1240, 780, 48, 48)
2014-08-25 09:55:22,822 The SSH process has terminated with exit code 0
2014-08-25 09:55:22,827 Connection to the xpra server via SSH failed for: 
ssh:devel@localhost:123
2014-08-25 09:55:22,827  the command line used was: ['ssh', '-l', 'devel', 
'-T', 'localhost', 'sh -c \'xpra initenv >> /dev/null 2>&1 || echo "Warning: 
xpra server does not support initenv" 1>&2;~/.xpra/run-xpra _proxy :123\'']
2014-08-25 09:55:22,827  check your username, hostname, display number, etc
2014-08-25 09:55:22,827 internal error: read connection 
TwoFileConnection(ssh:devel@localhost:123) closed: cannot read using ['ssh', 
'-l', 'devel', '-T', 'localhost', 'sh -c \'xpra initenv >> /dev/null 2>&1 || 
echo "Warning: xpra server does not support initenv" 1>&2;~/.xpra/run-xpra 
_proxy :123\'']: the SSH process has terminated with exit code=0
2014-08-25 09:55:22,828 internal error: write connection 
TwoFileConnection(ssh:devel@localhost:123) closed: cannot write using ['ssh', 
'-l', 'devel', '-T', 'localhost', 'sh -c \'xpra initenv >> /dev/null 2>&1 || 
echo "Warning: xpra server does not support initenv" 1>&2;~/.xpra/run-xpra 
_proxy :123\'']: the SSH process has terminated with exit code=0
2014-08-25 09:55:22,829 <gtk.StatusIcon object at 0x7fd2923a3870 (GtkStatusIcon 
at 0x28fda80)>.set_visible(False)
2014-08-25 09:55:22,829 cleanup() session_info=None

Log from statusicon_tray.py:

2014-08-25 10:00:34,660 get_tray_icon_filename using default: 
/usr/share/xpra/icons/xpra.png
2014-08-25 10:00:34,660 set_icon_from_file(/usr/share/xpra/icons/xpra.png) 
tray_widget=<gtk.StatusIcon object at 0x7f7444dddeb0 (GtkStatusIcon at 
0x13863a0)>
2014-08-25 10:00:34,662 GTKStatusIconTray.get_geometry() <gtk.StatusIcon object 
at 0x7f7444dddeb0 (GtkStatusIcon at 
0x13863a0)>.get_geometry()=(<gtk.gdk.ScreenX11 object at 0x7f7444961fa0 
(GdkScreenX11 at 0x1352a50)>, gtk.gdk.Rectangle(0, 0, 200, 200), <enum 
GTK_ORIENTATION_HORIZONTAL of type GtkOrientation>)
2014-08-25 10:00:34,662 GTKStatusIconTray.get_geometry() <gtk.StatusIcon object 
at 0x7f7444dddeb0 (GtkStatusIcon at 
0x13863a0)>.get_geometry()=(<gtk.gdk.ScreenX11 object at 0x7f7444961fa0 
(GdkScreenX11 at 0x1352a50)>, gtk.gdk.Rectangle(0, 0, 200, 200), <enum 
GTK_ORIENTATION_HORIZONTAL of type GtkOrientation>)
2014-08-25 10:00:34,662 set_icon_from_pixbuf(<gtk.gdk.Pixbuf object at 
0x7f7444903050 (GdkPixbuf at 0x1363c50)>) geometry=(0, 0, 200, 200), icon 
size=(48, 48)

-- System Information:
Debian Release: jessie/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xpra depends on:
ii  libavcodec55              6:10.4-1
ii  libavutil53               6:10.4-1
ii  libc6                     2.19-9
ii  libgtk2.0-0               2.24.24-1
ii  libswscale2               6:10.4-1
ii  libvpx1                   1.3.0-2.1
ii  libwebp5                  0.4.1-1.1
ii  libx11-6                  2:1.6.2-3
ii  libx264-142               2:0.142.2431+gita5831aa-1
ii  libxcomposite1            1:0.4.4-1
ii  libxdamage1               1:1.1.4-2
ii  libxext6                  2:1.3.2-1
ii  libxfixes3                1:5.0.1-2
ii  libxkbfile1               1:1.0.8-1
ii  libxrandr2                2:1.4.2-1
ii  libxtst6                  2:1.2.2-1
ii  python                    2.7.8-1
ii  python-gi-cairo           3.12.1-1+b1
ii  python-gtk2               2.24.0-4
ii  x11-xserver-utils         7.7+3
ii  xserver-xorg-input-void   1:1.4.0-1+b4
ii  xserver-xorg-video-dummy  1:0.3.7-1+b3

Versions of packages xpra recommends:
ii  openssh-client    1:6.6p1-7
ii  python-avahi      0.6.31-4
ii  python-gtkglext1  1.1.0-9.1
ii  python-lz4        0.7.0+dfsg-1
ii  python-lzo        1.08-1
ii  python-netifaces  0.10.4-0.1
ii  python-pil        2.5.3-1
ii  ssh-askpass       1:1.2.4.1-9

Versions of packages xpra suggests:
ii  gstreamer0.10-plugins-bad   0.10.23-7.2+b2
ii  gstreamer0.10-plugins-good  0.10.31-3+nmu3
ii  gstreamer0.10-plugins-ugly  0.10.19-2.1
ii  openssh-server              1:6.6p1-7
ii  pulseaudio                  5.0-6
ii  pulseaudio-utils            5.0-6
ii  python-dbus                 1.2.0-2+b3
ii  python-gst0.10              0.10.22-3
ii  python-pyopencl             2014.1-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to