Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
noVNC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
noVNC
Commits
7210e79e
Commit
7210e79e
authored
Jun 07, 2010
by
Joel Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move wsproxy and web utils into utils/ subdir.
parent
9e61a9c6
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
6 additions
and
6 deletions
+6
-6
README.md
README.md
+4
-4
ws.py
tests/ws.py
+1
-1
wsencoding.py
tests/wsencoding.py
+1
-1
Makefile
utils/Makefile
+0
-0
web.py
utils/web.py
+0
-0
websocket.c
utils/websocket.c
+0
-0
websocket.h
utils/websocket.h
+0
-0
websocket.py
utils/websocket.py
+0
-0
wsproxy.c
utils/wsproxy.c
+0
-0
wsproxy.py
utils/wsproxy.py
+0
-0
No files found.
README.md
View file @
7210e79e
...
@@ -60,16 +60,16 @@ Usage
...
@@ -60,16 +60,16 @@ Usage
*
run the python proxy:
*
run the python proxy:
`./wsproxy.py [listen_port] [vnc_host] [vnc_port]`
`./
utils/
wsproxy.py [listen_port] [vnc_host] [vnc_port]`
`./wsproxy.py 8787 localhost 5901`
`./
utils/
wsproxy.py 8787 localhost 5901`
*
run the mini python web server to serve the directory:
*
run the mini python web server to serve the directory:
`./web.py PORT`
`./
utils/
web.py PORT`
`./web.py 8080`
`./
utils/
web.py 8080`
*
Point your web browser at http://localhost:8080/vnc.html
*
Point your web browser at http://localhost:8080/vnc.html
(or whatever port you used above to run the web server).
(or whatever port you used above to run the web server).
...
...
tests/ws.py
View file @
7210e79e
...
@@ -11,7 +11,7 @@ import random, time
...
@@ -11,7 +11,7 @@ import random, time
from
base64
import
b64encode
,
b64decode
from
base64
import
b64encode
,
b64decode
from
select
import
select
from
select
import
select
sys
.
path
.
insert
(
0
,
os
.
path
.
dirname
(
__file__
)
+
"/../"
)
sys
.
path
.
insert
(
0
,
os
.
path
.
dirname
(
__file__
)
+
"/../
utils/
"
)
from
websocket
import
*
from
websocket
import
*
buffer_size
=
65536
buffer_size
=
65536
...
...
tests/wsencoding.py
View file @
7210e79e
...
@@ -12,7 +12,7 @@ from base64 import b64encode, b64decode
...
@@ -12,7 +12,7 @@ from base64 import b64encode, b64decode
from
codecs
import
utf_8_encode
,
utf_8_decode
from
codecs
import
utf_8_encode
,
utf_8_decode
from
select
import
select
from
select
import
select
sys
.
path
.
insert
(
0
,
os
.
path
.
dirname
(
__file__
)
+
"/../"
)
sys
.
path
.
insert
(
0
,
os
.
path
.
dirname
(
__file__
)
+
"/../
utils/
"
)
from
websocket
import
*
from
websocket
import
*
buffer_size
=
65536
buffer_size
=
65536
...
...
Makefile
→
utils/
Makefile
View file @
7210e79e
File moved
web.py
→
utils/
web.py
View file @
7210e79e
File moved
websocket.c
→
utils/
websocket.c
View file @
7210e79e
File moved
websocket.h
→
utils/
websocket.h
View file @
7210e79e
File moved
websocket.py
→
utils/
websocket.py
View file @
7210e79e
File moved
wsproxy.c
→
utils/
wsproxy.c
View file @
7210e79e
File moved
wsproxy.py
→
utils/
wsproxy.py
View file @
7210e79e
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment