-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9dbd088
commit 9fbe751
Showing
9 changed files
with
100 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,6 @@ | ||
#!/bin/sh | ||
|
||
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 | ||
./run_vnc.sh | ||
|
||
# Activate virtual environment | ||
export DISPLAY=:0 | ||
. .venv/bin/activate && python3 main.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters