Package Details: xpra-git 4.4.r1887.g4d73c3644-1

Git Clone URL: https://aur.archlinux.org/xpra-git.git (read-only, click to copy)
Package Base: xpra-git
Description: multi-platform screen and application forwarding system screen for X11
Upstream URL: https://www.xpra.org
Keywords: desktop remote sharing
Licenses: GPL2
Conflicts: xpra
Provides: xpra
Submitter: leuko
Maintainer: leuko (bug)
Last Packager: leuko
Votes: 12
Popularity: 0.57
First Submitted: 2021-02-21 10:22 (UTC)
Last Updated: 2023-07-22 18:23 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

leuko commented on 2024-01-08 16:58 (UTC)

I don't have time right now. If someone has a working PKGBUILD, I am happy to review and push it.

GoJhKRylc8 commented on 2024-01-08 01:36 (UTC)

Any chance we can get this updated? Xpra version 5.0 was released Aug 19, 2023 and current is 5.0.4.

aurelieng commented on 2023-10-27 18:29 (UTC)

The non-git version works, but it's 4.x and it's not maintained anymore. Arch is not officially supported either, cf. https://github.com/Xpra-org/xpra-html5/issues/271#issuecomment-1782946022

I'll try to tweak it make it work, but if someone else here is able to use it (and not only to compile it), I'd be happy to know! :-)

xiota commented on 2023-10-27 17:42 (UTC)

I guess it's working properly for what you're doing with it :-)

Which is ... nothing. Haven't used it in a long time. Was trying to get it to build for a package repository.

The non-git version seems to work. So something wrong with git version. Could be dependencies, regressions, something else. Maybe someone else will have some ideas.

aurelieng commented on 2023-10-27 17:16 (UTC)

That's very weird. Anyway, if you have xpra installed, I guess it's working properly for what you're doing with it :-)

On my side, I have another issue. I'm trying to start a remote program, but it failing with a message about GDK 3.0/4.0:

Command:

xpra start ssh://username@host --start-child=firefox

Output:

/usr/lib/python3.11/site-packages/xpra/client/gtk3/client.py:8: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gdk               #@UnresolvedImport
/usr/lib/python3.11/site-packages/xpra/client/gtk3/client_base.py:14: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GdkPixbuf  # @UnresolvedImport
xpra main error:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/xpra/scripts/main.py", line 126, in main
    return run_mode(script_file, cmdline, err, options, args, mode, defaults)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/xpra/scripts/main.py", line 453, in run_mode
    return do_run_mode(script_file, cmdline, error_cb, options, args, mode, defaults)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/xpra/scripts/main.py", line 504, in do_run_mode
    return run_remote_server(script_file, cmdline, error_cb, options, args, mode, defaults)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/xpra/scripts/main.py", line 2088, in run_remote_server
    app = make_client(error_cb, opts)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/xpra/scripts/main.py", line 1778, in make_client
    from xpra.client.gtk3.client import XpraClient
  File "/usr/lib/python3.11/site-packages/xpra/client/gtk3/client.py", line 11, in <module>
    from xpra.client.gtk3.client_base import GTKXpraClient
  File "/usr/lib/python3.11/site-packages/xpra/client/gtk3/client_base.py", line 28, in <module>
    from xpra.gtk.cursors import cursor_types, get_default_cursor
  File "/usr/lib/python3.11/site-packages/xpra/gtk/__init__.py", line 7, in <module>
    gi.require_version("Gdk", "3.0")  # @UndefinedVariable
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/gi/__init__.py", line 117, in require_version
    raise ValueError('Namespace %s is already loaded with version %s' %
ValueError: Namespace Gdk is already loaded with version 4.0

Is this use case one of yours, and if so, does it work for you?

xiota commented on 2023-10-27 15:56 (UTC)

The server side doesn't start for me.

Socket path '/tmp/.X11-unix/X100' not found
...
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
...

aurelieng commented on 2023-10-27 15:24 (UTC) (edited on 2023-10-27 15:39 (UTC) by aurelieng)

Edit: works after I installed python-opengl-accelerate and python-ipaddress. Maybe the list of dependencies should be updated?

--

@xiota thanks the changes you suggested, I've been able to compile and install it. I can start a server, but I can't connect to it, ie. the following fail:

# In one terminal:
xpra start :100 --daemon=no --start=xterm

# In another terminal:
xpra attach :100

It fails with:

2023-10-27 16:42:16,634 Error: failed to encode packet:
...

  File "xpra/net/rencodeplus/rencodeplus.pyx", line 339, in xpra.net.rencodeplus.rencodeplus.dumps
  File "xpra/net/rencodeplus/rencodeplus.pyx", line 321, in xpra.net.rencodeplus.rencodeplus.encode
  File "xpra/net/rencodeplus/rencodeplus.pyx", line 256, in xpra.net.rencodeplus.rencodeplus.encode_list
  File "xpra/net/rencodeplus/rencodeplus.pyx", line 324, in xpra.net.rencodeplus.rencodeplus.encode
  File "xpra/net/rencodeplus/rencodeplus.pyx", line 273, in xpra.net.rencodeplus.rencodeplus.encode_dict
  File "xpra/net/rencodeplus/rencodeplus.pyx", line 324, in xpra.net.rencodeplus.rencodeplus.encode
  File "xpra/net/rencodeplus/rencodeplus.pyx", line 273, in xpra.net.rencodeplus.rencodeplus.encode_dict
  File "xpra/net/rencodeplus/rencodeplus.pyx", line 321, in xpra.net.rencodeplus.rencodeplus.encode
  File "xpra/net/rencodeplus/rencodeplus.pyx", line 256, in xpra.net.rencodeplus.rencodeplus.encode_list
  File "xpra/net/rencodeplus/rencodeplus.pyx", line 327, in xpra.net.rencodeplus.rencodeplus.encode
ValueError: type <class 'OpenGL.arrays.strings.UnicodeHandler'> not handled
2023-10-27 17:08:11,276 Error: failed to receive anything, not an xpra server?
2023-10-27 17:08:11,276   could also be the wrong protocol, username, password or port
2023-10-27 17:08:11,276   or the session was not found

Can you test on your side, just in case there's a regression that should be fixed?

(I just checked, and 4.4.5-1 from extra works well, but lacks other features I need)

leuko commented on 2023-10-16 08:44 (UTC)

Thanks for the diffs. I would like to update the package until end of this month.

xiota commented on 2023-10-16 05:42 (UTC) (edited on 2023-10-16 05:42 (UTC) by xiota)

Some suggested changes to resolve issues. (Not complete PKGBUILD.)


url="https://github.com/Xpra-org/xpra"

depends+=(xxhash)
makedepends+=(
  'cuda'

  'python-build'
  'python-installer'
  'python-setuptools'
  'python-wheel'
)

pkgver() {
  cd "$_pkgname"

  local _version=$(git tag | tail -1 | sed -E 's@^v@@')
  local _revision=$(git rev-list --count v${_version}..HEAD)
  local _hash=$(git rev-parse --short HEAD)

  printf '%s.r%s.g%s' \
    "$_version" \
    "$_revision" \
    "$_hash"
}

build() {
  cd "$_pkgname"
  python -m build --no-isolation --wheel
}

package() {
  cd $_pkgname
  python -m installer --destdir="$pkgdir" dist/*.whl
}

flome commented on 2023-10-13 14:01 (UTC)

build with: --without-nvidia

probably install cuda

to fix it