You are not logged in.

#1 2011-07-20 18:24:18

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

[solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

I have a problem on XFCE. I can't mount any USB devices with Thunar or with Nautilus, but I can mount them with Konqueror. I get Not Authorized message.
I searched this problem, and found these links:
https://bbs.archlinux.org/viewtopic.php?id=114722
https://bbs.archlinux.org/viewtopic.php?id=64868
https://wiki.archlinux.org/index.php/Pc … ormal_user

Nothing helped. I don't use HAL, but tried it, didn't worked.

A temporary solution is that I added a pendrive's UUID to /etc/fstab, but I don't want to add UUIDs again and again.

Last edited by freyr (2011-07-22 14:11:33)


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

#2 2011-07-20 18:30:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

How do you start xfce? https://wiki.archlinux.org/index.php/Xf … ithin_Xfce
Can you mount your drives by hand?

Offline

#3 2011-07-20 19:11:45

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

karol wrote:

How do you start xfce? https://wiki.archlinux.org/index.php/Xf … ithin_Xfce
Can you mount your drives by hand?

I start XFCE from tty1 with .xinitrc containing:
exec dbus-launch ck-launch-session startxfce4
I also tried exec dbus-launch ck-launch-session xfce4-session but didn't worked.
My user is already a member of group storage. I can mount the USB drives as root from terminal and as normal user from Konqueror.

Last edited by freyr (2011-07-20 19:12:29)


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

#4 2011-07-20 19:15:47

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

do you have gvfs installed?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2011-07-20 20:46:21

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

Inxsible wrote:

do you have gvfs installed?

Yes, version 1.8.2-1.


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

#6 2011-07-20 21:09:19

Viper_Scull
Member
From: London, UK
Registered: 2011-01-15
Posts: 153

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

In Thunar Preferences -Advanced. Do you have enable volume management checked?

If so, configure it, and mark the two first options in Removable storage.

Last edited by Viper_Scull (2011-07-20 21:09:30)


Athlon II X4 620 + Gigabyte 785GPM-UD2H + 4GB DDR3 + SSD OCZ Vertex2 60GB

Archlinux x86_64 + Openbox

Offline

#7 2011-07-21 07:21:56

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

Viper_Scull wrote:

In Thunar Preferences -Advanced. Do you have enable volume management checked?

If so, configure it, and mark the two first options in Removable storage.

Didn't work. I still get Not Authorized message. Also I logged out and in.

And here is the everything.log about USB drive connecting:
Jul 21 09:23:33 lynx kernel: [ 2239.496516] usb 2-1: new high speed USB device number 6 using ehci_hcd
Jul 21 09:23:33 lynx mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1"
Jul 21 09:23:33 lynx kernel: [ 2239.624659] scsi8 : usb-storage 2-1:1.0
Jul 21 09:23:33 lynx mtp-probe: bus: 2, device: 6 was not an MTP device
Jul 21 09:23:34 lynx kernel: [ 2241.054851] scsi 8:0:0:0: Direct-Access     takeMS   Mem-drive EasyII 1100 PQ: 0 ANSI: 0 CCS
Jul 21 09:23:34 lynx kernel: [ 2241.055144] sd 8:0:0:0: Attached scsi generic sg2 type 0
Jul 21 09:23:34 lynx kernel: [ 2241.057409] sd 8:0:0:0: [sdb] 8028160 512-byte logical blocks: (4.11 GB/3.82 GiB)
Jul 21 09:23:34 lynx kernel: [ 2241.058419] sd 8:0:0:0: [sdb] Write Protect is off
Jul 21 09:23:34 lynx kernel: [ 2241.058423] sd 8:0:0:0: [sdb] Mode Sense: 43 00 00 00
Jul 21 09:23:34 lynx kernel: [ 2241.058425] sd 8:0:0:0: [sdb] Assuming drive cache: write through
Jul 21 09:23:34 lynx kernel: [ 2241.061294] sd 8:0:0:0: [sdb] Assuming drive cache: write through
Jul 21 09:23:34 lynx kernel: [ 2241.062306]  sdb: sdb1
Jul 21 09:23:34 lynx kernel: [ 2241.063904] sd 8:0:0:0: [sdb] Assuming drive cache: write through
Jul 21 09:23:34 lynx kernel: [ 2241.063909] sd 8:0:0:0: [sdb] Attached SCSI removable disk

Last edited by freyr (2011-07-21 07:28:57)


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

#8 2011-07-21 08:12:47

tpfkanep
Member
From: South Africa
Registered: 2009-12-15
Posts: 121

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

do you have ntfs-3g installed?

Offline

#9 2011-07-21 15:45:11

Eishorn
Member
From: somewhere
Registered: 2011-04-18
Posts: 36

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

As far as I can remember you have to put ck-launch-session in front of dbus-launch in your .xinitrc. Tried it on my testing system, it does make a difference at least with my usb sticks and ntfs volumes.

Offline

#10 2011-07-22 14:10:54

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

Eishorn wrote:

As far as I can remember you have to put ck-launch-session in front of dbus-launch in your .xinitrc. Tried it on my testing system, it does make a difference at least with my usb sticks and ntfs volumes.

And that did the trick. I never thought it would be important. Thanks!


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

#11 2011-11-09 15:57:20

stratoka
Member
Registered: 2011-08-26
Posts: 38

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

Thank you, had the same problem.

Offline

#12 2011-11-14 13:19:51

deadshox
Member
Registered: 2009-08-25
Posts: 35

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

I got also the "Not Authorized." error.

Mount in terminal with root works fine.

I tried all discribed ways, but nothing works. Last week it worked all, but i found no update that could fire these error.

Offline

#13 2011-11-14 17:12:10

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

Same here.

Offline

#14 2011-11-14 17:34:31

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

Maybe you can comment on my bug report to help confirm the issue.  There is a workaround - see the usdisks.pkla file in the bug report.  You might also need to add yourself to the disk group as well.

https://bugs.archlinux.org/task/26850

Offline

#15 2011-11-14 17:36:06

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

I added myself to disk but it didn't change anything. Mounting does also not work in Nautilus.

Thanks for the link to the bug report. I'll check it out.

Offline

#16 2011-11-15 08:43:04

deadshox
Member
Registered: 2009-08-25
Posts: 35

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

I don't now how, but it works. Today i startet my machine and it works. Strange. hmm

Offline

#17 2011-11-15 13:42:14

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

Still not working for me.

Offline

#18 2011-11-17 07:05:14

deadshox
Member
Registered: 2009-08-25
Posts: 35

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

@cpcgm, this morning, i started my pc and it didn't want to. Thunar fired the message "Not authorized" again.

So i added "--exit-with-session" in my .xinitrc, and login again. Now it works. smile

My .xinitrc line looks like this now:

exec ck-launch-session dbus-launch --exit-with-session startxfce4

Last edited by deadshox (2011-11-17 07:05:46)

Offline

#19 2011-11-17 08:48:21

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

I already have "--exit-with-session" in my .xinitrc. What I found out: I cannot mount after a reboot but I can mount after I closed the session and restarted the X Server.

Offline

#20 2011-11-17 08:50:36

addy
Member
Registered: 2011-11-16
Posts: 29

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

Are you in storage group?
Also have a look at this:
    https://wiki.archlinux.org/index.php/Ud … ormal_user

Offline

#21 2011-11-18 09:03:45

deadshox
Member
Registered: 2009-08-25
Posts: 35

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

@cpcgm, ok, i have exact the same problem like you. after starting my maschine, thunar fires this "not authorized" error. After relogin it works.

At home, i didn't have this problem. There works all fine.

Offline

#22 2011-11-23 08:44:03

deadshox
Member
Registered: 2009-08-25
Posts: 35

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

If i try to open the usb-stick without relogin in Thunar, the error message appears.
If i open the stick from the desktop icon, it works and i can access the stick.

Offline

#23 2015-11-08 13:47:53

oolekk
Member
Registered: 2015-11-08
Posts: 1

Re: [solved] Can't mount USBdrive on XFCE with Thunar/Nautilus

this worked for me on debian - edit:
/etc/polkit-1/localauthority/50-local.d/udisks.pkla
switch each ResultInactive=no entry to ResultInactive=yes

Offline

Board footer

Powered by FluxBB