#2490 closed defect (invalid)
Cannot spin up a HTML mode
Reported by: | netikras | Owned by: | netikras |
---|---|---|---|
Priority: | major | Milestone: | 4.0 |
Component: | packaging | Version: | 4.0.x |
Keywords: | html web invalid packet header | Cc: |
Description (last modified by )
xpra start :10 --start-child=xeyes --bind-tcp=0.0.0.0:10000 --html=on --no-daemon
At first I was getting
2019-11-22 10:37:13,840 cannot create group socket '/run/xpra/netikras-PC-10' 2019-11-22 10:37:13,840 [Errno 13] Permission denied 2019-11-22 10:37:13,891 pointer device emulation using XTest
I ran sudo chmod o+w /run/xpra to get around this. Not sure if I did it right, but I no longer see the Permission Denied error.
But I'm still getting an error below when trying to either do xdg-open http://127.0.0.1:10000/ or attach via https://xpra.org/html5/connect.html .
2019-11-22 10:51:08,744 pointer device emulation using XTest 2019-11-22 10:51:08,797 Error: cannot find the html web root 2019-11-22 10:51:08,797 '/usr/share/xpra/www' does not exist 2019-11-22 10:51:09,541 OpenGL is supported on display ':10' <...> 2019-11-22 10:51:19,831 Error: tcp connection failed: 2019-11-22 10:51:19,832 packet from 127.0.0.1:47112 2019-11-22 10:51:19,832 received on 0.0.0.0:10000 2019-11-22 10:51:19,832 invalid packet header, HTTP GET request
Attaching a full log.
Am I doing something wrong?
xpra --version: xpra v4.0-r24461
pip show websockify | grep -i vers Version: 0.9.0
Attachments (1)
Change History (6)
Changed 16 months ago by
comment:1 Changed 16 months ago by
Owner: | changed from Antoine Martin to netikras |
---|
comment:2 Changed 15 months ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Thanks Antoine for the hint!
though I feel stupid now :) All I needed it the obvious thing: apt install xpra-html5
. Somehow I was under impression that the html5 client comes OOTB with the xpra package. After reading wiki/Clients/HTML5 I did not even think I'd need to install smth else :)
Anyways, my bad. Thanks again!
I'm very glad you folks are doing this project. It's exactly what I've been looking for for a while now. TA!
comment:3 Changed 15 months ago by
Somehow I was under impression that the html5 client comes OOTB with the xpra package
It is a Recommends
dependency of the main xpra package.
So you must have used --no-install-recommends
when you installed xpra.
I have updated the wiki page: wiki/Clients/HTML5 (removed websockify, etc)
comment:4 Changed 13 months ago by
Component: | android → packaging |
---|---|
Description: | modified (diff) |
Milestone: | 4.1 → 4.0 |
Note for those hitting the same error but not using the official xpra packages: most distributions packages should NOT be used and they often miss crucial functionality, such as the HTML5 client.
comment:5 Changed 5 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2490
xpra log