|
|
|
@ -17,7 +17,11 @@ _main_server_watcher(){ |
|
|
|
|
local target |
|
|
|
|
target="$(head -n 1 "$dir/$line" | _safe_param_stdin)" |
|
|
|
|
test -n "$target" |
|
|
|
|
xpra attach tcp://"$target":4648 & |
|
|
|
|
# log how xpra is run into ~/.xsession-errors* |
|
|
|
|
( set -x ; xpra attach tcp://"$target":4648 ) & |
|
|
|
|
# XXX TODO: this fails for now, fix permissions and try to avoid 777 |
|
|
|
|
# or maybe clean up old files by systemd-tmpfiles |
|
|
|
|
#unlink "$dir/$line" |
|
|
|
|
done |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|