PCManFM 0.9.5 Not Authorized Popup For USB

The dedicated forum for PCMan File Manager - http://wiki.lxde.org/en/PCManFM
Locked
DasFox
Posts: 21
Joined: Sun May 02, 2010 4:06 am

PCManFM 0.9.5 Not Authorized Popup For USB

Post by DasFox »

I made this post in regards to 0.5.2 not mounting:

http://forum.lxde.org/viewtopic.php?f=22&t=1502

So then I compiled menu-cache, libfm and pcmanfm 0.9.5, now when I try to install a usb drive I get a popup, 'Not Authorized' and the same thing happens if I right click on the drive to mount it.

I have gvfs installed and I compiled pcmanfm against it. I also have hal, dbus, udisks and pmount installed, but hal isn't running only dbus and here is my /etc/group:

Code: Select all

root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:sar
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:sar
fax:x:21:
voice:x:22:
cdrom:x:24:sar
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:sar
dip:x:30:
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:
sasl:x:45:
plugdev:x:46:sar
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
syslog:x:103:
fuse:x:104:sar
mlocate:x:105:
ssh:x:106:
sar:x:1000:
lpadmin:x:107:sar
sambashare:x:108:sar
admin:x:109:sar
messagebus:x:110:
haldaemon:x:111:
netdev:x:112:sar
This seems to be a permission problem, how can I fix this so my usb drives will automount?


THANKS
Harold
Posts: 8
Joined: Fri May 07, 2010 11:16 am

Re: PCManFM 0.9.5 Not Authorized Popup For USB

Post by Harold »

I have exactly the same problem!

Ubuntu CLI install
Lubuntu repo added
lxde metapackage + pcmanfm installed
lowyolib
Posts: 1
Joined: Thu Jun 10, 2010 10:00 am

Re: PCManFM 0.9.5 Not Authorized Popup For USB

Post by lowyolib »

I had this problem too, but on a custom configured openbox. It seems to be a polkit issue, this helped:

Code: Select all

$ sudo polkit-auth --user erik --grant org.freedesktop.hal.storage.mount-removable
(Replace 'erik' with your username)

A relogon was necessary to finally get pcmanfm working with usb ...
Harold
Posts: 8
Joined: Fri May 07, 2010 11:16 am

Re: PCManFM 0.9.5 Not Authorized Popup For USB

Post by Harold »

lowyolib wrote:I had this problem too, but on a custom configured openbox. It seems to be a polkit issue, this helped:
That didn't help me ;)

policykit wasn't even installed on my system so I had to install it.

* sudo apt-get install policykit -> logout/login: 'Not authorized'
* spolkit-auth --user harold --grant org.freedesktop.hal.storage.mount-removable -> logout/login: 'Not authorized'
* Add 'harold' to the polkit group in /etc/group: -> logout/login: 'Not authorized'

Any more options to try?
cwickert
Posts: 47
Joined: Tue Dec 09, 2008 7:36 pm
Contact:

Re: PCManFM 0.9.5 Not Authorized Popup For USB

Post by cwickert »

What does

Code: Select all

ck-list-sessions
return? Is there a session for your user? If not, try running

Code: Select all

ck-launch-session startlxde
instead of just running

Code: Select all

startlxde
in /usr/share/xsessions/LXDE.desktop
Image
Locked