-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblendernovnc.sh
More file actions
13 lines (13 loc) · 868 Bytes
/
blendernovnc.sh
File metadata and controls
13 lines (13 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
echo "Updating Your System"
sudo apt update
echo "Installing the required packages in order for the script to work properly"
sudo apt install -y wget novnc websockify tigervnc-standalone-server tar openbox tilix apt-utils
cd ~/
wget https://www.torproject.org/dist/torbrowser/14.0.4/tor-browser-linux-x86_64-14.0.4.tar.xz && tar -xvf tor-browser-linux-x86_64-14.0.4.tar.xz -C ~/ && sudo rm -rf tor-browser-linux-x86_64-14.0.4.tar.xz
git clone https://github.com/gitxpresso/linux-novnc.git
tigervncserver -SecurityTypes none --I-KNOW-THIS-IS-INSECURE -xstartup /usr/bin/openbox -geometry 1366x768 -localhost no :0
websockify -D --web=/usr/share/novnc/ --cert=~/linux-novnc/novnc.pem 6080 localhost:5900
export DISPLAY=:0
~/blender/blender --display=:0
echo "Blender and NoVNC has started Now go to https://localhost:5900 to access tor on the vnc server"