LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-24-2011, 07:37 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
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
 
Old 06-24-2011, 03:30 PM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
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!.
 
Old 06-30-2011, 06:39 AM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
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
 
Old 06-30-2011, 01:40 PM   #4
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
Originally Posted by kaz2100 View Post
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.
 
Old 07-12-2011, 09:22 AM   #5
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
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
 
Old 08-06-2011, 05:20 PM   #6
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
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

Last edited by kaz2100; 08-06-2011 at 05:27 PM.
 
Old 09-27-2011, 02:20 AM   #7
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

It works now. (Tue Sep 27 07:19:33 UTC 2011)
 
Old 11-27-2011, 10:48 PM   #8
dodgefan
Member
 
Registered: Apr 2008
Location: Kannapolis NC USA
Distribution: Debian, Mint, Arch
Posts: 32

Rep: Reputation: 0
so what fixed it?
 
Old 11-29-2011, 02:41 AM   #9
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
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.
 
Old 11-29-2011, 07:14 AM   #10
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by dodgefan View Post
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).
 
Old 11-29-2011, 11:20 PM   #11
dodgefan
Member
 
Registered: Apr 2008
Location: Kannapolis NC USA
Distribution: Debian, Mint, Arch
Posts: 32

Rep: Reputation: 0
i was using slim, but have now changed to gdm3, no more issues, amazing that the display manager will fix something like that
 
Old 11-30-2011, 05:03 AM   #12
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
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).
 
Old 05-05-2014, 07:29 PM   #13
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
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!
 
Old 10-02-2014, 06:34 AM   #14
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

The same problem happened again. (I have not touched anything other than system upgrade.)

Solution is:
Code:
[Storage Permissions]
Identity=unix-user:USER
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.filesystem-mount-system
ResultAny=yes
ResultInactive=yes
ResultActive=yes
With second line, "Identity=unix-user:*" it does not work for some reason.

Happy penguins!
 
  


Reply

Tags
mount, permission, removable_media, udisks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount C 'Not authorized' exsun Linux - Newbie 6 04-12-2011 08:49 PM
Configuring Thunar in Xfce4? GTrax Linux - Software 5 04-26-2010 05:23 PM
Thunar can't mount MTK358 Linux - Software 7 01-31-2010 02:57 AM
XFCE4 error "Failed to mount <name_of_CD-ROM>" in Slackware 13.0 hln Linux - Desktop 9 10-01-2009 04:08 PM
Thunar, FluxBox & auto mount CopyrightPhilly Linux - Software 1 05-14-2009 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration