LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-25-2016, 09:54 PM   #1
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 121

Rep: Reputation: 3
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
 
Old 10-26-2016, 09:12 AM   #2
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
See: http://unix.stackexchange.com/questi...ady-running-sy
 
Old 10-26-2016, 02:44 PM   #3
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459
Blog Entries: 2

Rep: Reputation: 194Reputation: 194
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.
 
Old 10-26-2016, 08:02 PM   #4
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 121

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by agillator View Post
Well, I think it should work OOTB, since it works without problems in the previous version.

Quote:
Originally Posted by luvr View Post
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.
 
Old 10-26-2016, 08:13 PM   #5
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
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.)
 
Old 10-26-2016, 08:34 PM   #6
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 121

Original Poster
Rep: Reputation: 3
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.
 
Old 10-28-2016, 11:27 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 11-07-2016, 03:51 PM   #8
xaxlm
LQ Newbie
 
Registered: Nov 2016
Location: México City
Distribution: Debian & Slackware
Posts: 25

Rep: Reputation: Disabled
You must check the box in xfce >> "Removable Drivers and Media"
 
Old 11-11-2016, 09:20 AM   #9
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 121

Original Poster
Rep: Reputation: 3
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 View Post
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 View Post
You must check the box in xfce >> "Removable Drivers and Media"
Yes, I've done that
 
Old 11-11-2016, 12:06 PM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by trafikpolisen View Post
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.
 
Old 11-12-2016, 06:39 AM   #11
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 121

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


Reply



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
xfce automount usb drive at startup BCarey Slackware 5 12-12-2015 05:40 AM
Automount, Xfce, and USB drives. ReaperX7 *BSD 1 11-25-2014 02:10 PM
[SOLVED] How do I automount usb drives on server? Ryanms3030 Linux - Newbie 17 02-15-2014 02:10 PM
automount dvd-rw, usb drives? darkangel29 Linux - Hardware 0 02-26-2007 01:08 AM
USB drives don't automount Ashrack Linux - Hardware 2 02-13-2007 01:22 PM

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

All times are GMT -5. The time now is 04:37 PM.

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