File size: 504 Bytes
eabd011
 
 
 
2b3f018
c8d5ae6
 
2b3f018
c8d5ae6
3257fda
2b3f018
3257fda
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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