From 087a50a19c87175bc6c2a3b7ddc886f98f26f7c4 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 10 Sep 2024 11:33:08 +0300 Subject: wiki/Xwayland: Add note about existing DISPLAY --- wiki/Xwayland.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wiki/Xwayland.md b/wiki/Xwayland.md index 77f6006f..b915239f 100644 --- a/wiki/Xwayland.md +++ b/wiki/Xwayland.md @@ -23,6 +23,12 @@ environment { } ``` +> [!NOTE] +> If the `:0` DISPLAY is already taken (for example, by some other Xwayland server like `xwayland-run`), `xwayland-satellite` will try the next DISPLAY numbers in order: `:1`, `:2`, etc. and tell you which one it used in its output. +> Then, you will need to use that DISPLAY number for the `env` command or for the niri `environment` block. +> +> You can also force a specific DISPLAY number like so: `xwayland-satellite :12` will start on `DISPLAY=:12`. + ## Directly running Xwayland in rootful mode This method involves invoking XWayland directly and running it as its own window, it also requires an extra X11 window manager running inside it. -- cgit