Luckily Peter Tribble handed me a patch removing some pam code on LightDm session child, and now it works inside svc :) but I'm discussing with guys at lightdm what is the impact of removing this code. About your suggestion, probably that is the way to go, but it's hard to append pam stuff on pam,conf, during IPS install, since we still not have pam.d support (AFAIK). It would require a one time svc to append rows on pam.conf, and this is not very good to me. Gabriele. ---------------------------------------------------------------------------------- Da: Jim Klimov A: [email protected] Data: 8 aprile 2014 18.07.29 CEST Oggetto: Re: [discuss] lightdm can't start under svc On 2014-04-08 16:59, Gabriele Bulfon wrote: I hope this is the last step to have LightDM on XStreamOS Desktop! While running lightdm as root from the text console, works fine, when running with the specific lxdm svc, I get these errors, and it quits: I've had a similar general kind of errors usually due to differences in the environments (interactive shell vs. rc, smf or crontab context). These may be due to RBAC (the default set of privileges for SMF even for root is smaller than in interactive case), or due to environment variables. With PAM complaints I'd imagine there may need to be some /etc/pam.* lines added, though I am no expert on that to provide any specific examples, except for something like this (from oi_151a8): # grep gdm /etc/pam.conf gdm-autologin auth required pam_unix_cred.so.1 gdm-autologin auth sufficient pam_allow.so.1 gdm-autologin account sufficient pam_allow.so.1 HTH, //Jim Klimov ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175541-02f10c6f Modify Your Subscription: https://www.listbox.com/member/?&id;secret=21175541-29e3e0ee Powered by Listbox: http://www.listbox.com
------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
