LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-17-2010, 12:36 PM   #1
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 73
USB devices not mountable from kde


hey all. i booted up this morning and got a surprise. when i plug in a usb drive normally, it pops up in the k message box, and i can choose too mount it. then it mounts no problem.

when i turned on the computer today, however, i plugged in my usb drive, and clicked to mount it, and lo and behold, i got a strange message:
'Could not mount the following device: USB 8GB'

when i choose more information, i get this:
Code:
org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.12" (uid=8691 pid=2415 comm="kdeinit4: plasma-desktop [kdeinit]) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1887 comm="/usr/sbin/hald))
im not entirely sure what this means. i can mount the drive manually through the terminal if it's running as root, but thats not a particularly practical way to do things, as i am a student and often have to switch USB drives and ipods many times a day.

i think it is a permissions error, because i can still mount as root, but still, im not entirely sure how to fix it. any ideas?
 
Old 12-17-2010, 01:35 PM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,944

Rep: Reputation: Disabled
Please read the CHANGES_AND_HINTS.TXT file on your installation media.
 
Old 12-17-2010, 02:43 PM   #3
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 73
i read it. but it didnt address the error. if i am incorrect, can you please tell me where in the file i am supposed to be looking? i read both the one included on my 13.1 dvd and in the -current mirror.
 
Old 12-17-2010, 02:56 PM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,944

Rep: Reputation: Disabled
The text in -current's version reads as follows:
Code:
HAL is not new anymore, but here are a few notes related to it:
  1. User accounts with permission to mount removable devices and manipulate
     bluetooth devices must be in at least the "plugdev" group.
  2. User accounts with permission to do power-management tasks, such as 
     suspend, hibernate, reboot, and shutdown, via HAL methods should be in
     the "power" group.
  3. User accounts with permission to use network devices, such as with the
     wicd package in /extra, should be in the "netdev" group.
  4. User accounts with permission to use devices that "dial out" or connect
     over a serial port (serial console connections to plug computers, sync
     with a palm device, etcetera) will need to be in the "dialout" group.
  5. HAL will honor settings in /etc/fstab if a device is present there, so
     you could technically have removable devices defined in /etc/fstab, but 
     if the fstab settings do not allow normal users to mount them (with the
     "user" or "users" option), then HAL/dbus will not allow them to be 
     mounted either.  In other words, for example, if your fstab line for the
     cdrom/dvd drive includes the "owner" option, you will not be able to 
     mount it as a normal user.
  6. If you find a need for modified fdi files, those should be placed in the
     relevant directories in /etc/hal/fdi/ instead of /usr/share/hal/fdi/
Are you a member of the 'plugdev' group?
 
Old 12-17-2010, 04:41 PM   #5
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 73
yes i am. i added myself to plugdev when i created the user.

is it something with udev then?
 
Old 12-17-2010, 07:16 PM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,944

Rep: Reputation: Disabled
No, nothing to do with udev. What have you changed on the system lately? This didn't "just happen" - something done by the admin has caused it
 
Old 12-18-2010, 04:14 PM   #7
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 73
nothing. i made samba boot at startup, by chmod +x rc.d/rc.samba, and installed qemu from slackbuilds

thats all ive done in the period between when this worked and now.
 
Old 12-18-2010, 04:23 PM   #8
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 73
ok
i fixed it!

im not sure how though.

in case it helps anyone else with the same problem, here is what i did.

i rebooted, logged in as a normal user, checked to see if it was working. i got the same error. i restarted X, logged in as root, and checked to see if it was working. it did. so i restarted X again, logged back in as myself, and tried to mount a usb. to my surprise it worked just fine. just to be sure, i rebooted the whole machine, and usb devices are mounting fine from the kde menu now.

weird, huh?
 
  


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
KDE fails to auto mount usb devices LordFrancis Linux - Desktop 7 03-17-2009 05:18 AM
canīt hear sounds or see any plugable or mountable devices ... rem1986 Debian 1 12-30-2005 12:59 PM
mounting usb devices through kde - brand newbie djarmb Linux - Newbie 4 11-25-2005 05:14 PM
MP3 player (USB mass storage) not mountable anymore, no block-oriented device the who Slackware 8 09-07-2004 06:55 PM
Finding USB devices in Mandrake 9.2 with KDE 3.1 Fear58 Linux - Software 5 03-27-2004 05:12 AM


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