[winswitch] trying to get started with xpra

Antoine Martin antoine at nagafix.co.uk
Wed Jun 6 05:57:21 BST 2018


On 06/06/18 05:16, Thomas Käfer via shifter-users wrote:
> Hey there!
> 
> Years ago I used parti + xpra and since I have a similar need again now I
> wanted to use xpra again.
> 
> So I installed xpra through my repositories (Linux Mint 18.3 ~ Ubuntu
> 16.04) which gave me:
> xpra 0.15.8+dfsg-1
> 
> Sadly none of the most basic tutorials seem to work.
> 
> $ xpra start :100 --start-child=gnome-terminal
> keeps running, but results in this logfile:
> 
> $ cat .xpra/:100.log
> /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
> 2018-06-05 23:45:20,196
> 2018-06-05 23:45:20,196 Xvfb command has terminated! xpra cannot continue
> 2018-06-05 23:45:20,196
> 
> Trying to attach to the still running xpra start process gives:
> $ xpra attach
> 2018-06-05 23:54:40,847 xpra gtk2 client version 0.15.8 (r11211)
> The program 'Xpra' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadValue (integer parameter out of range for operation)'.
(snip)
> 
> I think I remember that in the old times one needed to restart the system
> after installing before having it work as it should. I tried that. Didn't
> help.
Do not use the packages provided by Ubuntu, they are fundamentally
broken (as you found out) and dangerous (lots of unfixed serious
vulnerabilities), for details see:
https://xpra.org/trac/wiki/Packaging/DistributionPackages

> I found this link which seems to suggest that the server part only works
> using a root account:
> https://github.com/dnschneid/crouton/issues/2676
That is definitely false when it comes to xpra.
You need root to run Xorg on some Ubuntu versions. Xpra can use Xvfb
instead of the Xorg based Xdummy for those cases.
That's what our packages configure it to do. Do not run as root.

> So I tried that, which instead gave this log:
(snip)
> 2018-06-05 23:59:00,998 Warning: zlib is the only compressor enabled
> 2018-06-05 23:59:00,999  install and enable lzo or lz4 support for better
> performance
You have not installed the package or its dependencies correctly.
> 2018-06-05 23:59:00,999 Warning: 'rencode' packet encoder not found
> 2018-06-05 23:59:00,999  the other packet encoders are much slower
Same.
> 2018-06-05 23:59:00,999 server uuid is 26a9c4d0426b41c385acc3976739cdf8
> 2018-06-05 23:59:01,141 pulseaudio server started with pid 23259
> W: [pulseaudio] main.c: This program is not intended to be run as root
> (unless --system is specified).
> E: [autospawn] core-util.c: Home directory not accessible: Permission denied
> W: [autospawn] lock-autospawn.c: Cannot access autospawn lock.
> E: [pulseaudio] main.c: Failed to acquire autospawn lock
> 2018-06-05 23:59:01,150 using notification forwarder:
> DBUSNotificationsForwarder(org.freedesktop.Notifications)
> 2018-06-05 23:59:01,169 started child 'gnome-terminal' with pid 23282
> 2018-06-05 23:59:01,170 xpra server version 0.15.8 (r11211)
Do not use this version.
> 2018-06-05 23:59:01,170 running with pid 23242
> 2018-06-05 23:59:01,170 Warning: pulseaudio has terminated shortly after
> startup.
> 2018-06-05 23:59:01,170  Either fix the pulseaudio command line or use the
> 'pulseaudio=no' option to avoid this warning.
> 2018-06-05 23:59:01,170  usually, only a single pulseaudio instance can be
> running for each user account, and one may be running already
> 2018-06-05 23:59:01,260 you may want to disable mdns support to avoid this
> 2018-06-05 23:59:01,264 xpra is ready.
> Xlib:  extension "GLX" missing on display ":100".
> 2018-06-05 23:59:01,512 child 'gnome-terminal' with pid 23282 has terminated
> 
> Connecting to this server ran as root using
> $ xpra attach
> gives the exact same output as before (and opens no gnome-terminal)
> 
> Can somebody help me? Is the xpra version 0.15.8+dfsg-1 that I got from the
> Linux Mint18.3/Ubuntu16.04 repository broken?
Yes.
> Or is xpra not usable on
> current linux desktop systems in general? What do you suggest would be the
> easiest way to get it functional, if thats possible on this system?
Install the current version of xpra from xpra.org correctly.

Cheers
Antoine

> 
> Thank you,
> Kind regards,
> Thomas K.
> _______________________________________________
> 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