Package Details: xpra-winswitch 1.0-1

Git Clone URL: https://aur.archlinux.org/xpra-winswitch.git (read-only)
Package Base: xpra-winswitch
Description: Modified version of xpra by Winswitch
Upstream URL: http://xpra.org/
Licenses: GPL2
Conflicts: parti-all
Provides: parti-all
Submitter: bug
Maintainer: bug
Last Packager: bug
Votes: 72
Popularity: 0.692281
First Submitted: 2011-05-26 08:08
Last Updated: 2016-12-09 07:28

Required by (2)

  • qconnect (requires xpra-winswitch) (optional)
  • winswitch (requires parti-all) (optional)

Sources (2)

Latest Comments

PythonNut commented on 2016-12-10 03:26

As of the update to v1.0, I'm now getting this error on running `xpra attach :22`:

/usr/lib/xorg-server/Xorg.wrap: Only console users are allowed to run the X server
2016-12-10 03:25:37,997
2016-12-10 03:25:37,997 Xvfb command has terminated! xpra cannot continue
2016-12-10 03:25:37,997 if the display is already running, try a different one,
2016-12-10 03:25:37,997 or use the --use-display flag
2016-12-10 03:25:37,997
2016-12-10 03:25:37,998 killing xvfb with pid 2213
2016-12-10 03:25:37,998 failed to kill xvfb process with pid 2213:
2016-12-10 03:25:37,999 [Errno 3] No such process

Anyone know what's causing this? I've tried most of the solutions from Google, and none of them seem to help for some reason.

bug commented on 2016-12-09 07:33

Updated to v1.0.

I've removed the systemd unit I've been packaging. It shouldn't be used and is a source of problems (while also conflicts with a systemd unit provided by upstream).

The Arch Wiki is out of date, if anyone cares to update it, please do.
The correct usage can be found here: https://www.xpra.org/trac/wiki/Usage

shedto commented on 2016-10-30 23:06

xpra does not work correctly with amdgpu driver and the new Polaris AMD GPUs

It takes verly long until a client connects and there are several errors:

cannot build the OpenCL program: clBuildProgram failed: BUILD_PROGRAM_FAILURE -

Build on <pyopencl.Device 'AMD POLARIS10 (DRM 3.3.0 / 4.8.4-1-ARCH, LLVM 3.9.0)' on 'Clover' at 0x55f4fb28ea08>:

error: unknown target CPU 'polaris10'
error: unknown target CPU 'polaris10'

(options: -I /usr/lib/python2.7/site-packages/pyopencl/cl)
(source saved as /tmp/tmpAQzs_b.cl)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/xpra/codecs/csc_opencl/colorspace_converter.py", line 441, in bui
program.build()
File "/usr/lib/python2.7/site-packages/pyopencl/__init__.py", line 438, in build
options_bytes=options_bytes, source=self._source)
File "/usr/lib/python2.7/site-packages/pyopencl/__init__.py", line 473, in _build_and_catch_errors
raise err
RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE -

Build on <pyopencl.Device 'AMD POLARIS10 (DRM 3.3.0 / 4.8.4-1-ARCH, LLVM 3.9.0)' on 'Clover' at 0x55f4fb28

error: unknown target CPU 'polaris10'
error: unknown target CPU 'polaris10'

(options: -I /usr/lib/python2.7/site-packages/pyopencl/cl)
(source saved as /tmp/tmpAQzs_b.cl)
all warnings:
Warning: csc_opencl failed its self test
cannot build the OpenCL program: clBuildProgram failed: BUILD_PROGRAM_FAILURE -

Build on <pyopencl.Device 'AMD POLARIS10 (DRM 3.3.0 / 4.8.4-1-ARCH, LLVM 3.9.0)' on 'Clover' at 0x55f4fb28

error: unknown target CPU 'polaris10'
error: unknown target CPU 'polaris10'

(options: -I /usr/lib/python2.7/site-packages/pyopencl/cl)
(source saved as /tmp/tmpAQzs_b.cl)

BrunoSpy commented on 2016-10-20 11:01

You can add armv7h : it's working :)

stefops commented on 2016-10-17 07:58

for the aarch64 users you have to edit python2-gtkglext PKGBUILD and change
PYTHON='/usr/bin/python2' ./configure --prefix=/usr
to
PYTHON='/usr/bin/python2' ./configure --build=aarch64-unknown-linux-gnu --prefix=/usr

shedto commented on 2016-10-10 22:40

Connecting a client takes more then 15 seconds

Also the dependencies are incomplete.
xpra warns about lz4 missing even though lz4 and python2-lz4 are installed.
This was solved by installing python-lz4 (python3 bindings)

missing dependencies:

gtkglext
python2-gtkglext
python-lz4
python-crypto
python-cryptography
python2-crypto
python2-cryptography
python-opengl
python2-opengl
freeglut

bug commented on 2016-09-05 08:14

Sadly I found your edit too late. Either way, as it works on x64, armv7h & aarch64. I can only conclude it's an armv6h issue.

I've asked upstream about it, and it seems to be an Archlinux-arm issue. As I know nothing of it, the only question I can think of is does Archlinux-arm do different things for different architectures?

cmsigler commented on 2016-09-01 14:34

Sorry to say, but my report of xpra-winswitch working on armv6h using xpra_Xdummy in xpra.conf seems to have been premature.

It worked when I tried it, I swear. But it only seems to have worked the first time :/ At first I thought it might be a race condition but the problem is never intermittent.

Since it worked the first time I didn't bother shutting it down and trying to start it up multiple times. Now it never works. I checked for updated packages that might interfere and I just can't see any problems. I reinstalled the xpra-winswitch pkg I built with makepkg for armv6h, as well as every package in the xorg group, but no soap. I checked for possibly missing packages -- of course there were none I could identify.

This is without doubt a permissions problem. I went `su -' and (besides complaining I was running as root) xpra started up, no complaints.

Mind you, I'm building and testing on a Raspberry Pi Zero. It's not speedy but it does seem to run OK.

My fallback, which works fine, is to edit /etc/xpra/xpra.conf and at the bottom use the xvfb command that starts "xfvb = Xvfb +extension Composite...". That makes it work every time. I'm not sure why armv6h would have a permissions problem but when running via xpra_Xdummy on armv7h (and aarch64) all is well *shrug*

HTH.

Clemmitt

P.S.: I forgot to explain the problem/error message.... xpra can't compile the keymap, error message is "Could not invoke xkbcomp", even though xkbcomp is in the standard /usr/bin directory and is (apparently) in PATH, and I can run `xkbcomp --help' as an unprivileged user. Error messages:
========
[ 2316.508] (EE) XKB: Could not invoke xkbcomp
[ 2316.508] (EE) XKB: Couldn't compile keymap
[ 2316.508] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[ 2316.531] (EE) XKB: Could not invoke xkbcomp
[ 2316.531] (EE) XKB: Couldn't compile keymap
[ 2316.531] XKB: Failed to compile keymap
[ 2316.532] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
[ 2316.532] (EE)
Fatal server error:
[ 2316.532] (EE) Failed to activate core devices.(EE)
========

bug commented on 2016-08-27 20:59

@antony: I should change my work flow. I did remember to update SRCINFO when updating the package, but forgot to do it again after fixing the missing dependency.

@cmsigler: Great :)

cmsigler commented on 2016-08-27 14:49

Kudos to bug for maintaining this great AUR package! Latest version 0.17.5-1 with update to installed xpra.conf WFM as-installed on armv6h, armv7h and aarch64 :) I'm able to forward xfce4 desktops with no problem.

Clemmitt

All comments