updated readme
This commit is contained in:
parent
0a93a37cd0
commit
8f60551b8d
|
|
@ -2,8 +2,6 @@
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="1d3b8a90-39a8-4e12-bf3c-191ba9fee294" name="Default" comment="">
|
<list default="true" id="1d3b8a90-39a8-4e12-bf3c-191ba9fee294" name="Default" comment="">
|
||||||
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
|
|
||||||
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/vnc_lite_vr.html" />
|
|
||||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
|
||||||
</list>
|
</list>
|
||||||
<ignored path="$PROJECT_DIR$/.tmp/" />
|
<ignored path="$PROJECT_DIR$/.tmp/" />
|
||||||
|
|
@ -49,8 +47,8 @@
|
||||||
<file leaf-file-name="README.md" pinned="false" current-in-tab="true">
|
<file leaf-file-name="README.md" pinned="false" current-in-tab="true">
|
||||||
<entry file="file://$PROJECT_DIR$/README.md">
|
<entry file="file://$PROJECT_DIR$/README.md">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="140">
|
<state relative-caret-position="-255">
|
||||||
<caret line="7" column="7" lean-forward="false" selection-start-line="7" selection-start-column="7" selection-end-line="7" selection-end-column="7" />
|
<caret line="130" column="4" lean-forward="false" selection-start-line="130" selection-start-column="4" selection-end-line="130" selection-end-column="4" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
@ -231,12 +229,12 @@
|
||||||
<option name="number" value="Default" />
|
<option name="number" value="Default" />
|
||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1495215905470</updated>
|
<updated>1495215905470</updated>
|
||||||
<workItem from="1495215906702" duration="3143000" />
|
<workItem from="1495215906702" duration="3634000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TimeTrackingManager">
|
<component name="TimeTrackingManager">
|
||||||
<option name="totallyTimeSpent" value="3143000" />
|
<option name="totallyTimeSpent" value="3634000" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ToolWindowManager">
|
<component name="ToolWindowManager">
|
||||||
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
|
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
|
||||||
|
|
@ -304,8 +302,8 @@
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/README.md">
|
<entry file="file://$PROJECT_DIR$/README.md">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="140">
|
<state relative-caret-position="-255">
|
||||||
<caret line="7" column="7" lean-forward="false" selection-start-line="7" selection-start-column="7" selection-end-line="7" selection-end-column="7" />
|
<caret line="130" column="4" lean-forward="false" selection-start-line="130" selection-start-column="4" selection-end-line="130" selection-end-column="4" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
|
||||||
45
README.md
45
README.md
|
|
@ -1,17 +1,5 @@
|
||||||
## noVNC: HTML5 VNC Client - now works in VR
|
## noVNC: HTML5 VNC Client
|
||||||
|
----
|
||||||
I have adapted the WebVR boilerplate with a basic Three.js scene to make this VNC client work in VR on a mobile device.
|
|
||||||
|
|
||||||
|
|
||||||
I Used tightvnc on linux to host a display on vnc. I ran these commands on the terminal inside the root folder.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo apt-get install tightvncserver.
|
|
||||||
vncserver :2 -geometry 4096x1024
|
|
||||||
./utils/launch.sh --vnc localhost:5902 # 590X port number maps to display number on tight vnc.
|
|
||||||
```
|
|
||||||
|
|
||||||
Below here is original Readme file.
|
|
||||||
|
|
||||||
[](https://travis-ci.org/novnc/noVNC)
|
[](https://travis-ci.org/novnc/noVNC)
|
||||||
|
|
||||||
|
|
@ -115,6 +103,35 @@ WebSockets to TCP socket proxy. There is a python proxy included
|
||||||
Connect button and enjoy!
|
Connect button and enjoy!
|
||||||
|
|
||||||
|
|
||||||
|
### Now with WebVR support
|
||||||
|
|
||||||
|
I have adapted the WebVR boilerplate with a basic Three.js scene to make this VNC client work in VR on a mobile device.
|
||||||
|
https://github.com/borismus/webvr-boilerplate
|
||||||
|
|
||||||
|
I Used tightvncserver on linux to host a display on vnc. I ran these commands on the terminal inside the root folder.
|
||||||
|
|
||||||
|
https://knowledgelayer.softlayer.com/learning/tightvnc-server-ubuntu-1604
|
||||||
|
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
# Install tight VNC
|
||||||
|
sudo apt-get install tightvncserver.
|
||||||
|
|
||||||
|
# Start VNC server on display :2
|
||||||
|
vncserver :2 -geometry 4096x1024
|
||||||
|
|
||||||
|
# Launch websockify in noVNC folder.
|
||||||
|
./utils/launch.sh --vnc localhost:5902 # 590X port number maps to display number on tight vnc.
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Then connect to your laptop from your smart phone by opening a browser to your laptops IP. The password prompt will still appear at the top.
|
||||||
|
|
||||||
|
TODO: add input??
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Other Pages
|
### Other Pages
|
||||||
|
|
||||||
* [Modules/API](https://github.com/novnc/noVNC/wiki/Modules-API) - The library
|
* [Modules/API](https://github.com/novnc/noVNC/wiki/Modules-API) - The library
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue