LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2010, 09:47 AM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
File Manager Auto-mount in Arch Linux


This is something that really bothered me since I started using Arch. I would really like it if I could just click the device icon in a file manager and it would mount the device, instead of having to log in as root and issue mount/umount commands, and having to log in as root to copy files to the device.

The attached error dialog is from PCManFM when I click on the icon of a flash drive I plugged in.

How should I fix this?
Attached Thumbnails
Click image for larger version

Name:	mounterror.jpg
Views:	21
Size:	21.2 KB
ID:	3259  
 
Old 04-02-2010, 10:14 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
This is not an Arch issue---(by itself, Arch does practically nothing).

I'm finding that the detection and mounting of devices with KDE 4.3.X works very smoothly. What DE or WM are you using?
 
Old 04-02-2010, 11:05 AM   #3
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I know it's not actually Arch's fault.

I am not using any DE. This issue occurs with all file managers that I tried, including Konqueror, Dolphin, Thunar, and PCManFM.
 
Old 04-02-2010, 12:11 PM   #4
xamaco
LQ Newbie
 
Registered: Sep 2009
Location: Bastelicaccia, Corsica
Distribution: Crux
Posts: 28

Rep: Reputation: 4
Is dbus installed and launched ?
http://wiki.archlinux.org/index.php/Dbus
 
Old 04-02-2010, 12:27 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I addad my username to the hal group and installed pmount, as instructed here:

http://wiki.archlinux.org/index.php/LXDE

Still doesn't work.

I added dbus to the DEAMONS array and rebooted. Still nothing.
 
Old 04-02-2010, 12:30 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I also added what it said to add to .xinitrc in xamaco's link, it still does not work.
 
Old 04-02-2010, 12:30 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by MTK358 View Post
I know it's not actually Arch's fault.

I am not using any DE. This issue occurs with all file managers that I tried, including Konqueror, Dolphin, Thunar, and PCManFM.
I don't think automounting is a function of the file manager..????
 
Old 04-02-2010, 12:31 PM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I'm almost certain it is, or at least the file manager calls or executes something that does.
 
Old 04-02-2010, 01:06 PM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by MTK358 View Post
I'm almost certain it is, or at least the file manager calls or executes something that does.
Well--in KDE--I am reasonably certain that it is NOT the file manager that is doing the honors. There is this marvelous little utility called the "device notifier". When I insert something (thumb drive, blank CD, SD card, etc.) If pops up an offers me the appropriate options---eg:
open with file manager (which of course requires mounting)
burn a CD
open with digikam
etc.
It also has a control to eject the device (umount included).

It does all this without the file manager being open.
 
Old 04-02-2010, 01:16 PM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
But I don't use KDE, and how does that help solve my problem?
 
Old 04-02-2010, 01:22 PM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Sorry---I was only commenting on the theory that it was a function of the file manager.
 
Old 04-02-2010, 01:25 PM   #12
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Then I guess some file managers to the mounting themselves.

At least in my case, the file manager makes an error dialog that it can't mount when I click the device icon.

Now back to the original topic...
 
Old 04-03-2010, 06:41 AM   #13
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Anyone?
 
Old 04-03-2010, 07:31 AM   #14
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
hey MTK358

just wondrin, does it act the same if you are in the root desktop?
I am also having this issue in archbang installed to hdd

but yet it has no issues if i am running from root desktop

also, does starting pcmanfm, in a terminal, as user or root, display any messages?
 
Old 04-03-2010, 07:36 AM   #15
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Quote:
Originally Posted by linus72 View Post
just wondrin, does it act the same if you are in the root desktop?
I am also having this issue in archbang installed to hdd
I've never even started X as root before.

Quote:
Originally Posted by linus72 View Post
also, does starting pcmanfm, in a terminal, as user or root, display any messages?
I just tried and pcmanfm did not print anything to the terminal, even when the error popped up.

I also tried "sudo pcmanfm". This time it had a banner warning me that it is running as root. But the flash drive mounted and unmounted beautifully, without any problems.
 
  


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
[SOLVED] One of my file systems failed to auto-mount on boot taylorkh Linux - Newbie 5 12-29-2009 04:11 PM
Auto-mount windows share on boot - manual OK, auto not ok! erskie Linux - Newbie 2 02-12-2008 07:42 PM
gnome-volume-manager auto-mount issue verbose Linux - Software 2 12-18-2007 11:23 PM
auto mount samba file system nanjil SUSE / openSUSE 1 11-25-2005 11:19 AM
What file contains auto-mount for fsck cbjhawks Linux - Software 1 09-18-2003 08:02 PM


All times are GMT -5. The time now is 08:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration