I’m also trying to use pharo-launcher. The program briefly appears and immediately exits for me as well.
Using this as a template, in my configuration.nix I set the following:
security.pam.services.pharo-launcher.limits = [
{ domain = “*”; item = “rtprio”; type = “soft”; value = “2”; }
{ domain = “*”; item = “rtprio”; type = “hard”; value = “2”; }
];
But I did not see any changes from the above error.
the contents of /etc/pam.d/pharo-launcher
are
# Account management.
account required pam_unix.so
# Authentication management.
auth sufficient pam_unix.so likeauth try_first_pass
auth required pam_deny.so
# Password management.
password sufficient pam_unix.so nullok sha512
# Session management.
session required pam_env.so conffile=/etc/pam/environment readenv=0
session required pam_unix.so
session required /nix/store/sv0xrwv6nc92adfpn29x7fcis91590p0-linux-pam-1.5.2/lib/security/pam_limits.so conf=/nix/store/ks4m89dr78rb6jz0msjidazr5an959pl-limits.conf
Which doesn’t seem to even mention the limits. Did I do it wrong?