Create start.sh
Browse files
start.sh
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# Fresh everything
|
| 4 |
+
rm -rf /tmp/.X* /tmp/chrome/* \~/.cache/* 2>/dev/null || true
|
| 5 |
+
mkdir -p /tmp/chrome
|
| 6 |
+
|
| 7 |
+
# VNC server no password (private space hai)
|
| 8 |
+
vncserver :1 -geometry $VNC_RESOLUTION -depth 24 -SecurityTypes None &
|
| 9 |
+
|
| 10 |
+
sleep 3
|
| 11 |
+
|
| 12 |
+
# noVNC web server on HF port
|
| 13 |
+
websockify --web=/usr/share/novnc 7860 localhost:5901 &
|
| 14 |
+
|
| 15 |
+
sleep 2
|
| 16 |
+
|
| 17 |
+
# Light desktop
|
| 18 |
+
fluxbox &
|
| 19 |
+
|
| 20 |
+
sleep 2
|
| 21 |
+
|
| 22 |
+
# SUPER STEALTH CHROMIUM - no cookies, anti-detect
|
| 23 |
+
chromium --no-sandbox \
|
| 24 |
+
--disable-setuid-sandbox \
|
| 25 |
+
--user-data-dir=/tmp/chrome \
|
| 26 |
+
--incognito \
|
| 27 |
+
--disk-cache-dir=/dev/null \
|
| 28 |
+
--disable-blink-features=AutomationControlled \
|
| 29 |
+
--disable-features=Translate,PrivacySandboxSettings4,OptimizationGuideModelExecution,InterestFeedContentSuggestions \
|
| 30 |
+
--disable-sync \
|
| 31 |
+
--no-first-run \
|
| 32 |
+
--no-default-browser-check \
|
| 33 |
+
--disable-infobars \
|
| 34 |
+
--disable-background-timer-throttling \
|
| 35 |
+
--disable-renderer-backgrounding \
|
| 36 |
+
--disable-backgrounding-occluded-windows \
|
| 37 |
+
--disable-component-update \
|
| 38 |
+
--start-maximized \
|
| 39 |
+
https://duckduckgo.com &
|
| 40 |
+
|
| 41 |
+
# Keep container alive
|
| 42 |
+
tail -f /dev/null
|