Xpra: Ticket #2582: paramiko backend does not honour "User" attribute from ~/.ssh/config

Based on ticket:2549#comment:6 this comment, I would expect that it would work for Ubuntu.

I tried to find xpra/platform/path.py tool to check if there is more information, but there seems to be nothing:

$ locate */path.py | grep xpra
$

My case:

u@h$ xpra shadow ssh://viewer
xpra for python 2.7 is not installed
 retrying with python3
2020-02-07 13:26:06,827 Xpra GTK3 X11 client version 3.0.6-r25073 64-bit
2020-02-07 13:26:06,902  running on Linux Ubuntu 16.04 xenial
2020-02-07 13:26:06,903  window manager is 'Compiz'
2020-02-07 13:26:07,045 No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
2020-02-07 13:26:07,681 OpenGL enabled with Quadro P400/PCIe/SSE2
2020-02-07 13:26:07,816 Connected (version 2.0, client OpenSSH_7.6p1)
/usr/lib/python3/dist-packages/Crypto/Cipher/blockalgo.py:141: FutureWarning: CTR mode needs counter parameter, not IV
  self._cipher = factory.new(key, *args, **kwargs)
2020-02-07 13:26:08,101 agent authentication failed, tried 2 keys
2020-02-07 13:26:08,101 SSH password authentication failed:
2020-02-07 13:26:08,101  No existing session
please enter the SSH password for u@viewer:
caught KeyboardInterrupt(), exiting
u@h$ grep viewer ~/.ssh/config
Host viewer 172.16.57.99
	User viewer

(Emphasis mine)

u@h$ xpra shadow ssh://viewer@viewer
xpra for python 2.7 is not installed
 retrying with python3
2020-02-07 13:26:31,750 Xpra GTK3 X11 client version 3.0.6-r25073 64-bit
2020-02-07 13:26:31,819  running on Linux Ubuntu 16.04 xenial
2020-02-07 13:26:31,820  window manager is 'Compiz'
2020-02-07 13:26:31,918 No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
2020-02-07 13:26:32,433 OpenGL enabled with Quadro P400/PCIe/SSE2
2020-02-07 13:26:32,484 Connected (version 2.0, client OpenSSH_7.6p1)
/usr/lib/python3/dist-packages/Crypto/Cipher/blockalgo.py:141: FutureWarning: CTR mode needs counter parameter, not IV
  self._cipher = factory.new(key, *args, **kwargs)
2020-02-07 13:26:32,672 Authentication (publickey) successful!
2020-02-07 13:26:33,302  keyboard settings: rules=evdev, model=pc105, layout=us
2020-02-07 13:26:33,305  desktop size is 6400x1440 with 1 screen:
2020-02-07 13:26:33,305   :0.0 (1693x381 mm - DPI: 96x96) workarea: 6341x1416 at 59x24
2020-02-07 13:26:33,305     DP-0 2560x1440 (597x336 mm - DPI: 108x108)
2020-02-07 13:26:33,305     DP-2 1920x1080 at 2560x180 (527x296 mm - DPI: 92x92)
2020-02-07 13:26:33,305     DP-4 1920x1080 at 4480x180 (527x296 mm - DPI: 92x92)
2020-02-07 13:26:33,306  upscaled to 125%, virtual screen size: 5120x1152
2020-02-07 13:26:33,306   :0.0 (1693x381 mm - DPI: 76x76) workarea: 5073x1133 at 47x19
2020-02-07 13:26:33,306     DP-0 2048x1152 (597x336 mm - DPI: 87x87)
2020-02-07 13:26:33,306     DP-2 1536x864 at 2048x144 (527x296 mm - DPI: 74x74)
2020-02-07 13:26:33,306     DP-4 1536x864 at 3584x144 (527x296 mm - DPI: 74x74)
2020-02-07 13:26:33,331 Warning: invalid frame extents value '[0, 0, 0, 0, 0, 0, 28, 0]'
2020-02-07 13:26:33,331  this is probably a bug in 'Compiz'
2020-02-07 13:26:33,331  using '[0, 0, 28, 0]' instead
2020-02-07 13:26:43,395 enabled remote logging
2020-02-07 13:26:43,395 Xpra GTK3 shadow server version 3.0.5-r24939 64-bit
2020-02-07 13:26:43,396  running on Linux Ubuntu 18.04 bionic
2020-02-07 13:26:43,396  not scaling a shadow server
2020-02-07 13:26:43,397 setting scaling to 100%:
2020-02-07 13:26:43,400 sending updated screen size to server: 6400x1440 with 1 screens
2020-02-07 13:26:43,400   :0.0 (1693x381 mm - DPI: 96x96) workarea: 6341x1416 at 59x24
2020-02-07 13:26:43,400     DP-0 2560x1440 (597x336 mm - DPI: 108x108)
2020-02-07 13:26:43,400     DP-2 1920x1080 at 2560x180 (527x296 mm - DPI: 92x92)
2020-02-07 13:26:43,400     DP-4 1920x1080 at 4480x180 (527x296 mm - DPI: 92x92)
2020-02-07 13:26:43,529 server does not support xi input devices
2020-02-07 13:26:43,529  server uses: auto
2020-02-07 13:28:45,524 window-close event on desktop or shadow window, disconnecting
/usr/lib/python3/dist-packages/xpra/client/gtk_base/gtk_client_base.py:150: Warning: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
  gtk_main()


Fri, 07 Feb 2020 13:04:34 GMT - Antoine Martin: status, description changed

Will fix.


Sat, 08 Feb 2020 06:12:31 GMT - Antoine Martin: status, summary changed; resolution set

This turned out to be a "typo": r25181. You can apply this by hand, this will be in the next builds.

See also: r25182, r25183, r25184.

Important: see notes in ticket:2567#comment:4.


Sat, 23 Jan 2021 05:55:13 GMT - migration script:

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