Thank you for your time and efforts.

I tried adding this debug parameter into `/etc/pam.d/common-session`:
session optional        pam_systemd.so debug=yes

Then, I flushed the auth.log and rebooted the computer (with v3.8.4-7).
Please see the attached file for results.


Also, when a Gnome session (through v.3.8.4-6) is running, I get these
directories:

# ls -l /run/user/
total 0
drwx------ 7 bmenant    bmenant    160 mai    8 14:14 1000
drwx------ 5 Debian-gdm Debian-gdm 120 mai    8 14:14 113


But, when gdm3 fails to open a Gnome session, I get this one from the
virtual console:

# ls -l /run/user/
total 0
drwx------ 2 bmenant bmenant 40 mai    8 14:29 1000


The `/run/user/` directory is 755 root:root.

The Debian-gdm user could fail to create its directory? Should I try to
create this directory from the VC before I try to open a Gnome session?

Thank you,
Benjamin.

Le 08/05/2014 13:22, Laurent Bigonville a écrit :
> Could you try to add "debug=yes" after the call to pam_systemd in the
> pam config and attached the auth.log file here again?
> 
> Could you also check if you have a /run/user/$UID directory created?
> 
> Otherwise I'm running out of idea :/



May  8 14:05:12 ***** dbus[1755]: [system] Rejected send message, 1 matched 
rules; type="method_call", sender=":1.5" (uid=0 pid=2169 comm="/usr/sbin/gdm3 
") interface="org.freedesktop.DBus.Properties" member="GetAll" error 
name="(unset)" requested_reply="0" destination=":1.6" (uid=0 pid=2216 
comm="/usr/lib/gdm3/gdm-simple-slave --display-id /org/g")
May  8 14:05:16 ***** gdm-launch-environment][2259]: 
pam_unix(gdm-launch-environment:session): session opened for user Debian-gdm by 
(uid=0)
May  8 14:05:16 ***** gdm-launch-environment][2259]: 
pam_systemd(gdm-launch-environment:session): Asking logind to create session: 
uid=113 pid=2259 service=gdm-launch-environment type=x11 class=greeter 
seat=seat0 vtnr=7 tty= display=:0 remote=no remote_user= remote_host=
May  8 14:05:16 ***** gdm-launch-environment][2259]: 
pam_systemd(gdm-launch-environment:session): Reply from logind: id=1 
object_path=/org/freedesktop/login1/session/_31 runtime_path=/run/user/113 
session_fd=11 seat=seat0 vtnr=7
May  8 14:05:16 ***** gdm-launch-environment][2259]: 
pam_ck_connector(gdm-launch-environment:session): nox11 mode, ignoring PAM_TTY 
:0
May  8 14:05:27 ***** polkitd(authority=local): Registered Authentication Agent 
for unix-session:1 (system bus name :1.24 [gnome-shell --mode=gdm], object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8)
May  8 14:05:39 ***** gdm3][2711]: pam_unix(gdm3:auth): authentication failure; 
logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=bmenant
May  8 14:05:50 ***** gdm3][2714]: pam_unix(gdm3:session): session opened for 
user bmenant by (uid=0)
May  8 14:05:50 ***** gdm3][2714]: pam_systemd(gdm3:session): Asking logind to 
create session: uid=1000 pid=2714 service=gdm3 type=x11 class=user 
seat=/org/freedesktop/ConsoleKit/Seat1 vtnr=0 tty= display=:0 remote=no 
remote_user= remote_host=
May  8 14:05:50 ***** gdm3][2714]: pam_systemd(gdm3:session): Failed to create 
session: No such file or directory
May  8 14:05:50 ***** gdm3][2714]: pam_ck_connector(gdm3:session): nox11 mode, 
ignoring PAM_TTY :0
May  8 14:05:50 ***** gdm-launch-environment][2259]: 
pam_unix(gdm-launch-environment:session): session closed for user Debian-gdm
May  8 14:05:50 ***** polkitd(authority=local): Unregistered Authentication 
Agent for unix-session:1 (system bus name :1.24, object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8) 
(disconnected from bus)
May  8 14:05:55 ***** dbus[1755]: [system] Rejected send message, 2 matched 
rules; type="method_call", sender=":1.54" (uid=1000 pid=2860 
comm="/usr/bin/gnome-shell ") interface="org.freedesktop.DBus.Properties" 
member="GetAll" error name="(unset)" requested_reply="0" destination=":1.10" 
(uid=0 pid=2263 comm="/usr/sbin/console-kit-daemon --no-daemon ")
May  8 14:06:34 ***** login[2241]: pam_unix(login:session): session opened for 
user bmenant by LOGIN(uid=0)
May  8 14:06:34 ***** login[2241]: pam_systemd(login:session): Asking logind to 
create session: uid=1000 pid=2241 service=login type=tty class=user seat= 
vtnr=0 tty=/dev/tty1 display= remote=no remote_user= remote_host=
May  8 14:06:34 ***** login[2241]: pam_systemd(login:session): Reply from 
logind: id=3 object_path=/org/freedesktop/login1/session/_33 
runtime_path=/run/user/1000 session_fd=6 seat=seat0 vtnr=1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to