Package Details: greetd-git 0.5.1+13.gc7068fe8fd-1

Git Clone URL: https://aur.archlinux.org/greetd-git.git (read-only, click to copy)
Package Base: greetd-git
Description: Generic greeter daemon
Upstream URL: https://git.sr.ht/~kennylevinsen/greetd
Licenses: GPL3
Conflicts: greetd
Provides: greetd=0.5.1
Submitter: 1ace
Maintainer: 1ace (kennylevinsen)
Last Packager: 1ace
Votes: 0
Popularity: 0.000000
First Submitted: 2020-02-01 12:45
Last Updated: 2020-04-30 23:10

Dependencies (8)

Required by (0)

Sources (2)

Latest Comments

appelgriebsch commented on 2020-04-29 07:38

Hey, I was trying to build the package on my ManjaroARM installation, but it always fails due some type mismatch in the pam module. Tried both: git-master and ref 0.5.1 without much success...

   Compiling greetd_ipc v0.5.1 (/var/tmp/pamac-build-andi/greetd-git/src/greetd/greetd_ipc)
   Compiling greetd v0.5.0 (/var/tmp/pamac-build-andi/greetd-git/src/greetd/greetd)
   Compiling fakegreet v0.5.0 (/var/tmp/pamac-build-andi/greetd-git/src/greetd/fakegreet)
   Compiling agreety v0.5.0 (/var/tmp/pamac-build-andi/greetd-git/src/greetd/agreety)
error[E0308]: mismatched types
   --> greetd/src/pam/session.rs:107:57
    |
107 |         self.last_code = pam_sys::get_user(self.handle, &mut p, ptr::null());
    |                                                         ^^^^^^ expected `u8`, found `i8`
    |
    = note: expected mutable reference `&mut *const u8`
               found mutable reference `&mut *const i8`

error[E0308]: mismatched types
   --> greetd/src/pam/session.rs:110:45
    |
110 |                 Ok((unsafe { CStr::from_ptr(p) }).to_str().unwrap().to_string())
    |                                             ^ expected `u8`, found `i8`
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.
error: could not compile `greetd`.

Might be related to a type issue in this line: https://github.com/kennylevinsen/greetd/blob/master/greetd/src/pam/session.rs#L106

Created a PR on GitHub. With this change it compiles just fine.... https://github.com/kennylevinsen/greetd/pull/1

kennylevinsen commented on 2020-03-28 16:36

The automatically created user was missing a shell, which could stop the greeter from starting properly.

If you already have the user created and observe this issue, use sudo chsh -s /bin/bash greeter to fix the user.

kennylevinsen commented on 2020-03-18 14:33

Now includes manpages, automatic user creation and proper handling of config on upgrade.

simon.bueler commented on 2020-03-16 09:50

Would be great if the package creates the user it mentions to run with in from the config and deploys the default config to be used.

1ace commented on 2020-02-15 13:39

@kennylevinsen: thanks for letting me know! package updated.

I'm adding you as a maintainer to all the greetd packages, that way you'll be able to tweak the PKGBUILDs as needed :)

kennylevinsen commented on 2020-02-10 00:53

/etc/pam.d/greeter is no longer included in the package, as it was unnecessary.