Advertisement
rock6064

zzzzzz

Sep 30th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. apt-get -y update && apt -y install vnc4server && apt-get install -y fluxbox && apt -y install novnc websockify python-numpy && cd /etc/ssl && openssl req -x509 -nodes -newkey rsa:2048 -keyout novnc.pem -out novnc.pem -days 365
  2.  
  3. chmod 644 novnc.pem && vncserver -geometry 1366x768
  4.  
  5. websockify -D --web=/usr/share/novnc/ --cert=/etc/ssl/novnc.pem 6080 localhost:5901
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement