View previous topic :: View next topic |
Author |
Message |
imrambi Tux's lil' helper
Joined: 12 Feb 2004 Posts: 118
|
Posted: Sat May 21, 2011 3:26 am Post subject: Unable to mount drives using udisks without passwords |
|
|
I am using polkit but can not figure out this issue.
ck-list-sessions:
Quote: | ...
active = TRUE
... |
~/.xinitrc
Quote: |
#!/bin/bash
exec ck-launch-session dbus-launch --exit-with-session --sh-syntax startxfce4
|
/etc/pam.d/system-login
Quote: |
session optional pam_ck_connector.so
|
/etc/slim.conf
Quote: | login_cmd exec /bin/bash -login ~/.xinitrc
|
/etc/polkit-1/localauthority/50-local.d/org.freedesktop.udisks.pkla
Quote: | [Local Users]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks.*
ResultAny=no
ResultInactive=no
ResultActive=yes
|
If I click on the drive in Thunar or run udisks --mount /dev/sda1 I get prompted for a password, but I can shutdown/restart as a user. If I change system-login to include nox11 option, I can mount without using a password, but I lose the option to shutdown/restart as a user.
I have follow the polkit sticky, but can not find what is causing the issue of being prompted for root password when trying to mount.
use flags: Quote: |
[ebuild R ] gnome-base/gvfs-1.6.7 USE="archive bash-completion bluetooth cdda gdu http samba udev -avahi -doc -fuse -gnome -gnome-keyring -gphoto2 -ios" 0 kB
[ebuild R ] sys-auth/polkit-0.101-r1 USE="gtk nls pam -debug -doc -examples (-introspection) -kde" 0 kB
[ebuild R ] sys-fs/udisks-1.0.2-r1 USE="bash-completion nls -debug -doc -remote-access" 0 kB
|
|
|
Back to top |
|
|
imrambi Tux's lil' helper
Joined: 12 Feb 2004 Posts: 118
|
Posted: Sun May 22, 2011 8:01 pm Post subject: |
|
|
I found out that the issue is only mounting the internal NTFS drive. External USB drives work as expected. |
|
Back to top |
|
|
cwc Veteran
Joined: 20 Mar 2006 Posts: 1311 Location: Tri-Cities, WA USA
|
Posted: Fri Jun 17, 2011 2:21 pm Post subject: Re: Unable to mount drives using udisks without passwords |
|
|
I was able to mount a usb stick by adding
Code: |
#!/bin/bash
exec ck-launch-session dbus-launch --exit-with-session --sh-syntax gnome-session;
|
This solved my problem! Thanks
I'm still working on cdrw.
I'm not sure what is going on here:
Code: |
azzerare ~ # nano /etc/polkit-1/localauthority/
azzerare ~ # cd /etc/polkit-1/localauthority
azzerare localauthority # ls
10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d
|
_________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
|