public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] re: automounting removable drives
@ 2013-10-06 16:01 Alexander Kapshuk
  2013-10-06 21:01 ` Frank Steinmetzger
  0 siblings, 1 reply; 13+ messages in thread
From: Alexander Kapshuk @ 2013-10-06 16:01 UTC (permalink / raw
  To: gentoo-user

I want to be able auto-mount removable drives. I'm running xfce:
box0=; equery list xfce-base/xfce4-meta
 * Searching for xfce4-meta in xfce-base ...
[IP-] [  ] xfce-base/xfce4-meta-4.10:0

and kernel:
box0=; uname -a
Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686
Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux

Is udisks the only avenue available to me, as shown here?:
http://wiki.gentoo.org/wiki/Udisks

Thanks.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives
  2013-10-06 16:01 [gentoo-user] re: automounting removable drives Alexander Kapshuk
@ 2013-10-06 21:01 ` Frank Steinmetzger
  2013-10-07  5:08   ` Samuli Suominen
  0 siblings, 1 reply; 13+ messages in thread
From: Frank Steinmetzger @ 2013-10-06 21:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

On Sun, Oct 06, 2013 at 07:01:09PM +0300, Alexander Kapshuk wrote:
> I want to be able auto-mount removable drives. I'm running xfce:
> box0=; equery list xfce-base/xfce4-meta
>  * Searching for xfce4-meta in xfce-base ...
> [IP-] [  ] xfce-base/xfce4-meta-4.10:0
> 
> and kernel:
> box0=; uname -a
> Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686
> Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux
> 
> Is udisks the only avenue available to me, as shown here?:
> http://wiki.gentoo.org/wiki/Udisks

I only use XFCE very sporadically, but I remember missing that feature
at first, too. IIRC, you lack xfce-extra/xfce4-mount-plugin which is not
part of the basic meta installation.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

“Don't put multiple statements on a single line unless you have something
to hide.” – Linux Torvalds, Linux kernel coding style documentation

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives
  2013-10-06 21:01 ` Frank Steinmetzger
@ 2013-10-07  5:08   ` Samuli Suominen
  2013-10-07 19:36     ` Alexander Kapshuk
  0 siblings, 1 reply; 13+ messages in thread
From: Samuli Suominen @ 2013-10-07  5:08 UTC (permalink / raw
  To: gentoo-user

On 07/10/13 00:01, Frank Steinmetzger wrote:
> On Sun, Oct 06, 2013 at 07:01:09PM +0300, Alexander Kapshuk wrote:
>> I want to be able auto-mount removable drives. I'm running xfce:
>> box0=; equery list xfce-base/xfce4-meta
>>   * Searching for xfce4-meta in xfce-base ...
>> [IP-] [  ] xfce-base/xfce4-meta-4.10:0
>>
>> and kernel:
>> box0=; uname -a
>> Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686
>> Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux
>>
>> Is udisks the only avenue available to me, as shown here?:
>> http://wiki.gentoo.org/wiki/Udisks
>
> I only use XFCE very sporadically, but I remember missing that feature
> at first, too. IIRC, you lack xfce-extra/xfce4-mount-plugin which is not
> part of the basic meta installation.
>

wrong. xfce4-mount-plugin is a plug-in to define manual mount points and 
do manual mounting.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives
  2013-10-07  5:08   ` Samuli Suominen
@ 2013-10-07 19:36     ` Alexander Kapshuk
  2013-10-07 20:45       ` victor romanchuk
  0 siblings, 1 reply; 13+ messages in thread
From: Alexander Kapshuk @ 2013-10-07 19:36 UTC (permalink / raw
  To: gentoo-user; +Cc: Samuli Suominen

On 10/07/2013 08:08 AM, Samuli Suominen wrote:
> On 07/10/13 00:01, Frank Steinmetzger wrote:
>> On Sun, Oct 06, 2013 at 07:01:09PM +0300, Alexander Kapshuk wrote:
>>> I want to be able auto-mount removable drives. I'm running xfce:
>>> box0=; equery list xfce-base/xfce4-meta
>>>   * Searching for xfce4-meta in xfce-base ...
>>> [IP-] [  ] xfce-base/xfce4-meta-4.10:0
>>>
>>> and kernel:
>>> box0=; uname -a
>>> Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686
>>> Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux
>>>
>>> Is udisks the only avenue available to me, as shown here?:
>>> http://wiki.gentoo.org/wiki/Udisks
>>
>> I only use XFCE very sporadically, but I remember missing that feature
>> at first, too. IIRC, you lack xfce-extra/xfce4-mount-plugin which is not
>> part of the basic meta installation.
>>
>
> wrong. xfce4-mount-plugin is a plug-in to define manual mount points
> and do manual mounting.
>
Thanks for your responses. I'm sorry I forgot to mention that I do have
xfce4-mount-plugin installed.

box0=; equery list '*xfce*'|grep mount
xfce-extra/xfce4-mount-plugin-0.6.4

But I still can't auto-mount my removable drives. So I thought that
perhaps some further configuration had to be done. That question still
remains, how do I do it?

Thanks.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives
  2013-10-07 19:36     ` Alexander Kapshuk
@ 2013-10-07 20:45       ` victor romanchuk
  2013-10-08 17:19         ` Alexander Kapshuk
  0 siblings, 1 reply; 13+ messages in thread
From: victor romanchuk @ 2013-10-07 20:45 UTC (permalink / raw
  To: gentoo-user

On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
> Thanks for your responses. I'm sorry I forgot to mention that I do have
> xfce4-mount-plugin installed.
>
> box0=; equery list '*xfce*'|grep mount
> xfce-extra/xfce4-mount-plugin-0.6.4
>
> But I still can't auto-mount my removable drives. So I thought that
> perhaps some further configuration had to be done. That question still
> remains, how do I do it?
>
> Thanks.
>

hi,

you need to emerge just one package: xfce-extra/thunar-volman (it may pull some dependencies); it
does what you asked for

victor


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives
  2013-10-07 20:45       ` victor romanchuk
@ 2013-10-08 17:19         ` Alexander Kapshuk
  2013-10-08 18:21           ` Samuli Suominen
  2013-10-08 19:10           ` Bruce Hill
  0 siblings, 2 replies; 13+ messages in thread
From: Alexander Kapshuk @ 2013-10-08 17:19 UTC (permalink / raw
  To: gentoo-user; +Cc: victor romanchuk

On 10/07/2013 11:45 PM, victor romanchuk wrote:
> On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
>> Thanks for your responses. I'm sorry I forgot to mention that I do have
>> xfce4-mount-plugin installed.
>>
>> box0=; equery list '*xfce*'|grep mount
>> xfce-extra/xfce4-mount-plugin-0.6.4
>>
>> But I still can't auto-mount my removable drives. So I thought that
>> perhaps some further configuration had to be done. That question still
>> remains, how do I do it?
>>
>> Thanks.
>>
> hi,
>
> you need to emerge just one package: xfce-extra/thunar-volman (it may pull some dependencies); it
> does what you asked for
>
> victor
>
Thanks for your response. To save further confusion, which is something
I should have done right from the word go, here's a list of all the xfce
packages I have installed on my system:
box0=; equery list '*xfce*'
 * Searching for *xfce* ...
[IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
[IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
[IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
[IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
[IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
[IP-] [  ] xfce-base/libxfce4util-4.10.0:0
[IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-meta-4.10:0
[IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
[IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
[IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
[IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
[IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
[IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
[IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0

I just plugged in my USB memory stick. Here's the output of dmesg with
regard to that:
box0=; dmesg|tail -30
[ 1674.204287] ehci-pci 0000:00:1a.7: GetStatus port:3 status 001005 0 
ACK POWER sig=se0 PE CONNECT
[ 1674.255067] usb 1-3: new high-speed USB device number 3 using ehci-pci
[ 1674.306278] ehci-pci 0000:00:1a.7: port 3 reset complete, port enabled
[ 1674.306286] ehci-pci 0000:00:1a.7: GetStatus port:3 status 001005 0 
ACK POWER sig=se0 PE CONNECT
[ 1674.370434] usb 1-3: default language 0x0409
[ 1674.371812] usb 1-3: udev 3, busnum 1, minor = 2
[ 1674.371816] usb 1-3: New USB device found, idVendor=0951, idProduct=1603
[ 1674.371819] usb 1-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 1674.371821] usb 1-3: Product: DataTraveler 2.0
[ 1674.371824] usb 1-3: Manufacturer: Kingston
[ 1674.371826] usb 1-3: SerialNumber: 000AEB91BC8CA9203550013A
[ 1674.371945] usb 1-3: usb_probe_device
[ 1674.371949] usb 1-3: configuration #1 chosen from 1 choice
[ 1674.372446] usb 1-3: adding 1-3:1.0 (config #1, interface 0)
[ 1674.372501] usb-storage 1-3:1.0: usb_probe_interface
[ 1674.372508] usb-storage 1-3:1.0: usb_probe_interface - got id
[ 1674.372511] usb-storage 1-3:1.0: USB Mass Storage device detected
[ 1674.372679] scsi6 : usb-storage 1-3:1.0
[ 1675.374695] scsi 6:0:0:0: Direct-Access     Kingston DataTraveler 2.0
1.00 PQ: 0 ANSI: 2
[ 1675.377095] sd 6:0:0:0: [sdb] 7852032 512-byte logical blocks: (4.02
GB/3.74 GiB)
[ 1675.377860] sd 6:0:0:0: [sdb] Write Protect is off
[ 1675.377866] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 1675.378706] sd 6:0:0:0: [sdb] No Caching mode page present
[ 1675.378711] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1675.382693] sd 6:0:0:0: [sdb] No Caching mode page present
[ 1675.382698] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1675.608825]  sdb:
[ 1675.996321] sd 6:0:0:0: [sdb] No Caching mode page present
[ 1675.996326] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1675.996330] sd 6:0:0:0: [sdb] Attached SCSI removable disk

As far as I can tell, it's not auto-mounted, is it? 'ls /media' and 'ls
/mnt' return nothing.

I could probably use the 'mount' command, to access the files on the
memory stick, I'd like my system to auto-mount it.

Any pointers would be appreciated.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives
  2013-10-08 17:19         ` Alexander Kapshuk
@ 2013-10-08 18:21           ` Samuli Suominen
  2013-10-08 18:55             ` Alexander Kapshuk
  2014-08-23 14:17             ` [gentoo-user] re: automounting removable drives Alexander Kapshuk
  2013-10-08 19:10           ` Bruce Hill
  1 sibling, 2 replies; 13+ messages in thread
From: Samuli Suominen @ 2013-10-08 18:21 UTC (permalink / raw
  To: gentoo-user

On 08/10/13 20:19, Alexander Kapshuk wrote:
> On 10/07/2013 11:45 PM, victor romanchuk wrote:
>> On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
>>> Thanks for your responses. I'm sorry I forgot to mention that I do have
>>> xfce4-mount-plugin installed.
>>>
>>> box0=; equery list '*xfce*'|grep mount
>>> xfce-extra/xfce4-mount-plugin-0.6.4
>>>
>>> But I still can't auto-mount my removable drives. So I thought that
>>> perhaps some further configuration had to be done. That question still
>>> remains, how do I do it?
>>>
>>> Thanks.
>>>
>> hi,
>>
>> you need to emerge just one package: xfce-extra/thunar-volman (it may pull some dependencies); it
>> does what you asked for
>>
>> victor
>>
> Thanks for your response. To save further confusion, which is something
> I should have done right from the word go, here's a list of all the xfce
> packages I have installed on my system:
> box0=; equery list '*xfce*'
>   * Searching for *xfce* ...
> [IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
> [IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
> [IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
> [IP-] [  ] xfce-base/libxfce4util-4.10.0:0
> [IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
> [IP-] [  ] xfce-base/xfce4-meta-4.10:0
> [IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
> [IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
> [IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
> [IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
> [IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
> [IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
> [IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
> [IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
> [IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0

xfce-base/thunar needs to have USE="udev" enabled and 
xfce-extra/thunar-volman must be installed

i don't see thunar-volman in your list there

futhermore authorization from polkit/consolekit must be working, so you 
must see 'active = TRUE' line when you run `ck-list-sessions` in your
Xfce's Terminal as a normal user, see this thread (first post of it):

http://forums.gentoo.org/viewtopic-t-858965-start-0.html

and like said, xfce4-mount-plugin is irrelevant, and `mount` command 
shouldn't be used at all for udisks maintained removable devices, 
instead `udisksctl mount` should be used as a normal user if you really 
want to mount from commandline


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives
  2013-10-08 18:21           ` Samuli Suominen
@ 2013-10-08 18:55             ` Alexander Kapshuk
  2013-10-08 19:08               ` Samuli Suominen
  2014-08-23 14:17             ` [gentoo-user] re: automounting removable drives Alexander Kapshuk
  1 sibling, 1 reply; 13+ messages in thread
From: Alexander Kapshuk @ 2013-10-08 18:55 UTC (permalink / raw
  To: Samuli Suominen; +Cc: gentoo-user

On 10/08/2013 09:21 PM, Samuli Suominen wrote:
> On 08/10/13 20:19, Alexander Kapshuk wrote:
>> On 10/07/2013 11:45 PM, victor romanchuk wrote:
>>> On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
>>>> Thanks for your responses. I'm sorry I forgot to mention that I do
>>>> have
>>>> xfce4-mount-plugin installed.
>>>>
>>>> box0=; equery list '*xfce*'|grep mount
>>>> xfce-extra/xfce4-mount-plugin-0.6.4
>>>>
>>>> But I still can't auto-mount my removable drives. So I thought that
>>>> perhaps some further configuration had to be done. That question still
>>>> remains, how do I do it?
>>>>
>>>> Thanks.
>>>>
>>> hi,
>>>
>>> you need to emerge just one package: xfce-extra/thunar-volman (it
>>> may pull some dependencies); it
>>> does what you asked for
>>>
>>> victor
>>>
>> Thanks for your response. To save further confusion, which is something
>> I should have done right from the word go, here's a list of all the xfce
>> packages I have installed on my system:
>> box0=; equery list '*xfce*'
>>   * Searching for *xfce* ...
>> [IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
>> [IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
>> [IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
>> [IP-] [  ] xfce-base/libxfce4util-4.10.0:0
>> [IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
>> [IP-] [  ] xfce-base/xfce4-meta-4.10:0
>> [IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
>> [IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
>> [IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
>> [IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
>> [IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
>> [IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
>> [IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
>> [IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
>> [IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0
>
> xfce-base/thunar needs to have USE="udev" enabled and
> xfce-extra/thunar-volman must be installed
>
> i don't see thunar-volman in your list there
>
> futhermore authorization from polkit/consolekit must be working, so
> you must see 'active = TRUE' line when you run `ck-list-sessions` in your
> Xfce's Terminal as a normal user, see this thread (first post of it):
>
> http://forums.gentoo.org/viewtopic-t-858965-start-0.html
>
> and like said, xfce4-mount-plugin is irrelevant, and `mount` command
> shouldn't be used at all for udisks maintained removable devices,
> instead `udisksctl mount` should be used as a normal user if you
> really want to mount from commandline
>
Thanks.

thunar/thunar-valman seem to be installed on my system as well:
equery list '*thunar*'
 * Searching for *thunar* ...
[IP-] [  ] xfce-base/thunar-1.6.2:0
[IP-] [  ] xfce-extra/thunar-volman-0.8.0:0


'ck-list-sessions' when run as a regular user returns:
** Message: Failed to connect to the D-Bus daemon: Failed to connect to
socket /var/run/dbus/system_bus_socket: No such file or directory

I'll go ahead and do as instructed in the forum post you supplied.

I'll let you know how I went once I've done it.

Thanks once again for your help.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives
  2013-10-08 18:55             ` Alexander Kapshuk
@ 2013-10-08 19:08               ` Samuli Suominen
  2013-10-08 19:15                 ` Alexander Kapshuk
  2013-10-10 19:40                 ` [gentoo-user] re: automounting removable drives [SOLVED] Alexander Kapshuk
  0 siblings, 2 replies; 13+ messages in thread
From: Samuli Suominen @ 2013-10-08 19:08 UTC (permalink / raw
  To: Alexander Kapshuk; +Cc: gentoo-user

On 08/10/13 21:55, Alexander Kapshuk wrote:
> On 10/08/2013 09:21 PM, Samuli Suominen wrote:
>> On 08/10/13 20:19, Alexander Kapshuk wrote:
>>> On 10/07/2013 11:45 PM, victor romanchuk wrote:
>>>> On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
>>>>> Thanks for your responses. I'm sorry I forgot to mention that I do
>>>>> have
>>>>> xfce4-mount-plugin installed.
>>>>>
>>>>> box0=; equery list '*xfce*'|grep mount
>>>>> xfce-extra/xfce4-mount-plugin-0.6.4
>>>>>
>>>>> But I still can't auto-mount my removable drives. So I thought that
>>>>> perhaps some further configuration had to be done. That question still
>>>>> remains, how do I do it?
>>>>>
>>>>> Thanks.
>>>>>
>>>> hi,
>>>>
>>>> you need to emerge just one package: xfce-extra/thunar-volman (it
>>>> may pull some dependencies); it
>>>> does what you asked for
>>>>
>>>> victor
>>>>
>>> Thanks for your response. To save further confusion, which is something
>>> I should have done right from the word go, here's a list of all the xfce
>>> packages I have installed on my system:
>>> box0=; equery list '*xfce*'
>>>    * Searching for *xfce* ...
>>> [IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
>>> [IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
>>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
>>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
>>> [IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
>>> [IP-] [  ] xfce-base/libxfce4util-4.10.0:0
>>> [IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
>>> [IP-] [  ] xfce-base/xfce4-meta-4.10:0
>>> [IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
>>> [IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
>>> [IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
>>> [IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
>>> [IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
>>> [IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
>>> [IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
>>> [IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
>>> [IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0
>>
>> xfce-base/thunar needs to have USE="udev" enabled and
>> xfce-extra/thunar-volman must be installed
>>
>> i don't see thunar-volman in your list there
>>
>> futhermore authorization from polkit/consolekit must be working, so
>> you must see 'active = TRUE' line when you run `ck-list-sessions` in your
>> Xfce's Terminal as a normal user, see this thread (first post of it):
>>
>> http://forums.gentoo.org/viewtopic-t-858965-start-0.html
>>
>> and like said, xfce4-mount-plugin is irrelevant, and `mount` command
>> shouldn't be used at all for udisks maintained removable devices,
>> instead `udisksctl mount` should be used as a normal user if you
>> really want to mount from commandline
>>
> Thanks.
>
> thunar/thunar-valman seem to be installed on my system as well:
> equery list '*thunar*'
>   * Searching for *thunar* ...
> [IP-] [  ] xfce-base/thunar-1.6.2:0
> [IP-] [  ] xfce-extra/thunar-volman-0.8.0:0
>
>
> 'ck-list-sessions' when run as a regular user returns:
> ** Message: Failed to connect to the D-Bus daemon: Failed to connect to
> socket /var/run/dbus/system_bus_socket: No such file or directory

The post covers also this, it looks like you have forgot to add 'dbus' 
and 'consolekit' to the runlevels:

# rc-update add consolekit default
# rc-update add dbus default
# /etc/init.d/consolekit start

That will start dbus and ConsoleKit on boot as required, the system 
instances.

Then there is the user instances, also covered by the post. For example, 
running Xfce using `startx` from text console:

~/.xinitrc file in your home directory has the content of:

exec startxfce4 --with-ck-launch

And then you can run

$ startx

But like said, this is all covered by the forums post. It's like a 
checklist.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives
  2013-10-08 17:19         ` Alexander Kapshuk
  2013-10-08 18:21           ` Samuli Suominen
@ 2013-10-08 19:10           ` Bruce Hill
  1 sibling, 0 replies; 13+ messages in thread
From: Bruce Hill @ 2013-10-08 19:10 UTC (permalink / raw
  To: gentoo-user

On Tue, Oct 08, 2013 at 08:19:40PM +0300, Alexander Kapshuk wrote:
> 
> I just plugged in my USB memory stick. Here's the output of dmesg with
> regard to that:
> box0=; dmesg|tail -30
> [ 1674.204287] ehci-pci 0000:00:1a.7: GetStatus port:3 status 001005 0 
> ACK POWER sig=se0 PE CONNECT
> [ 1674.255067] usb 1-3: new high-speed USB device number 3 using ehci-pci
> [ 1674.306278] ehci-pci 0000:00:1a.7: port 3 reset complete, port enabled
> [ 1674.306286] ehci-pci 0000:00:1a.7: GetStatus port:3 status 001005 0 
> ACK POWER sig=se0 PE CONNECT
> [ 1674.370434] usb 1-3: default language 0x0409
> [ 1674.371812] usb 1-3: udev 3, busnum 1, minor = 2
> [ 1674.371816] usb 1-3: New USB device found, idVendor=0951, idProduct=1603
> [ 1674.371819] usb 1-3: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [ 1674.371821] usb 1-3: Product: DataTraveler 2.0
> [ 1674.371824] usb 1-3: Manufacturer: Kingston
> [ 1674.371826] usb 1-3: SerialNumber: 000AEB91BC8CA9203550013A
> [ 1674.371945] usb 1-3: usb_probe_device
> [ 1674.371949] usb 1-3: configuration #1 chosen from 1 choice
> [ 1674.372446] usb 1-3: adding 1-3:1.0 (config #1, interface 0)
> [ 1674.372501] usb-storage 1-3:1.0: usb_probe_interface
> [ 1674.372508] usb-storage 1-3:1.0: usb_probe_interface - got id
> [ 1674.372511] usb-storage 1-3:1.0: USB Mass Storage device detected
> [ 1674.372679] scsi6 : usb-storage 1-3:1.0
> [ 1675.374695] scsi 6:0:0:0: Direct-Access     Kingston DataTraveler 2.0
> 1.00 PQ: 0 ANSI: 2
> [ 1675.377095] sd 6:0:0:0: [sdb] 7852032 512-byte logical blocks: (4.02
> GB/3.74 GiB)
> [ 1675.377860] sd 6:0:0:0: [sdb] Write Protect is off
> [ 1675.377866] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
> [ 1675.378706] sd 6:0:0:0: [sdb] No Caching mode page present
> [ 1675.378711] sd 6:0:0:0: [sdb] Assuming drive cache: write through
> [ 1675.382693] sd 6:0:0:0: [sdb] No Caching mode page present
> [ 1675.382698] sd 6:0:0:0: [sdb] Assuming drive cache: write through
> [ 1675.608825]  sdb:
> [ 1675.996321] sd 6:0:0:0: [sdb] No Caching mode page present
> [ 1675.996326] sd 6:0:0:0: [sdb] Assuming drive cache: write through
> [ 1675.996330] sd 6:0:0:0: [sdb] Attached SCSI removable disk

Additionally, there doesn't seem to be any partitions on that device. Is this
some type of filesystem/label which does not have one? Such as sdb1
-- 
Happy Penguin Computers               >')
126 Fenco Drive                       ( \
Tupelo, MS 38801                       ^^
support@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives
  2013-10-08 19:08               ` Samuli Suominen
@ 2013-10-08 19:15                 ` Alexander Kapshuk
  2013-10-10 19:40                 ` [gentoo-user] re: automounting removable drives [SOLVED] Alexander Kapshuk
  1 sibling, 0 replies; 13+ messages in thread
From: Alexander Kapshuk @ 2013-10-08 19:15 UTC (permalink / raw
  To: Samuli Suominen; +Cc: gentoo-user

On 10/08/2013 10:08 PM, Samuli Suominen wrote:
> On 08/10/13 21:55, Alexander Kapshuk wrote:
>> On 10/08/2013 09:21 PM, Samuli Suominen wrote:
>>> On 08/10/13 20:19, Alexander Kapshuk wrote:
>>>> On 10/07/2013 11:45 PM, victor romanchuk wrote:
>>>>> On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
>>>>>> Thanks for your responses. I'm sorry I forgot to mention that I do
>>>>>> have
>>>>>> xfce4-mount-plugin installed.
>>>>>>
>>>>>> box0=; equery list '*xfce*'|grep mount
>>>>>> xfce-extra/xfce4-mount-plugin-0.6.4
>>>>>>
>>>>>> But I still can't auto-mount my removable drives. So I thought that
>>>>>> perhaps some further configuration had to be done. That question
>>>>>> still
>>>>>> remains, how do I do it?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>> hi,
>>>>>
>>>>> you need to emerge just one package: xfce-extra/thunar-volman (it
>>>>> may pull some dependencies); it
>>>>> does what you asked for
>>>>>
>>>>> victor
>>>>>
>>>> Thanks for your response. To save further confusion, which is
>>>> something
>>>> I should have done right from the word go, here's a list of all the
>>>> xfce
>>>> packages I have installed on my system:
>>>> box0=; equery list '*xfce*'
>>>>    * Searching for *xfce* ...
>>>> [IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
>>>> [IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
>>>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
>>>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
>>>> [IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
>>>> [IP-] [  ] xfce-base/libxfce4util-4.10.0:0
>>>> [IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
>>>> [IP-] [  ] xfce-base/xfce4-meta-4.10:0
>>>> [IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
>>>> [IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
>>>> [IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
>>>> [IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
>>>> [IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
>>>> [IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
>>>> [IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
>>>> [IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
>>>> [IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0
>>>
>>> xfce-base/thunar needs to have USE="udev" enabled and
>>> xfce-extra/thunar-volman must be installed
>>>
>>> i don't see thunar-volman in your list there
>>>
>>> futhermore authorization from polkit/consolekit must be working, so
>>> you must see 'active = TRUE' line when you run `ck-list-sessions` in
>>> your
>>> Xfce's Terminal as a normal user, see this thread (first post of it):
>>>
>>> http://forums.gentoo.org/viewtopic-t-858965-start-0.html
>>>
>>> and like said, xfce4-mount-plugin is irrelevant, and `mount` command
>>> shouldn't be used at all for udisks maintained removable devices,
>>> instead `udisksctl mount` should be used as a normal user if you
>>> really want to mount from commandline
>>>
>> Thanks.
>>
>> thunar/thunar-valman seem to be installed on my system as well:
>> equery list '*thunar*'
>>   * Searching for *thunar* ...
>> [IP-] [  ] xfce-base/thunar-1.6.2:0
>> [IP-] [  ] xfce-extra/thunar-volman-0.8.0:0
>>
>>
>> 'ck-list-sessions' when run as a regular user returns:
>> ** Message: Failed to connect to the D-Bus daemon: Failed to connect to
>> socket /var/run/dbus/system_bus_socket: No such file or directory
>
> The post covers also this, it looks like you have forgot to add 'dbus'
> and 'consolekit' to the runlevels:
>
> # rc-update add consolekit default
> # rc-update add dbus default
> # /etc/init.d/consolekit start
>
> That will start dbus and ConsoleKit on boot as required, the system
> instances.
>
> Then there is the user instances, also covered by the post. For
> example, running Xfce using `startx` from text console:
>
> ~/.xinitrc file in your home directory has the content of:
>
> exec startxfce4 --with-ck-launch
>
> And then you can run
>
> $ startx
>
> But like said, this is all covered by the forums post. It's like a
> checklist.

I'll certainly do that.

Thanks very much.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives [SOLVED]
  2013-10-08 19:08               ` Samuli Suominen
  2013-10-08 19:15                 ` Alexander Kapshuk
@ 2013-10-10 19:40                 ` Alexander Kapshuk
  1 sibling, 0 replies; 13+ messages in thread
From: Alexander Kapshuk @ 2013-10-10 19:40 UTC (permalink / raw
  To: Samuli Suominen; +Cc: gentoo-user

On 10/08/2013 10:08 PM, Samuli Suominen wrote:
> On 08/10/13 21:55, Alexander Kapshuk wrote:
>> On 10/08/2013 09:21 PM, Samuli Suominen wrote:
>>> On 08/10/13 20:19, Alexander Kapshuk wrote:
>>>> On 10/07/2013 11:45 PM, victor romanchuk wrote:
>>>>> On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
>>>>>> Thanks for your responses. I'm sorry I forgot to mention that I do
>>>>>> have
>>>>>> xfce4-mount-plugin installed.
>>>>>>
>>>>>> box0=; equery list '*xfce*'|grep mount
>>>>>> xfce-extra/xfce4-mount-plugin-0.6.4
>>>>>>
>>>>>> But I still can't auto-mount my removable drives. So I thought that
>>>>>> perhaps some further configuration had to be done. That question
>>>>>> still
>>>>>> remains, how do I do it?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>> hi,
>>>>>
>>>>> you need to emerge just one package: xfce-extra/thunar-volman (it
>>>>> may pull some dependencies); it
>>>>> does what you asked for
>>>>>
>>>>> victor
>>>>>
>>>> Thanks for your response. To save further confusion, which is
>>>> something
>>>> I should have done right from the word go, here's a list of all the
>>>> xfce
>>>> packages I have installed on my system:
>>>> box0=; equery list '*xfce*'
>>>>    * Searching for *xfce* ...
>>>> [IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
>>>> [IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
>>>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
>>>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
>>>> [IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
>>>> [IP-] [  ] xfce-base/libxfce4util-4.10.0:0
>>>> [IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
>>>> [IP-] [  ] xfce-base/xfce4-meta-4.10:0
>>>> [IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
>>>> [IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
>>>> [IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
>>>> [IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
>>>> [IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
>>>> [IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
>>>> [IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
>>>> [IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
>>>> [IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0
>>>
>>> xfce-base/thunar needs to have USE="udev" enabled and
>>> xfce-extra/thunar-volman must be installed
>>>
>>> i don't see thunar-volman in your list there
>>>
>>> futhermore authorization from polkit/consolekit must be working, so
>>> you must see 'active = TRUE' line when you run `ck-list-sessions` in
>>> your
>>> Xfce's Terminal as a normal user, see this thread (first post of it):
>>>
>>> http://forums.gentoo.org/viewtopic-t-858965-start-0.html
>>>
>>> and like said, xfce4-mount-plugin is irrelevant, and `mount` command
>>> shouldn't be used at all for udisks maintained removable devices,
>>> instead `udisksctl mount` should be used as a normal user if you
>>> really want to mount from commandline
>>>
>> Thanks.
>>
>> thunar/thunar-valman seem to be installed on my system as well:
>> equery list '*thunar*'
>>   * Searching for *thunar* ...
>> [IP-] [  ] xfce-base/thunar-1.6.2:0
>> [IP-] [  ] xfce-extra/thunar-volman-0.8.0:0
>>
>>
>> 'ck-list-sessions' when run as a regular user returns:
>> ** Message: Failed to connect to the D-Bus daemon: Failed to connect to
>> socket /var/run/dbus/system_bus_socket: No such file or directory
>
> The post covers also this, it looks like you have forgot to add 'dbus'
> and 'consolekit' to the runlevels:
>
> # rc-update add consolekit default
> # rc-update add dbus default
> # /etc/init.d/consolekit start
>
> That will start dbus and ConsoleKit on boot as required, the system
> instances.
>
> Then there is the user instances, also covered by the post. For
> example, running Xfce using `startx` from text console:
>
> ~/.xinitrc file in your home directory has the content of:
>
> exec startxfce4 --with-ck-launch
>
> And then you can run
>
> $ startx
>
> But like said, this is all covered by the forums post. It's like a
> checklist.
I've followed the instructions described in the post you supplied by way
of the link above, and now I have my removable drives auto-mounting.

Thanks very much.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] re: automounting removable drives
  2013-10-08 18:21           ` Samuli Suominen
  2013-10-08 18:55             ` Alexander Kapshuk
@ 2014-08-23 14:17             ` Alexander Kapshuk
  1 sibling, 0 replies; 13+ messages in thread
From: Alexander Kapshuk @ 2014-08-23 14:17 UTC (permalink / raw
  To: gentoo-user

On 10/08/2013 09:21 PM, Samuli Suominen wrote:
> futhermore authorization from polkit/consolekit must be working, so
> you must see 'active = TRUE' line when you run `ck-list-sessions` in your
> Xfce's Terminal as a normal user, see this thread (first post of it):
>
> http://forums.gentoo.org/viewtopic-t-858965-start-0.html
>
> and like said, xfce4-mount-plugin is irrelevant, and `mount` command
> shouldn't be used at all for udisks maintained removable devices,
> instead `udisksctl mount` should be used as a normal user if you
> really want to mount from commandline 

I followed the instructions given above to set up for my removable
drives to automount on my laptop and desktop machines. I got it to work
flawlessly on my laptop, but not on the desktop. What I seem to be
having trouble figuring out is why my DVDs won't get automounted if I
eject a DVD and then load it again. The DVDs only seem to get
automounted when I first boot my system. I've checked the system logs,
compared the recommended settings given at the gentoo forum link above
against the settings on my laptop. Still didn't find anything amiss.

I little help would be appreciated.

Here's some info that might prove handy.

dmesg output:
[    5.076608] ata5.00: ATAPI: Optiarc DVD RW AD-5200A, 1.01, max UDMA/66
[    5.082537] ata5.00: configured for UDMA/66
[    5.085298] scsi 4:0:0:0: CD-ROM            Optiarc  DVD RW AD-5200A 
1.01 PQ: 0 ANSI: 5
[    5.087417] sr0: scsi3-mmc drive: 94x/94x writer cd/rw xa/form2 cdda tray
[    5.087421] cdrom: Uniform CD-ROM driver Revision: 3.20
[    5.087668] sr 4:0:0:0: Attached scsi CD-ROM sr0
[    5.087886] sr 4:0:0:0: Attached scsi generic sg1 type 5

udisksctl status
MODEL                     REVISION  SERIAL               DEVICE
--------------------------------------------------------------------------
ST3320613AS               SD11      9SZ08MMB             sda    
Optiarc DVD RW AD-5200A   1.01      Optiarc_DVD_RW_AD-5200A sr0

/var/log/messages showing the udisks activities when I unmounted the DVD
that got mounted at boot time.
Aug 23 16:32:00 localhost kernel: [24817.787649] UDF-fs: INFO Mounting
volume 'Adventures of T', timestamp 2012/12/17 20:58 (10b4)
Aug 23 16:32:00 localhost udisksd[3035]: Mounted /dev/sr0 at
/run/media/sasha/ADVENTURES OF TINTIN on behalf of uid 1000
Aug 23 16:32:07 localhost udisksd[3035]: Cleaning up mount point
/run/media/sasha/ADVENTURES OF TINTIN (device 11:0 is not mounted)
Aug 23 16:32:07 localhost udisksd[3035]: Unmounted /dev/sr0 on behalf of
uid 1000



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-08-23 14:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-06 16:01 [gentoo-user] re: automounting removable drives Alexander Kapshuk
2013-10-06 21:01 ` Frank Steinmetzger
2013-10-07  5:08   ` Samuli Suominen
2013-10-07 19:36     ` Alexander Kapshuk
2013-10-07 20:45       ` victor romanchuk
2013-10-08 17:19         ` Alexander Kapshuk
2013-10-08 18:21           ` Samuli Suominen
2013-10-08 18:55             ` Alexander Kapshuk
2013-10-08 19:08               ` Samuli Suominen
2013-10-08 19:15                 ` Alexander Kapshuk
2013-10-10 19:40                 ` [gentoo-user] re: automounting removable drives [SOLVED] Alexander Kapshuk
2014-08-23 14:17             ` [gentoo-user] re: automounting removable drives Alexander Kapshuk
2013-10-08 19:10           ` Bruce Hill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox