mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 09:50:20 +08:00
16 lines
262 B
Bash
Executable File
16 lines
262 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export DISPLAY=:0
|
|
rm -f /tmp/.X0-lock
|
|
|
|
# Run Xvfb on dispaly 0.
|
|
Xvfb :0 -screen 0 1280x720x16 &
|
|
|
|
# Run fluxbox windows manager on display 0.
|
|
fluxbox -display :0 &
|
|
|
|
# Run x11vnc on display 0
|
|
x11vnc -display :0 -forever -ncache 10 &
|
|
|
|
# Add delay
|
|
sleep 5 |