Xpra: Ticket #1997: connection failed: No module named paramiko

Running

$ xpra start ssh://sntentos@localhost --start-child=gnome-terminal --terminate-children=yes --exit-with-children=yes

gives

2018-10-23 11:01:37,933 Xpra gtk2 client version 2.4-r20681 64-bit
2018-10-23 11:01:37,934  running on Linux Ubuntu 16.04 xenial
2018-10-23 11:01:37,935  window manager is 'Compiz'
2018-10-23 11:01:38,027 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
2018-10-23 11:01:38,257 OpenGL enabled with GeForce GT 640/PCIe/SSE2
xpra initialization error:
 connection failed: No module named paramiko
$ neofetch
            .-/+oossssoo+/-.               sntentos@sntentos-precision-t3620
        `:+ssssssssssssssssss+:`           ---------------------------------
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 16.04.5 LTS x86_64
    .ossssssssssssssssssdMMMNysssso.       Host: Precision Tower 3620
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 4.15.0-36-generic
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 7 days, 23 hours, 30 mins
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 2616 (dpkg), 3 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 4.3.48
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1680x1050, 1920x1080, 1920x1080
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: Unity
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Compiz
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Ambiance
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Ambiance [GTK2/3]
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: ubuntu-mono-dark [GTK2/3]
  +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: gnome-terminal
   /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: Intel i7-7700 (8) @ 4.200GHz
    .ossssssssssssssssssdMMMNysssso.       GPU: Intel Device 5912
      -+sssssssssssssssssyyyssss+-         GPU: NVIDIA GeForce GT 640 OEM
        `:+ssssssssssssssssss+:`           Memory: 18545MiB / 64183MiB
            .-/+oossssoo+/-.

I did read of an --ssh flag, but I am unsure of how to use it for a workaround

Trying the same command from Windows 10, it connects normally etc, but gives me no terminal window. Interrupting the client leaves no trace in the server



Tue, 23 Oct 2018 08:21:22 GMT - Antoine Martin: owner changed

The DEB package recommends python-paramiko so you must have configured your system not to install those soft dependencies.

Either:

in /etc/xpra/conf.d/40_client.conf. This should have been the default and will choose whichever backend is available at runtime. (r20785 does that)


Tue, 23 Oct 2018 08:41:04 GMT - stdedos: owner changed

I don't remember excluding them - my bad, I guess. I tried with the .conf change and server insta-starts-and-closes:

$  tail -vFn+1 /run/user/1000/xpra/:1.log
==> /run/user/1000/xpra/:1.log <==
2018-10-23 11:27:52,961 Error: cannot enable SSH socket upgrades:
2018-10-23 11:27:52,961  No module named paramiko
2018-10-23 11:27:52,962 cannot access python uinput module:
2018-10-23 11:27:52,962  No module named uinput
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
2018-10-23 11:27:53,070 created unix domain socket: /run/user/1000/xpra/sntentos-precision-t3620-1
2018-10-23 11:27:53,071 cannot create group socket '/run/xpra/sntentos-precision-t3620-1'
2018-10-23 11:27:53,071  [Errno 13] Permission denied
2018-10-23 11:27:53,111 pointer device emulation using XTest
2018-10-23 11:27:53,651  OpenGL is supported on this display
WARNING: no 'numpy' module, HyBi protocol will be slower
2018-10-23 11:27:53,673 serving html content from: /usr/share/xpra/www
2018-10-23 11:27:53,735 D-Bus notification forwarding is available
2018-10-23 11:27:53,741 pulseaudio server started with pid 1562
2018-10-23 11:27:53,741  private server socket path:
2018-10-23 11:27:53,741  '/run/user/1000/xpra/pulse-1/pulse/native'
2018-10-23 11:27:53,804 Warning: failed to load the mdns publisher
2018-10-23 11:27:53,804  No module named avahi
2018-10-23 11:27:53,804  either fix your installation or use the 'mdns=no' option
2018-10-23 11:27:53,804 xpra X11 version 2.4-r20681 64-bit
2018-10-23 11:27:53,805  uid=1000 (sntentos), gid=1000 (sntentos)
2018-10-23 11:27:53,805  running with pid 1496 on Linux Ubuntu 16.04 xenial
2018-10-23 11:27:53,805  connected to X11 display :1 with 24 bit colors
2018-10-23 11:27:53,838 xpra is ready.
2018-10-23 11:27:53,909 printer forwarding enabled using postscript and pdf
2018-10-23 11:27:53,912 started command 'gnome-terminal' with pid 1575
2018-10-23 11:27:53,914 62.7GB of system memory
2018-10-23 11:27:54,113 child 'gnome-terminal' with pid 1575 has terminated
2018-10-23 11:27:54,113 all children have exited and --exit-with-children was specified, exiting
2018-10-23 11:27:54,114 stopping pulseaudio with pid 1562
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/xpra/server/mixins/window_server.py", line 125, in _update_metadata
    wid = self._window_to_id[window]
KeyError: WindowModel(0x100000a)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/xpra/server/mixins/window_server.py", line 125, in _update_metadata
    wid = self._window_to_id[window]
KeyError: WindowModel(0x100000a)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/xpra/server/mixins/window_server.py", line 125, in _update_metadata
    wid = self._window_to_id[window]
KeyError: WindowModel(0x100000a)
2018-10-23 11:27:54,628 killing xvfb with pid 1497
2018-10-23 11:27:54,629 removing socket /run/user/1000/xpra/sntentos-precision-t3620-1

and the client follows shortly with:

xpra start ssh://sntentos@localhost --start-child=gnome-terminal --terminate-children=yes --exit-with-children=yes
2018-10-23 11:27:51,044 Xpra gtk2 client version 2.4-r20681 64-bit
2018-10-23 11:27:51,045  running on Linux Ubuntu 16.04 xenial
2018-10-23 11:27:51,045  window manager is 'Compiz'
2018-10-23 11:27:51,121 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
2018-10-23 11:27:51,312 OpenGL enabled with GeForce GT 640/PCIe/SSE2
2018-10-23 11:27:51,383  keyboard settings: rules=evdev, model=pc105, layout=us
2018-10-23 11:27:51,386  desktop size is 5520x1080 with 1 screen:
2018-10-23 11:27:51,386   :0.0 (1461x286 mm - DPI: 95x95) workarea: 5461x1056 at 59x24
2018-10-23 11:27:51,386     monitor 1 1680x1050 at 0x30 (474x296 mm - DPI: 90x90)
2018-10-23 11:27:51,386     monitor 2 1920x1080 at 1680x0 (527x296 mm - DPI: 92x92)
2018-10-23 11:27:51,386     monitor 3 1920x1080 at 3600x0 (527x296 mm - DPI: 92x92)
Host key fingerprint is SHA256:SpUFXuAU1tAZx/41vXsSl6LAqdyuaGeaSV3kEdkHH08
+---[ECDSA 256]---+
|        BO*=o. E |
|       = ==oo.+  |
|        =o ... ..|
|       .o . .  .o|
|      . So.  . .+|
|     ....+   .oo.|
|     .o.o . . .o.|
|    ..+= . .  ...|
|    .=+.o.     ..|
+----[SHA256]-----+
Entering daemon mode; any further errors will be reported to:
  /run/user/1000/xpra/S1466.log
Actual display used: :1
Actual log file name is now: /run/user/1000/xpra/:1.log
xpra initialization error:
 failed to identify the new server display!
2018-10-23 11:29:23,129 Error: failed to receive anything, not an xpra server?
2018-10-23 11:29:23,129   could also be the wrong protocol, username, password or port
2018-10-23 11:29:23,129   or the session was not found
2018-10-23 11:29:23,129 Connection lost

with the basic xpra start ssh://sntentos@localhost --start=gnome-terminal however, I do get something, but no "image":

xpra start ssh://sntentos@localhost --start=gnome-terminal
2018-10-23 11:31:59,604 Xpra gtk2 client version 2.4-r20681 64-bit
2018-10-23 11:31:59,605  running on Linux Ubuntu 16.04 xenial
2018-10-23 11:31:59,605  window manager is 'Compiz'
2018-10-23 11:31:59,691 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
2018-10-23 11:31:59,933 OpenGL enabled with GeForce GT 640/PCIe/SSE2
2018-10-23 11:32:00,009  keyboard settings: rules=evdev, model=pc105, layout=us
2018-10-23 11:32:00,010  desktop size is 5520x1080 with 1 screen:
2018-10-23 11:32:00,010   :0.0 (1461x286 mm - DPI: 95x95) workarea: 5461x1056 at 59x24
2018-10-23 11:32:00,010     monitor 1 1680x1050 at 0x30 (474x296 mm - DPI: 90x90)
2018-10-23 11:32:00,011     monitor 2 1920x1080 at 1680x0 (527x296 mm - DPI: 92x92)
2018-10-23 11:32:00,011     monitor 3 1920x1080 at 3600x0 (527x296 mm - DPI: 92x92)
Host key fingerprint is SHA256:SpUFXuAU1tAZx/41vXsSl6LAqdyuaGeaSV3kEdkHH08
+---[ECDSA 256]---+
|        BO*=o. E |
|       = ==oo.+  |
|        =o ... ..|
|       .o . .  .o|
|      . So.  . .+|
|     ....+   .oo.|
|     .o.o . . .o.|
|    ..+= . .  ...|
|    .=+.o.     ..|
+----[SHA256]-----+
2018-10-23 11:32:00,060 Warning: invalid frame extents value '[0, 0, 0, 0, 0, 0, 28, 0]'
2018-10-23 11:32:00,060  this is probably a bug in 'Compiz'
2018-10-23 11:32:00,060  using '[0, 0, 28, 0]' instead
Entering daemon mode; any further errors will be reported to:
  /run/user/1000/xpra/S6253.log
Actual display used: :2
Actual log file name is now: /run/user/1000/xpra/:2.log
2018-10-23 11:32:04,309 enabled fast mmap transfers using 256MB shared memory area
2018-10-23 11:32:04,310 enabled remote logging
2018-10-23 11:32:04,310 Xpra X11 server version 2.4-r20681 64-bit
2018-10-23 11:32:04,311  running on Linux Ubuntu 16.04 xenial
2018-10-23 11:32:04,440 server does not support xi input devices
2018-10-23 11:32:04,440  server uses: xtest
tail: '/run/user/1000/xpra/:1.log' has been replaced;  following new file
2018-10-23 11:31:02,230 Error: cannot enable SSH socket upgrades:
2018-10-23 11:31:02,231  No module named paramiko
2018-10-23 11:31:02,231 cannot access python uinput module:
2018-10-23 11:31:02,231  No module named uinput
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
2018-10-23 11:31:02,352 created unix domain socket: /run/user/1000/xpra/sntentos-precision-t3620-1
2018-10-23 11:31:02,352 cannot create group socket '/run/xpra/sntentos-precision-t3620-1'
2018-10-23 11:31:02,352  [Errno 13] Permission denied
2018-10-23 11:31:02,398 pointer device emulation using XTest
2018-10-23 11:31:02,953  OpenGL is supported on this display
WARNING: no 'numpy' module, HyBi protocol will be slower
2018-10-23 11:31:02,979 serving html content from: /usr/share/xpra/www
2018-10-23 11:31:03,041 D-Bus notification forwarding is available
2018-10-23 11:31:03,047 pulseaudio server started with pid 5037
2018-10-23 11:31:03,047  private server socket path:
2018-10-23 11:31:03,047  '/run/user/1000/xpra/pulse-1/pulse/native'
2018-10-23 11:31:03,115 Warning: failed to load the mdns publisher
2018-10-23 11:31:03,115  No module named avahi
2018-10-23 11:31:03,115  either fix your installation or use the 'mdns=no' option
2018-10-23 11:31:03,116 xpra X11 version 2.4-r20681 64-bit
2018-10-23 11:31:03,116  uid=1000 (sntentos), gid=1000 (sntentos)
2018-10-23 11:31:03,116  running with pid 4985 on Linux Ubuntu 16.04 xenial
2018-10-23 11:31:03,116  connected to X11 display :1 with 24 bit colors
2018-10-23 11:31:03,151 xpra is ready.
2018-10-23 11:31:03,221 printer forwarding enabled using postscript and pdf
2018-10-23 11:31:03,228 62.7GB of system memory
2018-10-23 11:31:04,008 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-1
2018-10-23 11:31:04,230 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-1
2018-10-23 11:31:04,338 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-1
2018-10-23 11:31:04,343 Handshake complete; enabling connection
2018-10-23 11:31:04,354  mmap is enabled using 256MB area in /run/user/1000/xpra/xpra.H5T0mA.mmap
2018-10-23 11:31:04,355 Python/Gtk2 Linux Ubuntu 16.04 xenial x11 client version 2.4-r20681 64-bit
2018-10-23 11:31:04,355  connected from 'sntentos-precision-t3620' as 'sntentos' - 'Stavros'
2018-10-23 11:31:04,403 setting key repeat rate from client: 500ms delay / 30ms interval
2018-10-23 11:31:04,404 setting keymap: rules=evdev, model=pc105, layout=us
2018-10-23 11:31:04,415 setting keyboard layout to 'us'
2018-10-23 11:31:04,433  client root window size is 5520x1080 with 1 display:
2018-10-23 11:31:04,433   :0.0 (1461x286 mm - DPI: 95x95) workarea: 5461x1056 at 59x24
2018-10-23 11:31:04,433     monitor 1 1680x1050 at 0x30 (474x296 mm - DPI: 90x90)
2018-10-23 11:31:04,433     monitor 2 1920x1080 at 1680x0 (527x296 mm - DPI: 92x92)
2018-10-23 11:31:04,433     monitor 3 1920x1080 at 3600x0 (527x296 mm - DPI: 92x92)
2018-10-23 11:31:04,957 server virtual display now set to 5520x1080
2018-10-23 11:31:04,978 client @04.997 Xpra X11 server version 2.4-r20681 64-bit
2018-10-23 11:31:04,978 client @04.997  running on Linux Ubuntu 16.04 xenial
2018-10-23 11:31:04,986 DPI set to 96 x 96
2018-10-23 11:31:05,005 Warning: the python netifaces package is missing
2018-10-23 11:31:05,110 client @05.134 server does not support xi input devices
2018-10-23 11:31:05,111 client @05.134  server uses: xtest

It might be gnome-terminal-specific, since xterm works nicely on both cases:

xpra start ssh://sntentos@localhost --start-child=xterm --terminate-children=yes --exit-with-children=yes
2018-10-23 11:34:43,568 Xpra gtk2 client version 2.4-r20681 64-bit
2018-10-23 11:34:43,569  running on Linux Ubuntu 16.04 xenial
2018-10-23 11:34:43,569  window manager is 'Compiz'
2018-10-23 11:34:43,644 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
2018-10-23 11:34:43,802 OpenGL enabled with GeForce GT 640/PCIe/SSE2
2018-10-23 11:34:43,879  keyboard settings: rules=evdev, model=pc105, layout=us
2018-10-23 11:34:43,880  desktop size is 5520x1080 with 1 screen:
2018-10-23 11:34:43,880   :0.0 (1461x286 mm - DPI: 95x95) workarea: 5461x1056 at 59x24
2018-10-23 11:34:43,880     monitor 1 1680x1050 at 0x30 (474x296 mm - DPI: 90x90)
2018-10-23 11:34:43,880     monitor 2 1920x1080 at 1680x0 (527x296 mm - DPI: 92x92)
2018-10-23 11:34:43,881     monitor 3 1920x1080 at 3600x0 (527x296 mm - DPI: 92x92)
Host key fingerprint is SHA256:SpUFXuAU1tAZx/41vXsSl6LAqdyuaGeaSV3kEdkHH08
+---[ECDSA 256]---+
|        BO*=o. E |
|       = ==oo.+  |
|        =o ... ..|
|       .o . .  .o|
|      . So.  . .+|
|     ....+   .oo.|
|     .o.o . . .o.|
|    ..+= . .  ...|
|    .=+.o.     ..|
+----[SHA256]-----+
Entering daemon mode; any further errors will be reported to:
  /run/user/1000/xpra/S10048.log
Actual display used: :4
Actual log file name is now: /run/user/1000/xpra/:4.log
2018-10-23 11:34:48,066 enabled fast mmap transfers using 256MB shared memory area
2018-10-23 11:34:48,067 enabled remote logging
2018-10-23 11:34:48,067 Xpra X11 server version 2.4-r20681 64-bit
2018-10-23 11:34:48,067  running on Linux Ubuntu 16.04 xenial
2018-10-23 11:34:48,175 server does not support xi input devices
2018-10-23 11:34:48,175  server uses: xtest
### (Ctrl+D on xterm)
2018-10-23 11:34:49,964 server requested disconnect:
2018-10-23 11:34:49,965  server shutdown
$	tail -vFn+1 /run/user/1000/xpra/:4.log
==> /run/user/1000/xpra/:4.log <==
2018-10-23 11:34:45,497 Error: cannot enable SSH socket upgrades:
2018-10-23 11:34:45,497  No module named paramiko
2018-10-23 11:34:45,497 cannot access python uinput module:
2018-10-23 11:34:45,497  No module named uinput
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
2018-10-23 11:34:45,609 created unix domain socket: /run/user/1000/xpra/sntentos-precision-t3620-4
2018-10-23 11:34:45,609 cannot create group socket '/run/xpra/sntentos-precision-t3620-4'
2018-10-23 11:34:45,609  [Errno 13] Permission denied
2018-10-23 11:34:45,652 pointer device emulation using XTest
2018-10-23 11:34:46,191  OpenGL is supported on this display
WARNING: no 'numpy' module, HyBi protocol will be slower
2018-10-23 11:34:46,216 serving html content from: /usr/share/xpra/www
2018-10-23 11:34:46,279 D-Bus notification forwarding is available
2018-10-23 11:34:46,285 pulseaudio server started with pid 10218
2018-10-23 11:34:46,286  private server socket path:
2018-10-23 11:34:46,286  '/run/user/1000/xpra/pulse-4/pulse/native'
2018-10-23 11:34:46,347 Warning: failed to load the mdns publisher
2018-10-23 11:34:46,347  No module named avahi
2018-10-23 11:34:46,347  either fix your installation or use the 'mdns=no' option
2018-10-23 11:34:46,347 xpra X11 version 2.4-r20681 64-bit
2018-10-23 11:34:46,347  uid=1000 (sntentos), gid=1000 (sntentos)
2018-10-23 11:34:46,347  running with pid 10091 on Linux Ubuntu 16.04 xenial
2018-10-23 11:34:46,347  connected to X11 display :4 with 24 bit colors
2018-10-23 11:34:46,380 xpra is ready.
2018-10-23 11:34:46,450 printer forwarding enabled using postscript and pdf
2018-10-23 11:34:46,452 started command 'xterm' with pid 10231
2018-10-23 11:34:46,454 62.7GB of system memory
2018-10-23 11:34:47,116 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-4
2018-10-23 11:34:47,387 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-4
2018-10-23 11:34:47,457 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-4
2018-10-23 11:34:47,465 Handshake complete; enabling connection
2018-10-23 11:34:47,482  mmap is enabled using 256MB area in /run/user/1000/xpra/xpra.O2dcr3.mmap
2018-10-23 11:34:47,483 Python/Gtk2 Linux Ubuntu 16.04 xenial x11 client version 2.4-r20681 64-bit
2018-10-23 11:34:47,483  connected from 'sntentos-precision-t3620' as 'sntentos' - 'Stavros'
2018-10-23 11:34:47,520 setting key repeat rate from client: 500ms delay / 30ms interval
2018-10-23 11:34:47,521 setting keymap: rules=evdev, model=pc105, layout=us
2018-10-23 11:34:47,532 setting keyboard layout to 'us'
2018-10-23 11:34:47,548  client root window size is 5520x1080 with 1 display:
2018-10-23 11:34:47,548   :0.0 (1461x286 mm - DPI: 95x95) workarea: 5461x1056 at 59x24
2018-10-23 11:34:47,548     monitor 1 1680x1050 at 0x30 (474x296 mm - DPI: 90x90)
2018-10-23 11:34:47,548     monitor 2 1920x1080 at 1680x0 (527x296 mm - DPI: 92x92)
2018-10-23 11:34:47,549     monitor 3 1920x1080 at 3600x0 (527x296 mm - DPI: 92x92)
2018-10-23 11:34:48,059 server virtual display now set to 5520x1080
2018-10-23 11:34:48,070 client @05.091 Xpra X11 server version 2.4-r20681 64-bit
2018-10-23 11:34:48,070 client @05.091  running on Linux Ubuntu 16.04 xenial
2018-10-23 11:34:48,106 DPI set to 96 x 96
2018-10-23 11:34:48,176 client @05.199 server does not support xi input devices
2018-10-23 11:34:48,176 client @05.200  server uses: xtest
2018-10-23 11:34:48,206 Warning: the python netifaces package is missing
2018-10-23 11:34:49,937 child 'xterm' with pid 10231 has terminated
2018-10-23 11:34:49,938 all children have exited and --exit-with-children was specified, exiting
2018-10-23 11:34:49,951 Disconnecting client Protocol(unix-domain socket:/run/user/1000/xpra/sntentos-precision-t3620-4):
2018-10-23 11:34:49,952  server shutdown
2018-10-23 11:34:49,954 xpra client 1 disconnected.
2018-10-23 11:34:49,956 stopping pulseaudio with pid 10218
2018-10-23 11:34:50,491 killing xvfb with pid 10092
2018-10-23 11:34:50,492 removing socket /run/user/1000/xpra/sntentos-precision-t3620-4

Tue, 23 Oct 2018 08:43:59 GMT - Antoine Martin: status changed; resolution set

That's unrelated to the ssh problem in this ticket, you can verify this by running with --ssh="ssh -x".

Your server is terminating because gnome-terminal exits and you have specified --exit-with-children:

child 'gnome-terminal' with pid 1575 has terminated
all children have exited and --exit-with-children was specified, exiting

Please use a different ticket if you still have problems with that.


Tue, 23 Oct 2018 08:46:45 GMT - Antoine Martin:

For future reference, the paramiko client ticket was here: #1646


Tue, 23 Oct 2018 10:49:32 GMT - stdedos:

Still no GUI on the window. I know that the server is terminating because I asked it to; ran without it however:

$ xpra --ssh='ssh -x' start ssh://sntentos@localhost --start-child=gnome-terminal
2018-10-23 13:46:32,997 Xpra gtk2 client version 2.4-r20681 64-bit
2018-10-23 13:46:32,998  running on Linux Ubuntu 16.04 xenial
2018-10-23 13:46:32,998  window manager is 'Compiz'
2018-10-23 13:46:33,073 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
2018-10-23 13:46:33,305 OpenGL enabled with GeForce GT 640/PCIe/SSE2
2018-10-23 13:46:33,379  keyboard settings: rules=evdev, model=pc105, layout=us
2018-10-23 13:46:33,381  desktop size is 5520x1080 with 1 screen:
2018-10-23 13:46:33,381   :0.0 (1461x286 mm - DPI: 95x95) workarea: 5461x1056 at 59x24
2018-10-23 13:46:33,381     monitor 1 1680x1050 at 0x30 (474x296 mm - DPI: 90x90)
2018-10-23 13:46:33,381     monitor 2 1920x1080 at 1680x0 (527x296 mm - DPI: 92x92)
2018-10-23 13:46:33,381     monitor 3 1920x1080 at 3600x0 (527x296 mm - DPI: 92x92)
Host key fingerprint is SHA256:SpUFXuAU1tAZx/41vXsSl6LAqdyuaGeaSV3kEdkHH08
+---[ECDSA 256]---+
|        BO*=o. E |
|       = ==oo.+  |
|        =o ... ..|
|       .o . .  .o|
|      . So.  . .+|
|     ....+   .oo.|
|     .o.o . . .o.|
|    ..+= . .  ...|
|    .=+.o.     ..|
+----[SHA256]-----+
2018-10-23 13:46:33,429 Warning: invalid frame extents value '[0, 0, 0, 0, 0, 0, 28, 0]'
2018-10-23 13:46:33,429  this is probably a bug in 'Compiz'
2018-10-23 13:46:33,429  using '[0, 0, 28, 0]' instead
Entering daemon mode; any further errors will be reported to:
  /run/user/1000/xpra/S21790.log
Actual display used: :6
Actual log file name is now: /run/user/1000/xpra/:6.log
2018-10-23 13:46:37,679 unknown packet type: server-event
2018-10-23 13:46:37,685 enabled fast mmap transfers using 256MB shared memory area
2018-10-23 13:46:37,685 enabled remote logging
2018-10-23 13:46:37,685 Xpra X11 server version 2.4-r20681 64-bit
2018-10-23 13:46:37,686  running on Linux Ubuntu 16.04 xenial
2018-10-23 13:46:37,798 server does not support xi input devices
2018-10-23 13:46:37,798  server uses: xtest
   # No window shown, killing server
^C
got signal SIGINT, exiting
2018-10-23 13:48:36,806 The SSH process has terminated with exit code 0
2018-10-23 13:48:36,807  the command line used was:
2018-10-23 13:48:36,807  ssh -x -l sntentos -T localhost sh -c 'xpra initenv;if [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy_start "--ssh=ssh -x" "--start-child=gnome-terminal";elif which "xpra" > /dev/null 2>&1; then xpra _proxy_start "--ssh=ssh -x" "--start-child=gnome-terminal";elif [ -x /usr/local/bin/xpra ]; then /usr/local/bin/xpra _proxy_start "--ssh=ssh -x" "--start-child=gnome-terminal";elif [ -x ~/.xpra/run-xpra ]; then ~/.xpra/run-xpra _proxy_start "--ssh=ssh -x" "--start-child=gnome-terminal";else echo "no run-xpra command found"; exit 1; fi'
tail: '/run/user/1000/xpra/:6.log' has been replaced;  following new file
2018-10-23 13:46:34,973 Error: cannot enable SSH socket upgrades:
2018-10-23 13:46:34,973  No module named paramiko
2018-10-23 13:46:34,974 cannot access python uinput module:
2018-10-23 13:46:34,974  No module named uinput
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
2018-10-23 13:46:35,088 created unix domain socket: /run/user/1000/xpra/sntentos-precision-t3620-6
2018-10-23 13:46:35,088 cannot create group socket '/run/xpra/sntentos-precision-t3620-6'
2018-10-23 13:46:35,088  [Errno 13] Permission denied
2018-10-23 13:46:35,130 pointer device emulation using XTest
2018-10-23 13:46:35,130 Warning: the 'start-child' option is used,
2018-10-23 13:46:35,130  but 'exit-with-children' is not enabled,
2018-10-23 13:46:35,130  use 'start' instead
2018-10-23 13:46:35,665  OpenGL is supported on this display
WARNING: no 'numpy' module, HyBi protocol will be slower
2018-10-23 13:46:35,689 serving html content from: /usr/share/xpra/www
2018-10-23 13:46:35,748 D-Bus notification forwarding is available
2018-10-23 13:46:35,754 pulseaudio server started with pid 21877
2018-10-23 13:46:35,754  private server socket path:
2018-10-23 13:46:35,754  '/run/user/1000/xpra/pulse-6/pulse/native'
2018-10-23 13:46:35,817 Warning: failed to load the mdns publisher
2018-10-23 13:46:35,817  No module named avahi
2018-10-23 13:46:35,818  either fix your installation or use the 'mdns=no' option
2018-10-23 13:46:35,818 xpra X11 version 2.4-r20681 64-bit
2018-10-23 13:46:35,818  uid=1000 (sntentos), gid=1000 (sntentos)
2018-10-23 13:46:35,818  running with pid 21807 on Linux Ubuntu 16.04 xenial
2018-10-23 13:46:35,818  connected to X11 display :6 with 24 bit colors
2018-10-23 13:46:35,853 xpra is ready.
2018-10-23 13:46:35,921 printer forwarding enabled using postscript and pdf
2018-10-23 13:46:35,925 started command 'gnome-terminal' with pid 21898
2018-10-23 13:46:35,927 62.7GB of system memory
2018-10-23 13:46:36,166 child 'gnome-terminal' with pid 21898 has terminated
2018-10-23 13:46:36,704 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-6
2018-10-23 13:46:36,705 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-6
2018-10-23 13:46:36,732 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-6
2018-10-23 13:46:36,861 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-6
2018-10-23 13:46:36,862 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-6
2018-10-23 13:46:36,869 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-6
2018-10-23 13:46:37,048 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-6
2018-10-23 13:46:37,051 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-6
2018-10-23 13:46:37,057 Handshake complete; enabling connection
2018-10-23 13:46:37,069 New unix-domain connection received on /run/user/1000/xpra/sntentos-precision-t3620-6
2018-10-23 13:46:37,075  automatic picture encoding enabled, also available:
2018-10-23 13:46:37,075   h264, vp9, vp8, png, png/P, png/L, rgb24, rgb32, jpeg
2018-10-23 13:46:37,076 Python/Gtk2 Linux Ubuntu 16.04 xenial x11 client version 2.4-r20681 64-bit
2018-10-23 13:46:37,076  connected from 'sntentos-precision-t3620' as 'sntentos' - 'Stavros'
2018-10-23 13:46:37,079 Handshake complete; enabling connection
2018-10-23 13:46:37,080 Disconnecting client Protocol(unix-domain socket:/run/user/1000/xpra/sntentos-precision-t3620-6):
2018-10-23 13:46:37,081  new client (new connection from the same uuid)
2018-10-23 13:46:37,084 xpra client 1 disconnected.
2018-10-23 13:46:37,128  automatic picture encoding enabled, also available:
2018-10-23 13:46:37,128   h264, vp9, vp8, png, png/P, png/L, rgb24, rgb32, jpeg
2018-10-23 13:46:37,129 Python/Gtk2 Linux Ubuntu 16.04 xenial x11 client version 2.4-r20681 64-bit
2018-10-23 13:46:37,129  connected from 'sntentos-precision-t3620' as 'sntentos' - 'Stavros'
2018-10-23 13:46:37,136  client root window size is 5520x1080 with 1 display:
2018-10-23 13:46:37,136   :0.0 (1461x286 mm - DPI: 95x95) workarea: 5461x1056 at 59x24
2018-10-23 13:46:37,136     monitor 1 1680x1050 at 0x30 (474x296 mm - DPI: 90x90)
2018-10-23 13:46:37,137     monitor 2 1920x1080 at 1680x0 (527x296 mm - DPI: 92x92)
2018-10-23 13:46:37,137     monitor 3 1920x1080 at 3600x0 (527x296 mm - DPI: 92x92)
2018-10-23 13:46:37,646 server virtual display now set to 5520x1080
2018-10-23 13:46:37,669 setting key repeat rate from client: 500ms delay / 30ms interval
2018-10-23 13:46:37,670 keyboard mapping already configured (skipped)
2018-10-23 13:46:37,670  client root window size is 5520x1080 with 1 display:
2018-10-23 13:46:37,670   :0.0 (1461x286 mm - DPI: 95x95) workarea: 5461x1056 at 59x24
2018-10-23 13:46:37,670     monitor 1 1680x1050 at 0x30 (474x296 mm - DPI: 90x90)
2018-10-23 13:46:37,670     monitor 2 1920x1080 at 1680x0 (527x296 mm - DPI: 92x92)
2018-10-23 13:46:37,670     monitor 3 1920x1080 at 3600x0 (527x296 mm - DPI: 92x92)
2018-10-23 13:46:37,671 best resolution matching 5520x1080 is unchanged: 5520x1080
2018-10-23 13:46:37,675 Handshake complete; enabling connection
2018-10-23 13:46:37,676  mmap is enabled using 256MB area in /run/user/1000/xpra/xpra.bvFysV.mmap
2018-10-23 13:46:37,677 Python/Gtk2 Linux Ubuntu 16.04 xenial x11 client version 2.4-r20681 64-bit
2018-10-23 13:46:37,677  connected from 'sntentos-precision-t3620' as 'sntentos' - 'Stavros'
2018-10-23 13:46:37,677 DPI set to 96 x 96
2018-10-23 13:46:37,679 xpra client 2 disconnected.
2018-10-23 13:46:37,679 setting key repeat rate from client: 500ms delay / 30ms interval
2018-10-23 13:46:37,680 keyboard mapping already configured (skipped)
2018-10-23 13:46:37,680  client root window size is 5520x1080 with 1 display:
2018-10-23 13:46:37,680   :0.0 (1461x286 mm - DPI: 95x95) workarea: 5461x1056 at 59x24
2018-10-23 13:46:37,680     monitor 1 1680x1050 at 0x30 (474x296 mm - DPI: 90x90)
2018-10-23 13:46:37,680     monitor 2 1920x1080 at 1680x0 (527x296 mm - DPI: 92x92)
2018-10-23 13:46:37,681     monitor 3 1920x1080 at 3600x0 (527x296 mm - DPI: 92x92)
2018-10-23 13:46:37,681 best resolution matching 5520x1080 is unchanged: 5520x1080
2018-10-23 13:46:37,687 client @04.710 Xpra X11 server version 2.4-r20681 64-bit
2018-10-23 13:46:37,688 client @04.710  running on Linux Ubuntu 16.04 xenial
2018-10-23 13:46:37,715 Warning: the python netifaces package is missing
2018-10-23 13:46:37,798 client @04.822 server does not support xi input devices
2018-10-23 13:46:37,798 client @04.822  server uses: xtest

Tue, 23 Oct 2018 11:39:37 GMT - Antoine Martin:

Like I said, this does not belong here as this has nothing to do with paramiko or ssh.

Your gnome-terminal command is exiting, that's why the server was terminating, and that's why you don't see its window on the client. Use an xterm instead to confirm that the problem is with gnome-terminal rather than xpra.


Tue, 23 Oct 2018 11:43:35 GMT - stdedos:

Is there a way I can debug myself why gnome-terminal decides to commit suicide when run by xpra?

I know that xterm works, but I don't know why gnome-terminal decided to "not work" recently


Tue, 23 Oct 2018 11:47:17 GMT - Antoine Martin:

Is there a way I can debug myself why gnome-terminal decides to commit suicide when run by xpra?

Just run it from the xterm.


Sat, 23 Jan 2021 05:39:22 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1997