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
46 The `--session` flag will make niri import its environment variables globally into the system manager and D-Bus, and start its D-Bus services.46 The `--session` flag will make niri import its environment variables globally into the system manager and D-Bus, and start its D-Bus services.
47 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.47 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.
48 48
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+
49 You can also run `niri` inside an existing desktop session.53 You can also run `niri` inside an existing desktop session.
50 Then it will open as a window, where you can give it a try.54 Then it will open as a window, where you can give it a try.
51 Note that this windowed mode is mainly meant for development, so it is a bit buggy (in particular, there are issues with hotkeys).55 Note that this windowed mode is mainly meant for development, so it is a bit buggy (in particular, there are issues with hotkeys).