Mailinglist Archive: opensuse (1698 mails)

< Previous Next >
[opensuse] systemd pam entry missing in /etc/pam.d/xdm
  • From: Javier Conti <javier.conti@xxxxxxxxx>
  • Date: Tue, 27 Dec 2011 17:07:10 +0100
  • Message-id: <>
Hi list,

I've been struggling lately trying to download pictures fro my camera
with digikam after updating to openSUSE 12.1.
The problem was that I had no permisisons to write to the special file
created by udev (in my case /dev/bus/usb/003/*).

A bit of troubleshooting led to systemd-uaccess not being able to
determine who was on seat0 (the user owning the session).

The file "/run/systemd/seats/seat0" contained:

$ cat /run/systemd/seats/seat0
# This is private data. Do not parse.

After putting the "session required
kill-session-processes=1" in "/etc/pam.d/xdm", and restart the
session, the seats file looked like this:

$ cat /run/systemd/seats/seat0
# This is private data. Do not parse.

Now systemd is able to determine who is owning the session and
plugging the camera in just works flawlessly.

I don't know if the module wasn't configure on my system for some
reason, but since I didn't touch pam stuff since upgrading to 12.1, it
seems a bug to me.

Anyone else lacking this pam entry by default?

Bye, Javier

PS: my "/etc/pam.d/xdm" file looks like this now:

$ cat /etc/pam.d/xdm
auth include common-auth
account include common-account
password include common-password
session required
session required kill-session-processes=1
session include common-session
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups