You are not logged in.

#1 2012-11-10 20:27:42

Shahab
Member
Registered: 2011-10-15
Posts: 30

[SOLVED] Thunar (XFCE4) Does not Auto-mount USB Drive

After reading some posts related to USB auto-mounting in Thunar and yet still having the problem, I decided to post this. Thunar used to detect the USB drives and auto-mount them. These days (I GUESS after moving to systemd), It cannot do so. Still, there is the icon of USB drive on the left side panel, but when I click on it to browse it, I get this error:

Failed to mount "USB_LABLE".

Error when getting information for file
'/media/usbhd-sdc1': Transport endpoint is not connected.

I am still able to use "sudo mount..." and get the job done, but I would prefer the convenient way it used to work. Here are some information about my system:

command> cat ~/.xinitrc

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

exec startxfce4
command> loginctl show-session $XDG_SESSION_ID

Id=1
Timestamp=Sat, 2012-11-10 20:35:51 CET
TimestampMonotonic=34276379
DefaultControlGroup=name=systemd:/user/username/1
VTNr=7
Display=:0.0
Remote=no
RemoteUser=root
Service=slim
Leader=297
Audit=1
Type=x11
Class=user
Active=yes
State=active
KillProcesses=no
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
command> systemctl status polkit

polkit.service - Authorization Manager
	  Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
	  Active: active (running) since ...
	    Docs: man:polkit(8)
	Main PID: 305 (polkitd)
	  CGroup: name=systemd:/system/polkit.service
		    305 /usr/lib/polkit-1/polkitd --no-debug
command> dmesg

...
Attached scsi generic sg1 type 0
[sdc] 15470592 512-byte logical blocks: (7.92 GB/7.37 GiB)
[sdc] Write Protect is off
[sdc] Mode Sense: 23 00 00 00
[sdc] No Caching mode page present
[sdc] Assuming drive cache: write through
[sdc] No Caching mode page present
[sdc] Assuming drive cache: write through sdc: sdc1
[sdc] No Caching mode page present
[sdc] Assuming drive cache: write through
[sdc] Attached SCSI removable disk

I'd rather not edit the /etc/fstab; the way Thunar used to behave, was working with every new USB. I wonder if anybody can shed some lights.

Last edited by Shahab (2012-11-10 21:56:24)

Offline

#2 2012-11-10 21:05:47

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: [SOLVED] Thunar (XFCE4) Does not Auto-mount USB Drive

The error looks suspiciously like one I had not so long ago and it turned out I still had an 11-media-by-label-auto-mount.rule in /etc/udev/rules.d.  Once I removed that and rebooted everything was fine again.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#3 2012-11-10 21:57:55

Shahab
Member
Registered: 2011-10-15
Posts: 30

Re: [SOLVED] Thunar (XFCE4) Does not Auto-mount USB Drive

Thank you bgc1954. Now, Thunar works the same. Yet still, I do not know what the root of problem was.

Offline

#4 2014-01-06 07:28:33

rezahousseini
Member
Registered: 2013-09-06
Posts: 17

Re: [SOLVED] Thunar (XFCE4) Does not Auto-mount USB Drive

Thanks bgc1954, that was exactly my problem!

Offline

#5 2014-01-06 17:57:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Thunar (XFCE4) Does not Auto-mount USB Drive

Closed. Please don't bump old threads with empty posts -- read the Forum Etiquette.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB