Package Details: greetd-git 0.7.0-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
Submitter: 1ace
Maintainer: kennylevinsen
Last Packager: kennylevinsen
Votes: 0
Popularity: 0.000000
First Submitted: 2020-02-01 12:45 (UTC)
Last Updated: 2021-03-15 17:43 (UTC)

Dependencies (8)

Required by (11)

Sources (2)

Latest Comments

somini commented on 2023-06-23 00:24 (UTC)

Any chance of creating an actual home directory for the greeter user, so that we can properly configure the GTK gtk-application-prefer-dark-theme settings?

Should be a matter of:

  • Creating "$pkgdir/usr/lib/tmpfiles.d/greetd.conf" with a single line: d /var/lib/greetd 0750 greeter greeter -
  • Changing the home folder of greetd user to that folder: 'u greeter - "greetd greeter user" /var/lib/greetd /bin/bash'

Since the user is created in this package, these changes should be done here, even though they are mostly useful for greetd-gtkgreet and other graphical greeters.

beroal commented on 2022-01-06 08:41 (UTC)

I noticed that systemd tries to restart the included service even if the service fails because of the error in its configuration file. But such an error is not spurios. I added RestartPreventExitStatus=1 to the Service section to prevent this; now systemd does not restart the service if the exit status was 1.

appelgriebsch commented on 2020-04-29 07:38 (UTC) (edited on 2020-04-29 07:53 (UTC) by appelgriebsch)

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 (UTC)

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 (UTC)

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

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

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 (UTC)

@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 (UTC)

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