On 10/06/2022 02:29, yonatan zaken via shifter-users wrote:
Hi,
xpra v4.3-r40
That versions is too old.
Ubuntu 18.04.6 LTS
I cloned xpra-html5 to my home directory and installed as mentioned:
https://github.com/Xpra-org/xpra-html5
The very next line on that page states:
"On Linux, this will install the html5 client in /usr/share/xpra/www
which is where the xpra server expects to find it."
And I run the following in terminal:
xpra start --start=xterm --bind-tcp=127.0.0.1:10000
Standard output shows:
=================================================
Entering daemon mode; any further errors will be reported to:
/run/user/1000/xpra/S23615.log
Actual display used: :2
Actual log file name is now: /run/user/1000/xpra/:2.log
=================================================
Then I run in terminal:
xdg-open http://localhost:10000
And a chrome window opens with the following:
==================================================
Server Error
Error code 400.
Message: this port does not support HTTP requests.
Error code explanation: 400 = Bad request syntax or unsupported method.
==================================================
This is my log output:
Quite hard to follow,
Most of these messages are documented in the FAQ:
https://github.com/Xpra-org/xpra/blob/master/docs/FAQ.md
*Is it the uinput missing module that might cause the issue?*
No.
*There is a line mentioning "install the html-xpra package" even though
it's installed.*
*Any suggestions how to proceed?*
Yes, see below
=================================================================
ailure on /tmp/.X11-unix/X100: [Errno 2] No such file or directory:
'/tmp/.X11-unix/X100'
2022-06-09 22:15:35,050 cannot access python uinput module:
2022-06-09 22:15:35,050 No module named 'uinput'
Unable to create /home/username123/.dbus/session-bus
2022-06-09 22:15:36,209 pointer device emulation using XTest
2022-06-09 22:15:36,268 Error: cannot find the html web root
2022-06-09 22:15:36,269 '/usr/local/share/xpra/www' does not exist
2022-06-09 22:15:36,269 install the html-xpra package
Solutions:
* install xpra from an official package, which will put it in the
correct place and look for the html5 client in "/usr/share/xpra/www".
* install xpra-html5 manually in `/usr/local`:
./setup.py install / /usr/local/share/xpra/www/
* just copy /usr/share/xpra/www to /usr/local/share/xpra/www
(or symlink it there)
(..)
Cheers,
Antoine
_______________________________________________
shifter-users mailing list
shifter-users@lists.devloop.org.uk
https://lists.devloop.org.uk/mailman/listinfo/shifter-users