LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-18-2013, 04:46 PM   #1
m1m
Member
 
Registered: Jan 2011
Posts: 55

Rep: Reputation: 1
XFCE 4.10 automount not working


When I attach USB drive it does appear in Thunar, and I can mount it with mouse click, no problem with that. But I want Thunar to pop up with contents of USB device just after I plug in, no clicking etc.

I had checked "Automount ..." in thunar-volman-settings but it dosen't work.
 
Old 12-18-2013, 05:47 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
then try kernel polling as a bootloader first

if usb detection and auto mounting then works then make it permanent as per this link

http://ignorantguru.github.io/spacef...vices-kernpoll
 
Old 12-18-2013, 07:35 PM   #3
ljb643
Member
 
Registered: Nov 2003
Posts: 528

Rep: Reputation: Disabled
Try this: From the XFCE menu, Settings, Settings Manager, Removable Drives and Media. On the Storage tab, you should check Mount removable drives when hot-plugged and also check Browse removable media when inserted.

Works for me in Slackware-14.1.
 
Old 12-19-2013, 11:39 AM   #4
m1m
Member
 
Registered: Jan 2011
Posts: 55

Original Poster
Rep: Reputation: 1
@aus9 I have autopolling enabled
@ljb643 I have this options enabled

Still nothing...

I'm using Slackware 14.1
 
Old 12-19-2013, 05:42 PM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

on a full reboot can you insert your usb stick and show the snippet of /var/log/messages pls

what formats are on this usb stick pls?

post the output of this command as a local user IF plugdev is not showing in output
Code:
groups
 
Old 12-19-2013, 06:20 PM   #6
ljb643
Member
 
Registered: Nov 2003
Posts: 528

Rep: Reputation: Disabled
By the way, I tried this myself again on another PC, and it seems intermittent. It doesn't work, and doesn't work again, and then it works, and it keeps working. Then I try a different flash drive, and it might not work, then start working. I can't see what changed to make it work. Membership in the plugdev group doesn't seem to help or hurt. There are so many complex components involved (udisks2, dbus, udev, gvfs, what else?) that I don't know how to troubleshoot it.
 
Old 12-19-2013, 06:38 PM   #7
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272

Rep: Reputation: 45
On Slackware 14.0 it also does'nt work. When Thunar is not running media is not mounted automatically. But when Thunar is running, that works fine. Thread starter, maybe you does'nt have checked that xfce4-volumed to autostart on logging in? Please see Settings > Sessions and launching > Autolaunching of applications > check the Xfce Volume Daemon. But on my system this is checked and does not work. It's not annoying me...
 
Old 12-20-2013, 12:53 PM   #8
m1m
Member
 
Registered: Jan 2011
Posts: 55

Original Poster
Rep: Reputation: 1
Here are logs from /var/log/messages after inserting usb drive:
Code:
Dec 20 17:08:16 desktop kernel: [  442.914351] usb 2-1.5: new high-speed USB device number 3 using ehci-pci
Dec 20 17:08:16 desktop kernel: [  443.000171] usb 2-1.5: New USB device found, idVendor=1976, idProduct=1307
Dec 20 17:08:16 desktop kernel: [  443.000175] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec 20 17:08:16 desktop kernel: [  443.000178] usb 2-1.5: Product: USB Reader
Dec 20 17:08:16 desktop kernel: [  443.000180] usb 2-1.5: Manufacturer: ChipsBnk
Dec 20 17:08:16 desktop kernel: [  443.000181] usb 2-1.5: SerialNumber: 110074973765
Dec 20 17:08:16 desktop mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5" 
Dec 20 17:08:16 desktop mtp-probe: bus: 2, device: 3 was not an MTP device 
Dec 20 17:08:16 desktop kernel: [  443.025815] usb-storage 2-1.5:1.0: USB Mass Storage device detected
Dec 20 17:08:16 desktop kernel: [  443.025884] scsi8 : usb-storage 2-1.5:1.0
Dec 20 17:08:16 desktop kernel: [  443.025946] usbcore: registered new interface driver usb-storage
Dec 20 17:08:17 desktop kernel: [  444.028834] scsi 8:0:0:0: Direct-Access     ChipsBnk SD/MMCReader     4081 PQ: 0 ANSI: 2
Dec 20 17:08:17 desktop kernel: [  444.029192] sd 8:0:0:0: Attached scsi generic sg2 type 0
Dec 20 17:08:17 desktop kernel: [  444.030496] sd 8:0:0:0: [sdb] 3911680 512-byte logical blocks: (2.00 GB/1.86 GiB)
Dec 20 17:08:17 desktop kernel: [  444.031142] sd 8:0:0:0: [sdb] Write Protect is off
Dec 20 17:08:17 desktop kernel: [  444.037576]  sdb: sdb1
Dec 20 17:08:17 desktop kernel: [  444.040647] sd 8:0:0:0: [sdb] Attached SCSI removable disk
And my user groups
Code:
users lp floppy audio video cdrom plugdev power netdev scanner vboxusers burning
I've tested with few flash drives, SD card readers and only 1 had been automounted. Tried different USB ports, but nothing helped. All drives are FAT32.
xfce4-volumed is running all the time.

I thought that's something wrong with my configuration, but as I can see you guys have the same problem.
Hope it get better in future XFCE releases.
 
Old 12-20-2013, 05:12 PM   #9
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
just out of interest

open your /boot/config* file and check what this section looks like pls

I show mine as comparison

Quote:
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
CONFIG_EXFAT_FS=m
CONFIG_EXFAT_DISCARD=y
CONFIG_EXFAT_DELAYED_SYNC=y
# CONFIG_EXFAT_KERNEL_DEBUG is not set
# CONFIG_EXFAT_DEBUG_MSG is not set
CONFIG_EXFAT_DEFAULT_CODEPAGE=437
CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
 
Old 12-20-2013, 09:49 PM   #10
ljb643
Member
 
Registered: Nov 2003
Posts: 528

Rep: Reputation: Disabled
Quote:
Originally Posted by m1m View Post
Here are logs from /var/log/messages after inserting usb drive: ...
That only shows you the udev device detection. If you really want to get into it, here are some more commands you can use to watch what happens when you connect a USB flash drive. Make a separate window for each, plug it in, and watch the messages fly.

Code:
# udisksctl monitor
Shows messages from udisks2. You should see "Added" messages for the drive/device, /dev/sd?, and /dev/sd?1, with the last one showing Filesystem and Partition information.

Code:
$ dbus-monitor --session
Shows d-bus activity for the session (run as the logged in user, not root). Append --profile for a more compact display.

Code:
# dbus-monitor --system
Shows d-bus activity for the system bus (run this one as root). Append --profile for a more compact display.

Code:
$ gvfs-mount -o
Shows gvfs. Not sure what role it plays, but when the mount is successful, it shows here too.

These didn't help me, but maybe you can figure something out from it.
 
Old 12-21-2013, 05:32 AM   #11
m1m
Member
 
Registered: Jan 2011
Posts: 55

Original Poster
Rep: Reputation: 1
@aus9 here's mine, standard Slackware 14.1 generic kernel 3.10.17
Code:
#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
@ljb643 thanks for helpful commands. I've tried to compare output between device which gets automounted and the other ones, but can't find anything useful.
 
  


Reply


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
Disable automount under xfce cccc Debian 3 01-23-2019 08:36 AM
xfce automount usb drive at startup BCarey Slackware 5 12-12-2015 05:40 AM
Xfce's Thunar automount issue dunric Slackware 1 11-20-2012 05:01 PM
Automount of audio CD and play not working Slackware 13.37 64, XFCE and KDE saycheese Slackware 7 03-10-2012 06:55 AM
Broke Automount in XFCE Slack12 - How to Troubleshoot and fix? shepper Slackware 4 02-19-2008 03:20 PM

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

All times are GMT -5. The time now is 07:59 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