Bug 1706291 - Can't start novnc using novnc_server script
Summary: Can't start novnc using novnc_server script
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: novnc
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lee Yarwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-04 05:13 UTC by Eric Smith
Modified: 2019-08-19 01:01 UTC (History)
5 users (show)

Fixed In Version: novnc-1.1.0-2.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 01:01:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screen capture of web browser showing novnc error (80.38 KB, image/png)
2019-05-04 05:13 UTC, Eric Smith
no flags Details

Description Eric Smith 2019-05-04 05:13:55 UTC
Created attachment 1562938 [details]
screen capture of web browser showing novnc error

Description of problem:
When I try to start novnc using the novnc_server script, it gives an error
"The path /usr/bin/websockify exists, but /usr/bin/websockify/run either does not exist or is not executable."

Version-Release number of selected component (if applicable):
novnc-1.0.0-2.fc30.noarch

How reproducible:
100%

Steps to Reproduce:
1. install novnc-1.0.0-2 and python3-websockify-0.8.0-11
2. have a VNC server running on somehost:port
3. run "novnc_server --vnc somehost:port"

Actual results:
[eric@p1 foo]$ novnc_server --vnc 192.168.18.55:5900
Warning: could not find self.pem
The path /usr/bin/websockify exists, but /usr/bin/websockify/run either does not exist or is not executable.
If you intended to use an installed websockify package, please remove /usr/bin/websockify.

Expected results:
novnc runs

Additional info:
python3-websockify installs an executable as /usr/bin/websockify, yet novnc_server appear to assume that /usr/bin/websockify is a directory!
If I move the websockify executable out of the way, create the directory, and move the websockify executable into the directory, the script runs much better, though I still am unable to get novnc to actually work; the web browser gets an error as shown in the attached capture.

Comment 2 Fedora Update System 2019-08-09 11:37:30 UTC
FEDORA-2019-638008ad81 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-638008ad81

Comment 3 Fedora Update System 2019-08-11 02:20:00 UTC
novnc-1.1.0-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-638008ad81

Comment 4 Fedora Update System 2019-08-19 01:01:18 UTC
novnc-1.1.0-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.