-
Notifications
You must be signed in to change notification settings - Fork 3
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
4db403a
commit d4b8563
Showing
89 changed files
with
2,170 additions
and
293 deletions.
There are no files selected for viewing
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 @@ | ||
docker build -t localhost/zx-deca . |
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,3 @@ | ||
#!/bin/bash | ||
|
||
docker run -p22:2222 -p3389:3389 localhost/zx-deca |
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,26 @@ | ||
#!/bin/bash | ||
|
||
start_xrdp_services() { | ||
# Preventing xrdp startup failure | ||
rm -rf /var/run/xrdp-sesman.pid | ||
rm -rf /var/run/xrdp.pid | ||
rm -rf /var/run/xrdp/xrdp-sesman.pid | ||
rm -rf /var/run/xrdp/xrdp.pid | ||
|
||
# Use exec ... to forward SIGNAL to child processes | ||
xrdp-sesman && exec xrdp -n | ||
} | ||
|
||
stop_xrdp_services() { | ||
xrdp --kill | ||
xrdp-sesman --kill | ||
exit 0 | ||
} | ||
|
||
echo -e "Starting xrdp services..." | ||
|
||
# To examine the xrdp logs please use this command in the Docker terminal: | ||
# tail -f /var/log/xrdp-sesman.log | ||
|
||
trap "stop_xrdp_services" SIGKILL SIGTERM SIGHUP SIGINT EXIT | ||
start_xrdp_services |
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 @@ | ||
minicom -c on -b 115200 -o -D /dev/ttyUSB0 |
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
Oops, something went wrong.