Skip to content

Commit

Permalink
fix: Expose idletime for xpra sessions
Browse files Browse the repository at this point in the history
The idletime wasn't properly exposed for xpra sessions, only for xrdp sessions.
  • Loading branch information
MoritzWeber0 committed Mar 6, 2024
1 parent ef5ab56 commit 990cce5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/docs/remote.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Replace the followings variables:
!!! note "Embedding in iframes"

To embed the XPRA session in an iframe, you have to set a custom Content Security Policy. You can pass the environment variable `XPRA_CSP_ORIGIN_HOST`
with the hostname of the website you'd like to embed the XPRA session in. If you want to embed the XPRA session in an iframe on `example.com`, set `XPRA_CSP_ORIGIN_HOST` to `https://example.com`.
to the hostname of the website you'd like to embed the XPRA session in. If you want to embed the XPRA session in an iframe on `example.com`, set `XPRA_CSP_ORIGIN_HOST` to `https://example.com`.

Set the `XPRA_SUBPATH` to the subpath that `xpra` should serve on. If you want to have it running on `/xpra`, set `XPRA_SUBPATH` to `/xpra`.

Expand Down
4 changes: 2 additions & 2 deletions remote/supervisord.xpra.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# SPDX-License-Identifier: Apache-2.0

[program:xpra]
command=xpra start --start=/home/techuser/.config/openbox/autostart --attach=yes --daemon=no --bind-tcp=0.0.0.0:10001
command=xpra start :10 --start=/home/techuser/.config/openbox/autostart --attach=yes --daemon=no --bind-tcp=0.0.0.0:10001
user=techuser
autorestart=true
environment=DISPLAY=":0"
environment=DISPLAY=":10"

[program:nginx]
command=nginx
Expand Down

0 comments on commit 990cce5

Please sign in to comment.