misOrz

IT Tech & Life

Assign VNC password using script

#!/bin/sh 
mypasswd="000111" 
echo $mypasswd | vncpasswd -f > $HOME/.vnc/passwd