mirror of
https://github.com/DCsunset/docker-archlinux-vnc
synced 2025-12-06 08:58:58 +01:00
fix: set vncserver's port
This commit is contained in:
parent
26b6fb2874
commit
75b389e962
1 changed files with 2 additions and 2 deletions
4
start.sh
4
start.sh
|
|
@ -9,10 +9,10 @@ tigervnc_path="/tigervnc-${tigervnc_version}.x86_64/usr/bin"
|
||||||
# Start TigerVNC
|
# Start TigerVNC
|
||||||
if [ ! -z $VNC_PASSWD ]; then
|
if [ ! -z $VNC_PASSWD ]; then
|
||||||
${tigervnc_path}/vncpasswd -f <<< "$VNC_PASSWD" > "$HOME/.vnc/passwd"
|
${tigervnc_path}/vncpasswd -f <<< "$VNC_PASSWD" > "$HOME/.vnc/passwd"
|
||||||
${tigervnc_path}/vncserver :0
|
${tigervnc_path}/vncserver -rfbport 5900
|
||||||
else
|
else
|
||||||
${tigervnc_path}/vncpasswd -f <<< "" > "$HOME/.vnc/passwd"
|
${tigervnc_path}/vncpasswd -f <<< "" > "$HOME/.vnc/passwd"
|
||||||
${tigervnc_path}/vncserver -SecurityTypes None :0
|
${tigervnc_path}/vncserver -rfbport 5900 -SecurityTypes None
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Start noVNC
|
# Start noVNC
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue