diff --git a/docs/docs/remote.md b/docs/docs/remote.md index 747007b5..80a7c6c4 100644 --- a/docs/docs/remote.md +++ b/docs/docs/remote.md @@ -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`. diff --git a/remote/supervisord.xpra.conf b/remote/supervisord.xpra.conf index 1bf3cdde..74bbf5ad 100644 --- a/remote/supervisord.xpra.conf +++ b/remote/supervisord.xpra.conf @@ -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