forge
Explore
Log in

Don't you dare go Hollow

wiki: Add warning about running niri from TTY

Browse files at this commit

19d873f8a0b933d6d92d1be65a53668c190387aeIvan MolodetskikhParent: fda56e0
docs/wiki/Getting-Started.mdmodified+4 -0
@@ -46,6 +46,10 @@ If you're not using a display manager, you should run `niri-session` (systemd/di
4646 The `--session` flag will make niri import its environment variables globally into the system manager and D-Bus, and start its D-Bus services.
4747 The `niri-session` script will additionally start niri as a systemd/dinit service, which starts up a graphical session target required by some services like portals.
4848
49+> [!WARNING]
50+> Running niri directly from a TTY means that exiting or crashing niri will put the user straight into an unlocked shell prompt.
51+> Set up a display manager to avoid this.
52+
4953 You can also run `niri` inside an existing desktop session.
5054 Then it will open as a window, where you can give it a try.
5155 Note that this windowed mode is mainly meant for development, so it is a bit buggy (in particular, there are issues with hotkeys).