Hi, i have just installed a gentoo on a new laptop (IBM, Pentium M) with X, entrance and enlightenment (0.16, ~arched). Everything is new and nearly in default conf. entrance refuses to allow a login : it blocks a few second after i have entered my login/password and then it comes back to the dialog box prompting for login/passwd. It's because the reference to pam_console.so in /etc/pam.d/entrance : session optional pam_console.so if /lib/security/pam_console.so doesn't exist (which is the default case unless you mention USE="pam_console" to pam), entrance_login dies with : Aug 1 16:10:17 sleipnir entrance_login[1166]: PAM unable to dlopen(/lib/security/pam_console.so) Aug 1 16:10:17 sleipnir entrance_login[1166]: PAM [dlerror: /lib/security/pam_console.so: cannot open shared object file: No such file or directory] Aug 1 16:10:17 sleipnir entrance_login[1166]: PAM adding faulty module: /lib/security/pam_console.so Aug 1 16:10:17 sleipnir entranced: The session has ended normally.
No, that's something else. I commented the pam_console line; i reemerged pam with USE="pam_console"; i reemerged entrance; i still can't login with entrance and i don't know why. :( Aug 1 16:43:26 sleipnir entranced: Starting X server. Aug 1 16:43:26 sleipnir entranced: Starting Entrance. Aug 1 16:43:26 sleipnir entrance: Debug: ipc_title = /var/lib/entrance_ipc_3337 Aug 1 16:43:26 sleipnir entrance: entrance_ipc_init: Success Aug 1 16:43:46 sleipnir entrance: PAM: Success. Aug 1 16:43:47 sleipnir entrance: entranced: Requesting auth for uid 1000 (/home/falco) Aug 1 16:43:47 sleipnir entrance: Executing You should reconfigure --with-xsession Aug 1 16:43:47 sleipnir entrance: Starting session for user "falco". Aug 1 16:43:57 sleipnir entranced: The session has ended normally. Aug 1 16:43:58 sleipnir entrance: Debug: ipc_title = /var/lib/entrance_ipc_3337 Aug 1 16:43:58 sleipnir entrance: entrance_ipc_init: Success So I use "startx" in a console :/
optional just means it does not _require_ it. And it is correct, nothing should _require_ pam_console.
Hi vapier, i have some news. Not related with PAM so i remove PAM from Cc. In the default conf, there is no --with-xsession argument passed to ./configure, and entrance_session_start_user_session() in entrance_session.c fails to lauch execl("/bin/sh", "/bin/sh", "-l", "-c", buf, NULL); in the child process (fork==0). Indeed, "buf" contains: You should reconfigure --with-xsession Aug 4 01:07:56 sleipnir entrance: Executing You should reconfigure --with-xsession I personnaly solved my problem by adding : MY_ECONF="$MY_ECONF --with-xsession=/usr/bin/e16" in src_compile() in the ebuild, but i guess that's not the correct behaviour for other users who may want to chose an x-session. It should be corrected IMHO since it affects a new installation in the default conf. cheers,
my guess is you dont have xdm installed you can either install xdm or change your entrance configuration file in /etc
(In reply to comment #4) > my guess is you dont have xdm installed indeed > you can either install xdm This should be mentionned while emerging entrance then :/ > or change your entrance configuration file in /etc i'll try it, thanks !