[winswitch] error on starting xpra

Antoine Martin antoine at nagafix.co.uk
Thu Sep 10 08:00:28 BST 2015


On 10/09/15 13:35, Antony Lee wrote:
> Hi,
> I am trying to run xpra for the first time.
>
> $ xpra start ssh:antony at maxwell:100 --start-child xterm
>
> This fails with the following message:
>
> 2015-09-09 23:36:56,493 cannot use pycups for printing: No module named cups
> 2015-09-09 23:36:56,513 unknown logging category: x265
> 2015-09-09 23:36:56,543  cannot import csc_opencl (OpenCL colorspace
> conversion): No module named pyopencl
> 2015-09-09 23:36:56,564 Warning: zlib is the only compressor enabled
> 2015-09-09 23:36:56,564  install and enable lzo or lz4 support for better
> performance
> 2015-09-09 23:36:56,565 xpra gtk2 client version 0.15.5 (r10506)
> 2015-09-09 23:36:56,566 csc module csc_opencl could not be loaded: No
> module named pyopencl
> 2015-09-09 23:36:56,567 OpenGL support could not be enabled:
> 2015-09-09 23:36:56,567  cannot import name gdkgl
> 2015-09-09 23:36:56,697 detected keyboard: rules=evdev, model=pc101,
> layout=fr
> 2015-09-09 23:36:56,698 desktop size is 1600x900 with 1 screen(s):
> 2015-09-09 23:36:56,699   ':0.0' (423x238 mm - DPI: 96x96) workarea:
> 1600x873
> 2015-09-09 23:36:56,699     eDP1 (309x174 mm - DPI: 131x131)
> Entering daemon mode; any further errors will be reported to:
>   /home/antony/.xpra/:100.log
> server failed to start after 15.0 seconds - sorry!
> 2015-09-09 23:37:13,242 failed to receive anything, not an xpra server?
> 2015-09-09 23:37:13,242   could also be the wrong username, password or port
> 2015-09-09 23:37:13,242 Connection lost
>
> On the server side, the log is as follows:
>
> (EE)
> Fatal server error:
> (EE) The '-logfile' option cannot be used with elevated privileges.
> (EE)
> (EE)
> Please consult the The X.Org Foundation support
>          at http://wiki.x.org
>  for help.
> (EE)
> 2015-09-09 23:33:47,743 failed to load the mdns avahi publisher: No module
> named dbus
> 2015-09-09 23:33:47,743 either fix your installation or use the '--no-mdns'
> flag
> 2015-09-09 23:33:47,743
> 2015-09-09 23:33:47,743 Xvfb command has terminated! xpra cannot continue
^ this is your problem. ("xpra cannot continue")
> 2015-09-09 23:33:47,743
> 2015-09-09 23:33:47,744 removing socket /home/antony/.xpra/maxwell-arch-100
>
> Both sides use the AUR xpra-winswitch package (
> https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=xpra-winswitch).
>
> Any help would be welcome.
The problem comes from your "xvfb" option in xpra.conf.
It looks to me like the package is pointing to a suid Xorg binary
("elevate privileges"), and this won't work. For more details see:
http://xpra.org/trac/wiki/Xdummy
Please contact the arch packager for help on this as I have no idea what
arch should be using / doing here.

There are a number of other issues shown as warnings:
* the x265 codec should probably not be built, or if built - the
dependency should be required
* same for pyopencl
* running without lzo or lz4 gives very poor performance
* you should have pygtkglext installed (for opengl accelerated client
rendering)

Cheers
Antoine

>
> Antony
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users





More information about the shifter-users mailing list