mirror of
https://github.com/linuxserver/docker-rdesktop.git
synced 2026-02-20 06:16:43 +08:00
sync webtop logic
This commit is contained in:
parent
b39ebf38f4
commit
abb5ac1223
@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa /startpulse.sh &
|
||||
/usr/bin/icewm > /dev/null 2>&1
|
||||
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa /startpulse.sh &
|
||||
setterm blank 0
|
||||
setterm powerdown 0
|
||||
/usr/bin/icewm-session > /dev/null 2>&1
|
||||
|
||||
@ -2,8 +2,13 @@
|
||||
|
||||
BIN=/usr/bin/chromium-real
|
||||
|
||||
# Cleanup
|
||||
if ! pgrep chromium > /dev/null;then
|
||||
rm -f $HOME/.config/chromium/Singleton*
|
||||
fi
|
||||
|
||||
# Run normally on privved containers or modified un non priv
|
||||
if grep -q 'Seccomp: 0' /proc/1/status; then
|
||||
if grep -q 'Seccomp:\t0' /proc/1/status; then
|
||||
${BIN} --password-store=basic "$@"
|
||||
else
|
||||
${BIN} --password-store=basic --no-sandbox --test-type "$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user