Closed erik-balfe closed 3 months ago
I opened issue on Cosmic repo https://github.com/pop-os/cosmic-epoch/issues/456
I think it's just a config parsing error, might need to reset your configs
EDIT: nvm definitely didn't check the whole log. Yeah that's a bona-fide comp issue
the issue is that the user "cosmic-greeter" and "greetd" is not in "/etc/passwd" file, also the corresponding groups where not populated, at least it was the issue for me:
This is how I resolved it:
$ grep -E '^greetd:' /usr/etc/passwd | sudo tee -a /etc/passwd
$ grep -E '^cosmic-greeter:' /usr/etc/passwd | sudo tee -a /etc/passwd
$ grep -E '^greetd:' /usr/etc/group | sudo tee -a /etc/group
$ grep -E '^cosmic-greeter:' /usr/etc/group | sudo tee -a /etc/group
I hope it helps
Did you rebase from another image? I see.
Yeah, same as swapping from kde to gnome or back and forth.
You also will need to add to /etc/shadow as well.
On Sun, Aug 4, 2024, 5:43 PM Alexej Kowalew @.***> wrote:
the issue is that the user "cosmic-greeter" and "greetd" is not in "/etc/passwd" file, also the corresponding groups where not populated, at least it was the issue for me:
This is how I resolved it:
$ grep -E '^greetd:' /usr/etc/passwd | sudo tee -a /etc/passwd $ grep -E '^cosmic-greeter:' /usr/etc/passwd | sudo tee -a /etc/passwd $ grep -E '^greetd:' /usr/etc/group | sudo tee -a /etc/group $ grep -E '^cosmic-greeter:' /usr/etc/group | sudo tee -a /etc/group
I hope it helps
— Reply to this email directly, view it on GitHub https://github.com/ublue-os/cosmic/issues/48#issuecomment-2267722365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQPNFFOKYO4XK2B55V4HNWDZP2OABAVCNFSM6AAAAABLRVJDWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXG4ZDEMZWGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Did you rebase from another image?
yes, from silverblue:40
I see. Yeah, same as swapping from kde to gnome or back and forth. You also will need to add to /etc/shadow as well.
This was not necessary, at least for me.
This sounds like a mistake on this image or the greetd package. These shouldn't be in /usr/etc/passwd
and so on (only populating correctly if these don't exist from a previous image), but handled via systemd-sysusers
, so the user would get created correctly and automatically, when rebasing.
This sounds like a mistake on this image or the greetd package. These shouldn't be in
/usr/etc/passwd
and so on (only populating correctly if these don't exist from a previous image), but handled viasystemd-sysusers
, so the user would get created correctly and automatically, when rebasing.
I just was able to rebase without a problem to my cosmic image and didn't have to modify /etc/passwd. There was some issue on the VM I tried but worked fine on hardware
Greetd was extremely verbose on the console while using console on hardware.
the issue is that the user "cosmic-greeter" and "greetd" is not in "/etc/passwd" file, also the corresponding groups where not populated, at least it was the issue for me:
This is how I resolved it:
$ grep -E '^greetd:' /usr/etc/passwd | sudo tee -a /etc/passwd $ grep -E '^cosmic-greeter:' /usr/etc/passwd | sudo tee -a /etc/passwd $ grep -E '^greetd:' /usr/etc/group | sudo tee -a /etc/group $ grep -E '^cosmic-greeter:' /usr/etc/group | sudo tee -a /etc/group
I hope it helps
That helped me. Thanks a lot! Right after that i tried to start cosmic-greeter service again and got this error:
But after restart it was ok. I then managed to login to the system and finally try cosmic desktop!
I just installed fedora silverblue 40, then ran the first command in the readme here to rebase to the cosmic-silverblue image. I get this error on boot:
Anyone faced this before? Is there a way for me to install it and run?