Skip to content

Commit

Permalink
Update v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Apoorv Vyavahare committed Sep 11, 2021
1 parent bf40273 commit 6cdadcb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ ENV VNC_PASS="samplepass" \
VNC_TITLE="Vubuntu_Desktop" \
#VNC Resolution(720p is preferable)
VNC_RESOLUTION="1280x720" \
#VNC Shared Mode (0=off, 1=on)
VNC_SHARED=0 \
#Local Display Server Port
DISPLAY=:0 \
#NoVNC Port
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
|:-:|:-:|
| VNC_TITLE | VNC Session Title |
| VNC_RESOLUTION | VNC Server Resolution |
| VNC_SHARED | VNC Shared Mode |
| DISPLAY | Display Server Port |
| PORT | NoVNC HTTP Port |
| NGROK_AUTH_TOKEN | Ngrok Token |
Expand Down
2 changes: 1 addition & 1 deletion assets/configs/2-vnc.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[program:VNC]
command=bash -c 'x11vnc -storepasswd $VNC_PASS /app/.xpass && x11vnc -usepw -rfbport 5900 -rfbauth /app/.xpass -geometry $VNC_RESOLUTION -forever -alwaysshared -permitfiletransfer -bg -desktop $VNC_TITLE'
command=bash -c 'if ((VNC_SHARED==0)); then x11vnc -storepasswd $VNC_PASS /app/.xpass && x11vnc -usepw -rfbport 5900 -rfbauth /app/.xpass -geometry $VNC_RESOLUTION -forever -alwaysshared -permitfiletransfer -bg -desktop $VNC_TITLE; else x11vnc -storepasswd $VNC_PASS /app/.xpass && x11vnc -usepw -rfbport 5900 -rfbauth /app/.xpass -geometry $VNC_RESOLUTION -forever -shared -alwaysshared -permitfiletransfer -bg -desktop $VNC_TITLE; fi'
autostart=true
autorestart=false
stderr_logfile=/var/log/x11vnc.stderr.log
Expand Down

0 comments on commit 6cdadcb

Please sign in to comment.