LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Xfce doesn't automount USB drives in Jessie (https://www.linuxquestions.org/questions/debian-26/xfce-doesnt-automount-usb-drives-in-jessie-4175592234/)

trafikpolisen 10-25-2016 09:54 PM

Xfce doesn't automount USB drives in Jessie
 
Hi!

I've reinstalled my computer (with Jessie) after using Wheezy with Xfce for about two years. I'm again using Xfce, but have noticed a few problems. Not least that this time Xfce doesn't play well with the Nvidia drivers and separate X-screens (appearance settings not working correctly).

But the problem I want help with here is that USB drives doesn't automount. The drive is recognized and shows up on the desktop and it works if I right-click the drive and choose "mount", but it refuses to automount. I have ticked the correct boxes in thunar-volman-settings, but those settings doesn't appear to have any effect.
Thank you:)

agillator 10-26-2016 09:12 AM

See: http://unix.stackexchange.com/questi...ady-running-sy

luvr 10-26-2016 02:44 PM

I remember having run into a similar problem, though it may have been with some other setting that didn't work correctly. I "solved" it by clearing the checkmarks again, and then tick them anew. Seemed silly, but it worked.

trafikpolisen 10-26-2016 08:02 PM

Quote:

Originally Posted by agillator (Post 5623195)

Well, I think it should work OOTB, since it works without problems in the previous version.

Quote:

Originally Posted by luvr (Post 5623324)
I remember having run into a similar problem, though it may have been with some other setting that didn't work correctly. I "solved" it by clearing the checkmarks again, and then tick them anew. Seemed silly, but it worked.

I've tried that:) Unfortunately it wasn't that easy.
I found an option under the "Advanced" tab in thunar-settings that looked promising; "Enable Volume Management", however this didn't sort the problem either. Since I have a few other problems, I'm thinking about trying Debian Testing instead. We'll see..

I do think it is a bit strange that I can't find more information on this since I can only imagine that there are quite a few users of Xfce in Debian and "everyone" uses USB drives. I have tried to reinstall and also installed again in a virtual machine, but it seems there is a bug in Xfce in the stable release.

IsaacKuo 10-26-2016 08:13 PM

FWIW, I use almost exclusively Debian 8 Jessie and XFCE4, and I use USB drives all the time. But I have never tried any auto-mount feature with them. Right click to mount/open has always been fine by me.

I don't use nVidia video cards either, although a few of my computers have old nVidia based video chips (I only use the out-of-box open source driver installed by Debian by default...it works fine for me.)

trafikpolisen 10-26-2016 08:34 PM

Well, that does work of course, but I'm kind of lazy:) And I like automation in general..
I have now tried installing Debian Testing in a VM and there it does work.

ondoho 10-28-2016 11:27 AM

we need to get some more information about this...
try to find out what manages automounting & volume management. iirc, it has something to do with gvfs and/or udisks(2)...
maybe there's logs somewhere.

another thing:
is thunar running as a daemon? maybe xfdesktop cannot handle the automounting by itself.
so, in a regular session with NO file manager windows opened, open a terminal and type
Code:

pidof thunar
if you get a number (typically 3-4 digits), do
Code:

killall thunar
now start thunar again from the terminal, simply by typing
Code:

thunar
and plug in a usb stick.
do you get relevant messages?

please make a full report (to us here) of what i suggested, if you choose to try it out.

ps:
xfce have their own forums, and debian has.

xaxlm 11-07-2016 03:51 PM

You must check the box in xfce >> "Removable Drivers and Media"

trafikpolisen 11-11-2016 09:20 AM

I did something "crazy". I installed Linux Mint instead after using Debian for over two years. Everything is working very nicely for now:)
I will however install Debian as a VM and do some more tests to see if I can figure it out.

I have noticed that it mounts CD's. It's just a problem with USB drives.

Quote:

Originally Posted by ondoho (Post 5624132)
we need to get some more information about this...
try to find out what manages automounting & volume management. iirc, it has something to do with gvfs and/or udisks(2)...
maybe there's logs somewhere.

another thing:
is thunar running as a daemon? maybe xfdesktop cannot handle the automounting by itself.
so, in a regular session with NO file manager windows opened, open a terminal and type
Code:

pidof thunar
if you get a number (typically 3-4 digits), do
Code:

killall thunar
now start thunar again from the terminal, simply by typing
Code:

thunar
and plug in a usb stick.
do you get relevant messages?

please make a full report (to us here) of what i suggested, if you choose to try it out.

ps:
xfce have their own forums, and debian has.

I'll test that and get back sooner or later. Been a bit busy lately.

Quote:

Originally Posted by xaxlm (Post 5628124)
You must check the box in xfce >> "Removable Drivers and Media"

Yes, I've done that:)

ondoho 11-11-2016 12:06 PM

Quote:

Originally Posted by trafikpolisen (Post 5629388)
I installed Linux Mint instead after using Debian for over two years. Everything is working very nicely for now:)
I will however install Debian as a VM and do some more tests to see if I can figure it out.

i was under the impression that you were experiencing this problem on a debian jessie barebones install.

peripherals will not work in the same way in a vm.

in that case, solution lies with your virtualisation software.

trafikpolisen 11-12-2016 06:39 AM

Your impression was right. Just that even though I've switched system, I want to figure out the problem. And at least in VMware Workstation, there is no difference, you just "hand over" the USB device to the VM and the guest OS thinks you just plugged it in.

However, now automount is working all of a sudden in Debian and I have no idea why or what I've done..


All times are GMT -5. The time now is 09:35 AM.