[winswitch] [xpra] xpra-html how to

yonatan zaken yonatan.zaken at gmail.com
Thu Jun 9 20:29:19 BST 2022


Hi,

xpra v4.3-r40
Ubuntu 18.04.6 LTS

I cloned xpra-html5 to my home directory and installed as mentioned:
https://github.com/Xpra-org/xpra-html5

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,
*Is it the uinput missing module that might cause the issue?*
*There is a line mentioning "install the html-xpra package" even though
it's installed.*
*Any suggestions how to proceed?*
=================================================================
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
2022-06-09 22:15:36,281 Warning: failed to create socket directory
'/run/xpra'
2022-06-09 22:15:36,281  [Errno 13] Permission denied: '/run/xpra'
2022-06-09 22:15:36,281 created unix domain socket
'/run/user/1000/xpra/y10-100'
2022-06-09 22:15:36,282 cannot create group socket '/run/xpra/y10-100'
2022-06-09 22:15:36,282  [Errno 2] No such file or directory
2022-06-09 22:15:36,282  /run/xpra does not exist
2022-06-09 22:15:36,282 created unix domain socket
'/home/username123/.xpra/y10-100'
2022-06-09 22:15:36,293 Warning: failed to load the mdns publisher
2022-06-09 22:15:36,293  No module named 'zeroconf'
2022-06-09 22:15:36,293  either install the 'python-avahi' module
2022-06-09 22:15:36,293  or use the 'mdns=no' option
2022-06-09 22:15:36,306 D-Bus notification forwarding is available
2022-06-09 22:15:36,316 pulseaudio server started with pid 24681
2022-06-09 22:15:36,316  private server socket path:
2022-06-09 22:15:36,316  '/run/user/1000/xpra/pulse-100/pulse/native'

(Xpra:24639): Gtk-CRITICAL **: 22:15:36.354: gtk_widget_realize: assertion
'widget->priv->anchored || GTK_IS_INVISIBLE (widget)' failed
2022-06-09 22:15:36,484 xpra is ready.
2022-06-09 22:15:36,485 xpra X11 seamless version 4.3-r40 64-bit
2022-06-09 22:15:36,498 watching for applications menu changes in:
2022-06-09 22:15:36,498  '/usr/share/ubuntu/applications'
2022-06-09 22:15:36,498  '/usr/local/share/applications'
2022-06-09 22:15:36,498  '/usr/share/applications'
2022-06-09 22:15:36,498  '/var/lib/snapd/desktop/applications'
2022-06-09 22:15:36,516 Warning: webcam forwarding is disabled
2022-06-09 22:15:36,516  the virtual video directory
'/sys/devices/virtual/video4linux' was not found
2022-06-09 22:15:36,517  make sure that the 'v4l2loopback' kernel module is
installed and loaded
2022-06-09 22:15:36,517  or use the 'webcam=no' option
2022-06-09 22:15:36,517 found 0 virtual video devices for webcam forwarding
2022-06-09 22:15:36,525 printer forwarding enabled using postscript and pdf
2022-06-09 22:15:36,529 started command 'ibus-daemon --xim -v -r
--panel=disable' with pid 24693
2022-06-09 22:15:36,540 started command '/etc/X11/Xsession true' with pid
24694
2022-06-09 22:15:36,550 started command 'xterm' with pid 24704
2022-06-09 22:15:36,561 15.6GB of system memory
2022-06-09 22:15:36,585  uid=1000 (username123), gid=1000 (username123)
2022-06-09 22:15:36,585  running with pid 24639 on Linux Ubuntu 18.04 bionic
2022-06-09 22:15:36,586  connected to X11 display :100 with 24 bit colors
2022-06-09 22:15:36,793 No OpenGL information available
2022-06-09 22:15:37,562 loaded 96 start menu entries from 12 sub-menus in
1.1 seconds
2022-06-09 22:15:37,562 Warning: found 1 large icon:
2022-06-09 22:15:37,562  '/snap/code/97/meta/gui/com.visualstudio.code.png'
(215 KB)
2022-06-09 22:15:37,562  more bandwidth will be used by the start menu data
======================================================================

*Cheers,*
*Yonatan*


More information about the shifter-users mailing list