[winswitch] HTML Client - howto and problems

xpra at zellners.com xpra at zellners.com
Wed Jun 15 16:15:51 BST 2022


Quoting Antoine Martin via shifter-users <shifter-users at lists.devloop.org.uk>:


>> 1) Proper server startup ??
>>
>> Following the wiki, man page and numerous sites adding
> Can you please specify the wiki page so that I can amend it?
>
>> --bind-tcp=0.0.0.0:14500 --html=on should do the trick, correct?
> The html5 client documentation uses port 10000, which is usually free:
> https://github.com/Xpra-org/xpra-html5#usage
>> xpra start --html=on --env=XPRA_VAAPI=0 --env=CUTTER_THRESHOLD=0  
>> :100 --start=/home/theprogramIstartup
> "--env=XPRA_VAAPI=0" is also the default.

SSL issue now....

Server: 4.3.3 Kubuntu 20.04 XPRA HTML 5.0
Client: 4.3.3 Kubuntu 20.04 w/FF 100.0


using:

xpra start --bind-tcp=0.0.0.0:10000 --html=on  
--ssl-cert=/etc/xpra/ssl-cert.pem --ssl=on --env=XPRA_VAAPI=0 ....


FF refuses to connect, doesn't give the option to accept the self signed cert,

Check the /var/log....

  from tcp socket: <socket.socket fd=22, family=AddressFamily.AF_INET,  
type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.0.z', 10000),  
raddr=('192.168.0.z', 39584)>
2022-06-15 10:36:04,273  no certificate paths specified
2022-06-15 10:36:04,273  [Errno 13] Permission denied
2022-06-15 10:36:04,281 Error: failed to create SSL socket
2022-06-15 10:36:04,281  from tcp socket: <socket.socket fd=22,  
family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0,  
laddr=('192.168.0.z', 10000), raddr=('192.168.0.z', 39586)>
2022-06-15 10:36:04,281  no certificate paths specified
2022-06-15 10:36:04,282  [Errno 13] Permission denied

Ummm, but yes I did spec a path for the cert

checking /etc/xpra/

/etc/xpra$ ls -larth
total 364K
-rw-r--r--   1 root root  734 May 18  2021 xpra.conf
-rw-r--r--   1 root root 151K May 18  2021 xorg-uinput.conf
-rw-r--r--   1 root root  674 May 18  2021 cuda.conf
-rw-------   1 root root 3.2K Jul  3  2021 key.pem
-rw-r--r--   1 root root 2.0K Jul  3  2021 cert.pem
-rw-------   1 root root 5.2K Jul  3  2021 ssl-cert.pem
-rw-r--r--   1 root root 151K Aug  9  2021 xorg.conf
drwxr-xr-x   2 root root 4.0K Jun  1 15:32 html5-client
drwxr-xr-x   2 root root 4.0K Jun  1 15:39 conf.d
drwxr-xr-x   2 root root 4.0K Jun  1 15:39 content-categories
drwxr-xr-x   2 root root 4.0K Jun  1 15:39 content-type
drwxr-xr-x   2 root root 4.0K Jun  1 15:39 http-headers
drwxr-xr-x   7 root root 4.0K Jun  1 15:39 .
drwxr-xr-x 138 root root  12K Jun  1 15:40 ..

Yes, ssl-cert.pem has a cert in it, not posting it for obvious reasons...

Should this stuff really be owned by root????????

Shrug?????




More information about the shifter-users mailing list