LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Failed to mount ... Not authorized (xfce4 or Thunar) (http://www.linuxquestions.org/questions/debian-26/failed-to-mount-not-authorized-xfce4-or-thunar-888100/)

kaz2100 06-24-2011 07:37 AM

Failed to mount ... Not authorized (xfce4 or Thunar)
 
Hya,

System: Debian testing.

Problem:I am having trouble mounting removable media on xfce4 (or Thunar.)

I have gvfs installed, ck-launch-session ... goes before udev,.. member of group plugdev
Code:

udisks --mount
fails saying Mount failed: Not Authorized. root can mount using udisks.

Strange thing is that three of x86 Penguins are affected, while two of x86_64 ones are healthy.

QuestionDoes anybody else have same problem?

cheers

the trooper 06-24-2011 03:30 PM

Quote:

QuestionDoes anybody else have same problem?
Just installed Thunar on my spare machine,and got the same problem initially.
To get Thunar to auto-mount a usb flash drive I also needed gdm(or one of it's dependencies) and thunar-volman.
This is as well as gvfs and udisks.
I'm using Testing Amd64 on this machine.
Good luck!.

kaz2100 06-30-2011 06:39 AM

Hya,

Thanks, trooper. Unfortunately still my x86 penguins are not healthy with the packages you mention.


Several updates:
On console, udisks works!!!

I guess it is policykit related, so I checked with "pkaction -v", however I have not found solution yet.

cheers

the trooper 06-30-2011 01:40 PM

Quote:

Originally Posted by kaz2100 (Post 4400134)
Hya,

Thanks, trooper. Unfortunately still my x86 penguins are not healthy with the packages you mention.


Several updates:
On console, udisks works!!!

I guess it is policykit related, so I checked with "pkaction -v", however I have not found solution yet.

cheers


Strange it works for both of us on x86_64.
Just out of curiosity have you tried any other file managers?.
If you find the answer please post back,as I'd be interested to hear the cure for this.
Sorry I can't offer any more help.

kaz2100 07-12-2011 09:22 AM

Hya,

After today's update, 64 bit Penguins also choke.

Log says that dbus got upgraded from 1.4.12-2 to 1.4.12-4

I will look into Debian changelog.

cheers

kaz2100 08-06-2011 05:20 PM

Hya,

I have not had time to look into this issue, however, this week, it works with 64 bit penguins, but not 32 bit ones.

cheers

FYI current dbus is 1.4.2.5

kaz2100 09-27-2011 02:20 AM

Hya,

It works now. (Tue Sep 27 07:19:33 UTC 2011)

dodgefan 11-27-2011 10:48 PM

so what fixed it?

gradinaruvasile 11-29-2011 02:41 AM

What display manager do you use?

xdm/slim/etc (basically anything except gdm and kdm) have problems with policykit permissions related to udisks and upower.

kaz2100 11-29-2011 07:14 AM

Quote:

Originally Posted by dodgefan (Post 4535866)
so what fixed it?

Yeah, it does not work again. So, I do not know the answer.....

udisks works on console, but not on X (xfce4).

dodgefan 11-29-2011 11:20 PM

i was using slim, but have now changed to gdm3, no more issues, amazing that the display manager will fix something like that

gradinaruvasile 11-30-2011 05:03 AM

It is related to the graphical session initialisation. The consolekit guys changed something there, gdm and kdm got updated and the rest did not. Xdm and Slim works with if you mess around in the policykit permissions files (which will be changed back on update).

The xdm guys dont seem to realize that most DEs use consolekit/policykit (there is a patch for this that wasnt accepted afaik).

kaz2100 05-05-2014 07:29 PM

Self reply after a looong interval.

Followed these threads,
https://wiki.debian.org/Xfce#Run_Xfce (created .xsession and edited /etc/pam.d/common-session
http://forums.debian.net/viewtopic.php?p=505400 (created /etc/polkit-1/localauthority/50-local.d/udisks.pkla )

solved this stuation.

Have a nice Penguin!


All times are GMT -5. The time now is 02:47 AM.