~kennylevinsen/greetd

greetd-docs: Mention that cage allows VT switching with -s v1 APPLIED

Jan Tatje: 1
 Mention that cage allows VT switching with -s

 1 files changed, 4 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~kennylevinsen/greetd/patches/13844/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH greetd-docs] Mention that cage allows VT switching with -s Export this patch

---
 index.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/index.md b/index.md
index 85dacae..fef967c 100644
--- a/index.md
+++ b/index.md
@@ -59,10 +59,12 @@ See the `greetd-ipc(7)` manpage, and look at `agreety` or `gtkgreet` for inspira
vt = 1

[default_session]
command = "cage gtkgreet"
command = "cage -s -- gtkgreet"
user = "greeter"
```

The `-s` argument enables VT switching in cage (0.1.2 and newer only), which is highly recommended to prevent locking yourself out.

5. Edit gtkgreet list of login environments, which is by default read from `/etc/greetd/environments`. Example:

```
@@ -202,7 +204,7 @@ sudo chown -R greeter:greeter /etc/greetd

## I used cage as my greeter, messed up my config, and now I can't log in or switch to another VT!

cage specifically disallows VT switching, which can be slightly frustrating if you have messed up your config.
cage specifically disallows VT switching, unless started with `-s`, which can be slightly frustrating if you have messed up your config.

If this, together with a broken greeter configuration, has rendered you unable to log in, you can temporarily disable greetd by adding the following to your kernel command-line in your bootloader:

-- 
2.28.0