From: Joseph Lenox on
On 3/25/2010 6:18 PM, Michael Biebl wrote:
> Am 25.03.2010 23:38, schrieb Joseph Lenox:
>
>> I tried the pam_group approach, and id says the user is in the plugdev
>> group, but I'm still getting a permissions error from DBus. Adding the exact
>> user to the plugdev group on the local machine worked as far as the mounter.
>>
>>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501807
>
> You might try using at_console and consolekit.
>
>

I tried installing policykit and using that, got identical errors as
without (Dbus access error). After a lot of fiddling, I finally modified
the hal configuration in dbus to allow those interfaces to all users
(copy/paste'd the relevant lines from the plugdev entry).

My immediate problem is handled (users stop bugging me about it) while I
try to figure out a more permanent solution for these machines.

--Joseph Lenox


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BADB10E.3070502(a)gmail.com
From: Michael Biebl on
On 27.03.2010 08:17, Joseph Lenox wrote:
> On 3/25/2010 6:18 PM, Michael Biebl wrote:
>>
>> You might try using at_console and consolekit.
>>
>>
>
> I tried installing policykit and using that, got identical errors as
> without (Dbus access error).

How exactly do you users login and start their X session?
gdm, kdm, XDMCP anything else?

If the user is logged in, does he have an *active* ConsoleKit session?
Check the output of ck-list-session.

After a lot of fiddling, I finally modified
> the hal configuration in dbus to allow those interfaces to all users
> (copy/paste'd the relevant lines from the plugdev entry).

Opening up the hal configuration completely is dangerous so I strongly recommend
against that. Try to find out, why consolekit is not working as expected.

Cheers,
Michael

--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?