[GH-ISSUE #51] VNC not working on debian 6 #41

Closed
opened 2026-02-27 16:00:49 +03:00 by kerem · 1 comment
Owner

Originally created by @pablokbs on GitHub (Apr 11, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/51

I can't get to work vnc on debian6, novnc is not available for this distro, so I'm using the normal vnc, the problem is that java is not making the ssh tunnel:

Network Error: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect

Any ideas?

Originally created by @pablokbs on GitHub (Apr 11, 2013). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/51 I can't get to work vnc on debian6, novnc is not available for this distro, so I'm using the normal vnc, the problem is that java is not making the ssh tunnel: Network Error: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect Any ideas?
kerem closed this issue 2026-02-27 16:00:49 +03:00
Author
Owner

@pablokbs commented on GitHub (Apr 12, 2013):

Nevermind, i copied the binaries from an ubuntu instalation (websockify, websocket.py and websocket.pyc) to /usr/local/bin, and modified websockify, changing the line number 16:

from novnc.websocket import WebSocketServer

to this:

from websocket import WebSocketServer

And learned from this: https://github.com/retspen/webvirtmgr/issues/44 that the novnc.html webpage uses the dashboard's ip address to connect the server, so I had to modify my connection, using the public address instead of 127.0.0.1 and now it's working :)

<!-- gh-comment-id:16271406 --> @pablokbs commented on GitHub (Apr 12, 2013): Nevermind, i copied the binaries from an ubuntu instalation (websockify, websocket.py and websocket.pyc) to /usr/local/bin, and modified websockify, changing the line number 16: from novnc.websocket import WebSocketServer to this: from websocket import WebSocketServer And learned from this: https://github.com/retspen/webvirtmgr/issues/44 that the novnc.html webpage uses the dashboard's ip address to connect the server, so I had to modify my connection, using the public address instead of 127.0.0.1 and now it's working :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#41
No description provided.