Browser_F / start.sh
Shinhati2023's picture
Update start.sh
c8d5ae6 verified
raw
history blame contribute delete
504 Bytes
#!/bin/bash
export DISPLAY=:1
Xvfb :1 -screen 0 1920x1080x24 &
sleep 2
# We manually specify port 7860 here because we didn't create a config file
vncserver -port 7860 -httpd /usr/share/kasmvnc/www -sslOnly 0 -depth 24 -geometry 1920x1080 -fg &
# Point to the Chrome download
CHROME_BIN="/home/user/chrome-linux/chrome"
$CHROME_BIN --no-sandbox --disable-dev-shm-usage --start-maximized --user-data-dir=/home/user/data --enable-gpu --enable-unsafe-webgpu --ignore-gpu-blocklist https://huggingface.co