XPra won't start.

I decided to test Xpra. Maybe in future I will use it to house automation. Xpra is a program to allow start virtual X session, attach to it from any place and reattach it to another device. Xpra assemblies the X server, X compositor and special client. X server and X compositor are run on machine, where application we would access will be ran. Client of Xpra compositor will be ran on device we currently works.

I have problem with ran it:
xpra start ssh:localhost --start=xterm
Gtk-Message: 18:38:34.967: Failed to load module “appmenu-gtk-module”
2019-03-20 18:38:38,169 Xpra gtk2 client version 2.4.3-r21350 64-bit
2019-03-20 18:38:38,171 running on Linux openSUSE 20190318 n/a
2019-03-20 18:38:38,173 window manager is ‘KWin’
2019-03-20 18:38:50,726 GStreamer version 1.14.4 for Python 2.7.15 64-bit
2019-03-20 18:38:52,374 OpenGL accelerated rendering is not available:
2019-03-20 18:38:52,374 No module named gl
xpra initialization error:
failed to connect to ‘::1, 22, 0, 0’:
[Errno 111] Połączenie odrzucone

Połączenie odrzucone means connection refused.

But, when I try to do this:
xpra start :100 --start=xterm
using systemd-run to wrap ‘start’ server command
‘systemd-run’ ‘–description’ ‘xpra-start’ ‘–scope’ ‘–user’ ‘/usr/bin/xpra’ ‘start’ ‘:100’ ‘–start=xterm’ ‘–systemd-run=no’

Running scope as unit: run-r80680c9043aa404bbdbf0663d0a8f24f.scope
2019-03-20 18:42:29,397 Error: failed to write script file ‘/run/user/1000/xpra/run-xpra’:
2019-03-20 18:42:29,398 ‘ascii’ codec can’t decode byte 0xc5 in position 4541: ordinal not in range(128)

Entering daemon mode; any further errors will be reported to:
/run/user/1000/xpra/:100.log

I got problem with Python probably (I think Xpra using Python 2, but OpenSuSE ran Python 3 or vice-versa).

cat /run/user/1000/xpra/:100.log
2019-03-20 18:42:32,470 cannot access python uinput module:
2019-03-20 18:42:32,470 No module named uinput
(EE)
Fatal server error:
(EE) Server is already active for display 100
If this server is no longer running, remove /tmp/.X100-lock
and start again.
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
Gtk-Message: 18:42:43.398: Failed to load module “appmenu-gtk-module”
2019-03-20 18:42:43,776 created unix domain socket: /run/user/1000/xpra/linux-rvnb-100
2019-03-20 18:42:43,777 cannot create group socket ‘/run/xpra/linux-rvnb-100’
2019-03-20 18:42:43,777 [Errno 13] Brak dostępu
2019-03-20 18:42:43,780
2019-03-20 18:42:43,781 Xvfb command has terminated! xpra cannot continue
2019-03-20 18:42:43,781 if the display is already running, try a different one,
2019-03-20 18:42:43,781 or use the --use-display flag
2019-03-20 18:42:43,782

There we have different errors. Brak dostępu means access denied and I think this is very important bug. Another think is uinput missing.
I will try to solve these problems, but maintainer should take care of remove there bug.

As always,
You need to be detailed on where you got your application from, whether you installed its list of dependencies if it’s not an openSUSE RPM and your exact invocation commands (You seem to have described a few but not all).

The Xpra site is here
https://xpra.org/

Inspecting source can sometimes be informative
https://www.xpra.org/trac/wiki/Source

This app might be more useful or even required on a single user OS like MSWindows, but less special on a multi-user OS like Linux, its list of features can be found or configured in many x forwarding Linux apps.

TSU

Sorry for write this topic - Xpra starts. Probably error messages was, because I tries to run Xpra multiple times with the same port number/screen.

I still have error with graphic acceleration. I try to play Baldur’s Gates: EE, but intro video and game was very slow. I don’t except the game works, but messages about missing OpenGL acceleration telling me I can made things work better.

I try to install packages, like py-inotify and others (via sudo pip install), but without result.

I install Xpra from OpenSUSE Tumbleweed repos. I ran server on the same machine as client.

Thanks for trying to solve my problems. English is not my native and I have trouble understanding what other people telling me.

XPra has special documentation for running OpenGL apps…

The following page describes how to run in debugging mode to get more verbose errors
https://www.xpra.org/trac/wiki/Debugging/OpenGL

The following is more or less your jumping off point to various OpenGL documentation
https://xpra.org/trac/wiki/ClientRendering/OpenGL

The following specifically describes the various recommended ways to run OpenGL applications
https://xpra.org/trac/wiki/Usage/OpenGL

In other words…
If you want OpenGL support, you wouldn’t just forward X, you need to run XPra in a mode that unlocks OpenGL.

From the looks of things, properly set up you should be able to play Baldur’s Gates without a problem!

TSU

Thanks.
Bardurs Gates: EE worked, but it was running on the same machine I launch Xpra client. I must now search for Xpra client for other platform (Android client and Wii). And of course buy Rasberry Pi or similar device.