~kennylevinsen/greetd-docs

774196f019e87e91db01ec3e2720e473007adc88 — Jan Tatje 23 days ago 98dc64f master
Mention that cage allows VT switching with -s
1 files changed, 4 insertions(+), 2 deletions(-)

M index.md
M index.md => index.md +4 -2
@@ 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: