Shinhati2023 commited on
Commit
c8d5ae6
·
verified ·
1 Parent(s): 68f4d7b

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +3 -2
start.sh CHANGED
@@ -3,9 +3,10 @@ export DISPLAY=:1
3
  Xvfb :1 -screen 0 1920x1080x24 &
4
  sleep 2
5
 
6
- vncserver -select-de kasm
 
7
 
8
- # THIS PATH MUST MATCH THE DOCKERFILE
9
  CHROME_BIN="/home/user/chrome-linux/chrome"
10
 
11
  $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
 
3
  Xvfb :1 -screen 0 1920x1080x24 &
4
  sleep 2
5
 
6
+ # We manually specify port 7860 here because we didn't create a config file
7
+ vncserver -port 7860 -httpd /usr/share/kasmvnc/www -sslOnly 0 -depth 24 -geometry 1920x1080 -fg &
8
 
9
+ # Point to the Chrome download
10
  CHROME_BIN="/home/user/chrome-linux/chrome"
11
 
12
  $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