apognu / tuigreet

Graphical console greeter for greetd
GNU General Public License v3.0
986 stars 45 forks source link

Debian unable to run #119

Closed dustdfg closed 1 year ago

dustdfg commented 1 year ago

OS: Debian 12

DISCLAIMER: I am not familiar with systemd or greetd or system configuring in general so I assume that all of my conclusions can be wrong :/

Hello!

  1. Greetd by default assumes that it will work with greeter user. Tuigreet also assumes it (because it is in readme ¯\_(ツ)_/¯) and uses greeter user...

  2. Unfortunately Debian uses another user: _greetd. I can say it because it is default user written in greetd config file and the user created at package install.

  3. I could run default greetd's agreetty so I can declare that greetd works.

  4. When I try to run tuigreet I get the following error in journalctl:

Nov 24 10:25:17 debian systemd[1]: Started greetd.service - Greeter daemon.
Nov 24 10:25:18 debian greetd[942]: error: configured default session user 'greeter' not found
Nov 24 10:25:18 debian systemd[1]: greetd.service: Deactivated successfully.
....

It can't find greeter user because debian creates _greetd user.

And one notice, it doesn't matter what I write inside greetd config file user="greeter" or user="_greetd" it doesn't work and journalctl says the same thing that it can't find greeter user

dustdfg commented 1 year ago

My mistake... Setting vt to 1 doesn't work in debian ¯\_(ツ)_/¯. When I set it to vt 7 that is default in config in debian it started to work...