wiki/Xwayland: Add note about existing DISPLAY
Browse files at this commit087a50a19c87175bc6c2a3b7ddc886f98f26f7c4Parent: 0bed2531 changed file +6 -0
- wiki/Xwayland.md +6 -0
wiki/Xwayland.mdmodified+6 -0
| @@ -23,6 +23,12 @@ environment { | |||
| 23 | } | 23 | } |
| 24 | ``` | 24 | ``` |
| 25 | 25 | ||
| 26 | +> [!NOTE] | ||
| 27 | +> 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. | ||
| 28 | +> Then, you will need to use that DISPLAY number for the `env` command or for the niri `environment` block. | ||
| 29 | +> | ||
| 30 | +> You can also force a specific DISPLAY number like so: `xwayland-satellite :12` will start on `DISPLAY=:12`. | ||
| 31 | + | ||
| 26 | ## Directly running Xwayland in rootful mode | 32 | ## Directly running Xwayland in rootful mode |
| 27 | 33 | ||
| 28 | This method involves invoking XWayland directly and running it as its own window, it also requires an extra X11 window manager running inside it. | 34 | This method involves invoking XWayland directly and running it as its own window, it also requires an extra X11 window manager running inside it. |