docs: update xhost command to be silent. Fix #1350

Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
Luca Di Maio
2024-05-01 16:52:41 +02:00
parent 883e0bae09
commit e76b16ea5a
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ Once `distrobox` is upgraded, you can use it as normal.
To run GUI application, add following line to `~/.distroboxrc`.
```sh
xhost +si:localuser:$USER
xhost +si:localuser:$USER >/dev/null
```
This is needed to ensure the graphical apps can talk to the Xwayland session.
@@ -113,7 +113,7 @@ correctly in SteamOS
Ensure your `~/.distroboxrc` has this content:
```sh
xhost +si:localuser:$USER
xhost +si:localuser:$USER >/dev/null
export PIPEWIRE_RUNTIME_DIR=/dev/null
export PATH=$PATH:$HOME/.local/bin
```

View File

@@ -211,7 +211,7 @@ to your `~/.distroboxrc`
```console
-$ cat ~/.distroboxrc
xhost +si:localuser:$USER
xhost +si:localuser:$USER >/dev/null
```
## Enable SSH X-Forwarding when SSH-ing in a distrobox