#1630 closed defect (invalid)
Failed to create socket and run html server
Reported by: | sheenam | Owned by: | sheenam |
---|---|---|---|
Priority: | major | Milestone: | 2.2 |
Component: | html5 | Version: | 1.0.x |
Keywords: | Cc: |
Description (last modified by )
2017-08-31 10:19:06,579 created unix domain socket: /home/sheenam/.xpra/Server-10^[[0m ^[[33m2017-08-31 10:19:06,579 Warning: failed to create socket directory '/var/run/xpra'^[[0m ^[[33m2017-08-31 10:19:06,579 [Errno 13] Permission denied: '/var/run/xpra'^[[0m ^[[33m2017-08-31 10:19:06,579 Warning: cannot create socket '/var/run/xpra/Server-10'^[[0m ^[[33m2017-08-31 10:19:06,579 [Errno 2] No such file or directory^[[0m ^[[33m2017-08-31 10:19:06,579 /var/run/xpra does not exist^[[0m ^[[33m2017-08-31 10:19:06,579 user 'sheenam' is a member of groups: adm, cdrom, sudo, dip, plugdev, lpadmin, sambashare, xpra^[[0m /bin/sh: 1: dbus-launch: not found dbus-launch failed to start using command 'dbus-launch --close-stderr': exit code is 127 ^[[33m2017-08-31 10:19:06,609 Warning: menu forwarding is disabled:^[[0m ^[[33m2017-08-31 10:19:06,609 cannot load dbus helper: org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally without any error message^[$ ^[[33m2017-08-31 10:19:06,736 Warning: libvpx ABI version 5 is too old:^[[0m ^[[33m2017-08-31 10:19:06,736 disabling YUV444P support with VP9^[[0m ^[[33m2017-08-31 10:19:06,778 Warning: no X11 RandR support on :10^[[0m ^[[31m2017-08-31 10:19:07,231 Error: cannot import websockify connection handler:^[[0m ^[[31m2017-08-31 10:19:07,231 cannot import name WebSocketRequestHandler^[[0m ^[[31m2017-08-31 10:19:07,231 the html server will not be available^[[0m ^[[33m2017-08-31 10:19:07,310 Warning: webcam forwarding is disabled^[[0m ^[[33m2017-08-31 10:19:07,311 the virtual video directory '/sys/devices/virtual/video4linux' was not found^[[0m ^[[33m2017-08-31 10:19:07,311 make sure that the 'v4l2loopback' kernel module is installed and loaded^[[0m 2017-08-31 10:19:07,311 found 0 virtual video devices for webcam forwarding^[[0m 2017-08-31 10:19:07,318 pulseaudio server started with pid 1985^[[0m /bin/sh: 1: pulseaudio: not found Warning: failed to import GStreamer: GStreamer 1.0: Namespace Gst not available GStreamer 0.10: No module named pygst ^[[31m2017-08-31 10:19:07,559 Error: failed to query sound subsystem:^[[0m ^[[31m2017-08-31 10:19:07,559 query did not return any data^[[0m ^[[33m2017-08-31 10:19:07,562 Warning: failed to load or register our dbus notifications forwarder:^[[0m ^[[33m2017-08-31 10:19:07,562 org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally without any error message^[[0m ^[[33m2017-08-31 10:19:07,562 if you do not have a dedicated dbus session for this xpra instance,^[[0m ^[[33m2017-08-31 10:19:07,562 use the 'notifications=no' option^[[0m ^[[33m2017-08-31 10:19:07,563 Warning: cannot load dbus helper:^[[0m ^[[33m2017-08-31 10:19:07,563 org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally without any error message^[[0m ^[[31m2017-08-31 10:19:07,567 dbus server error
Attachments (3)
Change History (10)
comment:1 Changed 5 years ago by
Summary: | Fiailed to create socket and run html server → Failed to create socket and run html server |
---|
comment:2 Changed 5 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from Antoine Martin to sheenam |
Please see wiki/ReportingBugs and provide the details required.
comment:3 Changed 5 years ago by
Operating System: Ubuntu 14.04 (No Desktop) virtual machine running on windows 8 host
xpra config: I attached file name xpraconfig.txt
Commands used: xpra start --bind-tcp=0.0.0.0:10000 --html=on --start-child=wireshark
xpra info : I attached file name xpra_info.txt
software installed from : https://xpra.org/dists/trusty/main/binary-amd64/
Xpra version: xpra v1.0.7-r16697
Log file : file attached with name 0.log
I am trying to open wireshark app with browser using : localhost:10000 and on windows 8 host : ip:10000 but I can't open wireshark with browser in both.
I tried using xterm as well but even I can't access xterm using browser.
comment:4 Changed 5 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
The error is right there in your log output:
Error: cannot import websockify connection handler: cannot import name WebSocketRequestHandler the html server will not be available
The version of websockify in Ubuntu Trusty is too old: http server on Ubuntu Trusty.
comment:5 Changed 5 years ago by
Ohh I thought so but can you please help me with how to install it from git?
I tried apt-get but it is unable to locate setuptools and pip as well.
I used "git clone https://github.com/novnc/websockify" and have websockify directory. Please tell me what commands to use now to install ?
I am new to Linux sorry for this question.
Thank you so much
comment:6 Changed 5 years ago by
Untested:
- make sure to remove the websockify version installed by your package manager, if any:
apt-get remove websockify
- install setuptools:
apt-get install python-setuptools
(you may also be able to use python-pip
)
- use setuptools to install websockify:
easy_install websockify
comment:7 Changed 17 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1630
xpra v1.0.7-r16697
There is no xpra in /var/run .. I am not sure what is the problem. Please help