xpra icon
Bug tracker and wiki

Opened 3 months ago

Last modified 3 weeks ago

#2849 new defect

Cannot re-connect to shadow session

Reported by: stdedos Owned by: Antoine Martin
Priority: major Milestone: 4.1
Component: client Version: 3.0.x
Keywords: Cc:

Description (last modified by stdedos)

Connected to shadow session

"Xpra-Python3-x86_64_4.1-r27002\xpra_cmd" shadow ssh://user@ip/0 --ssh="plink -ssh -agent" --env=XPRA_SHADOW_REFRESH_DELAY=200 --opengl=no --bandwidth-limit=6Mbps --desktop-scaling=0.75 --webcam=no --speaker=off --microphone=off --pulseaudio=no

Apart from seeing this abomination:

Black is out-of-monitor area, not sanitized

It seems that some mouse operations failed.
I couldn't click-drag a maximized window from DP-2 to DP-4.

So, I Ctrl+Ced it

───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: display-:0-$TIMESTAMP.log
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ 2020-07-21 12:54:08,484 created unix domain socket '/run/user/1000/xpra/u-h-0'
   2   │ 2020-07-21 12:54:08,484 created unix domain socket '/run/xpra/u-h-0'
   3   │ 2020-07-21 12:54:08,567 serving html content from '/usr/share/xpra/www'
   4   │ 2020-07-21 12:54:11,594 failed to instantiate the dbus notification handler:
   5   │ 2020-07-21 12:54:11,595  org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-bBmGusrp5q: Connection refused
   6   │ 2020-07-21 12:54:11,596  disable notifications to avoid this warning
   7   │ 2020-07-21 12:54:12,595 OpenGL is supported on display ':0'
   8   │ 2020-07-21 12:54:12,595  using 'Quadro P400/PCIe/SSE2' renderer
   9   │ 2020-07-21 12:54:12,601 Warning: failed to load the mdns publisher
  10   │ 2020-07-21 12:54:12,602  No module named 'avahi'
  11   │ 2020-07-21 12:54:12,602  either install the 'python-avahi' module
  12   │ 2020-07-21 12:54:12,602  or use the 'mdns=no' option
  13   │ 2020-07-21 12:54:15,614 Error setting up server dbus instance:
  14   │ 2020-07-21 12:54:15,614   org.freedesktop.DBus.Error.NoServer
  15   │ 2020-07-21 12:54:15,614   Failed to connect to socket /tmp/dbus-c3mKqs0H8u
  16   │ 2020-07-21 12:54:15,614   Connection refused
  17   │ 2020-07-21 12:54:18,627 notification forwarding is not available
  18   │ Warning: failed to query pulseaudio using 'pactl info'
  19   │  Connection failure: Connection refused
  20   │  pa_context_connect() failed: Connection refused
  21   │ Warning: failed to query pulseaudio using 'pactl info'
  22   │  Connection failure: Connection refused
  23   │  pa_context_connect() failed: Connection refused
  24   │ 2020-07-21 12:54:19,042 GStreamer version 1.8.3 for Python 3.5.2 64-bit
  25   │ 2020-07-21 12:54:19,054 Warning: failed to query pulseaudio using 'pactl info'
  26   │ 2020-07-21 12:54:19,054  Connection failure: Connection refused
  27   │ 2020-07-21 12:54:19,054  pa_context_connect() failed: Connection refused
  28   │ 2020-07-21 12:54:22,064 Warning: cannot load dbus helper:
  29   │ 2020-07-21 12:54:22,064  org.freedesktop.DBus.Error.NoServer
  30   │ 2020-07-21 12:54:22,064  Failed to connect to socket /tmp/dbus-ZwJTcC9tyH
  31   │ 2020-07-21 12:54:22,064  Connection refused
  32   │ 2020-07-21 12:54:22,076 printer forwarding enabled using pdf and postscript
  33   │ 2020-07-21 12:54:22,076 Warning: cannot watch for application menu changes without pyinotify:
  34   │ 2020-07-21 12:54:22,076  No module named 'pyinotify'
  35   │ 2020-07-21 12:54:22,084 xpra is ready.
  36   │ 2020-07-21 12:54:22,084 xpra GTK3 shadow version 3.0.10-r26630 64-bit
  37   │ 2020-07-21 12:54:22,313  uid=1000 (u), gid=1000 (u)
  38   │ 2020-07-21 12:54:22,313  running with pid 5345 on Linux Ubuntu 16.04 xenial
  39   │ 2020-07-21 12:54:22,314  on display ':0' of size 6400x1440
  40   │ 2020-07-21 12:54:22,314  with 3 monitors:
  41   │ 2020-07-21 12:54:22,314   DP-0             2560x1440 at    0,0   
  42   │ 2020-07-21 12:54:22,314   DP-2             1920x1080 at 2560,180 
  43   │ 2020-07-21 12:54:22,314   DP-4             1920x1080 at 4480,180 
  44   │ 2020-07-21 12:54:22,456 New unix-domain connection received
  45   │ 2020-07-21 12:54:22,462  on '/run/xpra/u-h-0'
  46   │ 2020-07-21 12:54:22,634 New unix-domain connection received
  47   │ 2020-07-21 12:54:22,634  on '/run/xpra/u-h-0'
  48   │ 2020-07-21 12:54:22,636 Handshake complete; enabling connection
  49   │ 2020-07-21 12:54:23,107 New unix-domain connection received
  50   │ 2020-07-21 12:54:23,108  on '/run/user/1000/xpra/u-h-0'
  51   │ 2020-07-21 12:54:23,114 New unix-domain connection received
  52   │ 2020-07-21 12:54:23,115  on '/run/xpra/u-h-0'
  53   │ 2020-07-21 12:54:23,232 Warning: icon is quite large (273 KB):
  54   │ 2020-07-21 12:54:23,233  '/usr/share/pixmaps/com.visualstudio.code.insiders.png'
  55   │ 2020-07-21 12:54:24,019 62.7GB of system memory
  56   │ 2020-07-21 12:54:25,842 Error setting up client dbus instance:
  57   │ 2020-07-21 12:54:25,843   org.freedesktop.DBus.Error.NoServer
  58   │ 2020-07-21 12:54:25,843   Failed to connect to socket /tmp/dbus-9IBm3nORAO
  59   │ 2020-07-21 12:54:25,843   Connection refused
  60   │ 2020-07-21 12:54:25,845  automatic picture encoding enabled, also available:
  61   │ 2020-07-21 12:54:25,845   rgb24, rgb32
  62   │ 2020-07-21 12:54:25,845 Python/GTK3 Microsoft Windows 10 aero client version 4.1-r27002 64-bit
  63   │ 2020-07-21 12:54:25,845  connected from 'pc-win' as 'u' - 'u.win'
  64   │ 2020-07-21 12:54:25,847 Warning: remote clipboard request timed out
  65   │ 2020-07-21 12:54:25,847  request id 0, selection=CLIPBOARD, target=TARGETS
  66   │ 2020-07-21 12:54:25,851 shadow server: setting default keymap translation
  67   │ 2020-07-21 12:54:25,858  client root window size is 5547x1920
  68   │ 2020-07-21 12:54:25,924 client   1 @23.433 Xpra GTK3 shadow server version 3.0.10-r26630 64-bit
  69   │ 2020-07-21 12:54:25,933 client   1 @23.434  running on Linux Ubuntu 16.04 xenial
  70   │ 2020-07-21 12:54:25,933 client   1 @23.434  remote desktop size is 6400x1440
  71   │ 2020-07-21 12:54:27,390 Warning: remote clipboard request timed out
  72   │ 2020-07-21 12:54:27,390  request id 1, selection=CLIPBOARD, target=TARGETS
  73   │ 2020-07-21 12:54:27,674 Warning: request id 1 not found
  74   │ 2020-07-21 12:54:27,674  timed out already?
  75   │ 2020-07-21 12:54:27,749 Warning: not adding duplicate printer 'Send To OneNote 16'
  76   │ 2020-07-21 12:54:27,749 Warning: not adding duplicate printer 'Microsoft Print to PDF'
  77   │ 2020-07-21 12:54:27,750 Warning: not adding duplicate printer 'OneNote for Windows 10'
  78   │ 2020-07-21 12:54:38,029 client   1 @35.523 server is not responding, drawing spinners over the windows
  79   │ 2020-07-21 12:54:38,355 client   1 @35.866 server is OK again
  80   │ 2020-07-21 12:56:24,195 client   1 @21.699 server is not responding, drawing spinners over the windows
  81   │ 2020-07-21 12:56:24,553 client   1 @22.060 server is OK again
  82   │ 2020-07-21 12:56:38,271 client   1 @35.782 unknown string message: 0xc1d4 / 0xc098 / 0x0
  83   │ 2020-07-21 12:57:07,199 client   1 @04.709 unknown string message: 0xc1d4 / 0xc098 / 0x0
  84   │ 2020-07-21 12:58:36,266 client   1 @33.745 server is not responding, drawing spinners over the windows
  85   │ 2020-07-21 12:58:36,618 client   1 @34.129 server is OK again
  86   │ 2020-07-21 12:59:11,768 client   1 @09.233 server is not responding, drawing spinners over the windows
  87   │ 2020-07-21 12:59:13,126 client   1 @10.631 server is OK again
  88   │ 2020-07-21 13:09:18,359 client   1 @15.867 Python/GTK3 Client got signal SIGINT
  89   │ 2020-07-21 13:09:18,388 client   1 @15.873 exiting
  90   │ 2020-07-21 13:09:18,388 client   1 @15.877 Python/GTK3 Client got signal SIGINT
  91   │ 2020-07-21 13:09:18,389 client   1 @15.879 exiting
  92   │ 2020-07-21 13:09:18,389 client has requested disconnection: exit on signal SIGINT
  93   │ 2020-07-21 13:09:18,389 Disconnecting client /run/xpra/sntentos-precision-t3620-0:
  94   │ 2020-07-21 13:09:18,389  client request
  95   │ 2020-07-21 13:09:18,408 xpra client 1 disconnected.
  96   │ 2020-07-21 13:09:18,417 Last client has disconnected, terminating
  97   │ 2020-07-21 13:09:18,464 removing socket '/run/user/1000/xpra/u-h-0'
  98   │ 2020-07-21 13:09:18,465 removing socket '/run/xpra/u-h-0'
  99   │ xpra initialization error:
 100   │  cannot find live server for display :0
 101   │ xpra initialization error:
 102   │  cannot find live server for display :0
───────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
$ xpra list
Found the following xpra sessions:
/run/user/1000/xpra:
	LIVE session at :2
/run/xpra:
	LIVE session at :2

and tried again:

"Xpra-Python3-x86_64_4.1-r27002\xpra_cmd" shadow ssh://user@ip/0 --ssh="plink -ssh -agent" --env=XPRA_SHADOW_REFRESH_DELAY=200 --title="@title@ on @@/@server-display@" --headerbar=off --opengl=no --bandwidth-limit=6Mbps --desktop-scaling=0.75 --webcam=no --speaker=off --microphone=off --pulseaudio=no

2020-07-21 13:11:29,801 Xpra GTK3 client version 4.1-r27002 64-bit
2020-07-21 13:11:29,805  running on Microsoft Windows 10
2020-07-21 13:11:30,956 GStreamer version 1.16.2 for Python 3.8.4 64-bit
2020-07-21 13:11:31,600 keyboard layout code 0x409
2020-07-21 13:11:31,601 identified as 'United States - English' : us
2020-07-21 13:11:31,901  keyboard settings: layout=us
2020-07-21 13:11:31,903  desktop size is 4160x1440 with 1 screen:
2020-07-21 13:11:31,904   Default (1100x381 mm - DPI: 96x96) workarea: 4160x1400
2020-07-21 13:11:31,904     Generic PnP Monitor 1600x900 at 0x534 (309x174 mm - DPI: 131x131) workarea: 1600x860 at 0x534
2020-07-21 13:11:31,904     C32JG5x 2560x1440 at 1600x0 (697x392 mm - DPI: 93x93) workarea: 2560x1400 at 1600x0
2020-07-21 13:11:31,904  downscaled to 75%, virtual screen size: 5547x1920
2020-07-21 13:11:31,904   Default (1100x381 mm - DPI: 128x128) workarea: 5547x1867
2020-07-21 13:11:31,905     Generic PnP Monitor 2133x1200 at 0x712 (309x174 mm - DPI: 175x175) workarea: 2133x1147 at 0x712
2020-07-21 13:11:31,905     C32JG5x 3413x1920 at 2133x0 (697x392 mm - DPI: 124x124) workarea: 3413x1867 at 2133x0
2020-07-21 13:11:35,492 Error: failed to receive anything, not an xpra server?
2020-07-21 13:11:35,493   could also be the wrong protocol, username, password or port
2020-07-21 13:11:35,493   or the session was not found
2020-07-21 13:11:35,496 Connection lost
Press any key to continue . . .

Attachments (1)

Xpra-shadow_cmd_2020-07-21_12-55-13.jpg (486.6 KB) - added by stdedos 3 months ago.

Download all attachments as: .zip

Change History (3)

Changed 3 months ago by stdedos

comment:1 Changed 3 months ago by stdedos

Description: modified (diff)

comment:2 Changed 3 months ago by stdedos

Apart from what you've seen (I guess that's where ticket:2762#comment:31 comes from), this layout also:

  • Triggers a variant of #2133 (I cannot right-click,minimize DP-2)
Last edited 3 weeks ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.