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.