openSUSE / openSUSEway

dotfiles for Sway on openSUSE
MIT License
82 stars 17 forks source link

greeter couldn't start the session #52

Closed denisok closed 2 years ago

denisok commented 2 years ago

In #33 @mcepl has an issue with greeter not starting:

May 24 12:59:15 stitny greetd[2497]: error: check_children: greeter exited without creating a session

since sometime I also started to have this issue.

I tried tuigreet. And that at least starts but something kills it before I could enter login and password, if I am really quick - I could login. So probably same happens with gtkgreet, but that just takes more time to start and got killed faster even before showing something.

mcepl commented 2 years ago

Thank you.

denisok commented 2 years ago

@mcepl do you have GDM installed or /usr/lib/systemd/logind.conf.d/reserveVT.conf ?

In my case it was it, vt 1 was busy and we explicitly specify vt = 1 in config file by default. could you try proposed patch and check if it works for you.

mcepl commented 2 years ago

I have GDM installed (that's the only loging manager which actually works for me; however it is disabled as per https://en.opensuse.org/Portal:OpenSUSEway) and

~@stitny$ cat /usr/lib/systemd/logind.conf.d/reserveVT.conf
[Login]
ReserveVT=1
~@stitny$
denisok commented 2 years ago

cool. @mcepl could you try the fix?

mcepl commented 2 years ago

see the comment in the pull request.