Spaces:
Running
Running
Duongkum999
commited on
Create start.sh
Browse files
start.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Thiết lập mật khẩu cho x11vnc
|
4 |
+
mkdir -p ~/.vnc
|
5 |
+
x11vnc -storepasswd 1 ~/.vnc/passwd
|
6 |
+
|
7 |
+
# Khởi động XFCE4
|
8 |
+
startxfce4 &
|
9 |
+
|
10 |
+
# Khởi động Supervisor
|
11 |
+
/usr/bin/supervisord -c /etc/supervisor/supervisord.conf
|