• [gentoo-user] xfce4 automount usb doesn't work

    From thelma@sys-concept.com@21:1/5 to All on Tue Apr 11 17:50:02 2023
    When USB is inserted, the icon appears on a desktop but it is not aouto mounted.

    In settings: Removable Drive and Media -->
    - Mount removable drive when hot-plugged (is checked)

    Does it have something to do with dbus?

    --
    Thelma

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Connell@21:1/5 to thelma@sys-concept.com on Tue Apr 11 18:30:01 2023
    On Tue, 2023-04-11 at 09:43 -0600, thelma@sys-concept.com wrote:
    When USB is inserted, the icon appears on a desktop but it is not aouto mounted.

    In settings: Removable Drive and Media -->
    - Mount removable drive when hot-plugged (is checked)

    Does it have something to do with dbus?


    My first guess is permissions. Can you mount the drive in Thunar by
    clicking on it in the side panel?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From thelma@sys-concept.com@21:1/5 to Matt Connell on Tue Apr 11 19:30:01 2023
    On 4/11/23 10:15, Matt Connell wrote:
    On Tue, 2023-04-11 at 09:43 -0600, thelma@sys-concept.com wrote:
    When USB is inserted, the icon appears on a desktop but it is not aouto mounted.

    In settings: Removable Drive and Media -->
    - Mount removable drive when hot-plugged (is checked)

    Does it have something to do with dbus?


    My first guess is permissions. Can you mount the drive in Thunar by
    clicking on it in the side panel?


    Does user need to be in group: plugdev for it to work.

    On my other older system USB automount works correctly and I'm not in a group plugdev

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From thelma@sys-concept.com@21:1/5 to Matt Connell on Tue Apr 11 19:20:01 2023
    On 4/11/23 10:15, Matt Connell wrote:
    On Tue, 2023-04-11 at 09:43 -0600, thelma@sys-concept.com wrote:
    When USB is inserted, the icon appears on a desktop but it is not aouto mounted.

    In settings: Removable Drive and Media -->
    - Mount removable drive when hot-plugged (is checked)

    Does it have something to do with dbus?


    My first guess is permissions. Can you mount the drive in Thunar by
    clicking on it in the side panel?

    Yes, when the usb-icon appears on desktop, right clicking on it allows me to mount it.

    On the system that works correctly, when I insert the USB I get:

    [822766.172299] sda: sda1
    [822766.173269] sd 4:0:0:0: [sda] Attached SCSI removable disk
    [822776.321898] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: errors=remount-ro

    On the newly updated system I get only:

    [12095.359150] sdb: sdb1
    [12095.359219] sd 9:0:0:0: [sdb] Attached SCSI removable disk

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Connell@21:1/5 to thelma@sys-concept.com on Tue Apr 11 22:40:01 2023
    On Tue, 2023-04-11 at 11:28 -0600, thelma@sys-concept.com wrote:
    Does user need to be in group:  plugdev for it to work.

    I'm fairly confident that you do, yes.

    "Udisks uses polkit to handle permissions. Make sure each user is in
    the plugdev group"

    https://wiki.gentoo.org/wiki/Udisks#Configuration

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From thelma@sys-concept.com@21:1/5 to Matt Connell on Tue Apr 11 23:30:01 2023
    On 4/11/23 14:37, Matt Connell wrote:
    On Tue, 2023-04-11 at 11:28 -0600, thelma@sys-concept.com wrote:
    Does user need to be in group:  plugdev for it to work.

    I'm fairly confident that you do, yes.

    "Udisks uses polkit to handle permissions. Make sure each user is in
    the plugdev group"

    https://wiki.gentoo.org/wiki/Udisks#Configuration


    None of my systems have even acct-group/plugdev installed
    and no user is in plugdev group

    Two of the system mounts USB automatically (correctly) when USB is plugged-in, one updated last Dec. and one yesterday.
    Third computer upgraded yesterday but USB doesn't auto-mount automatically.

    One of my remote computer stop automounting USB all of a sudden as well, even though I did not change any setting it happen after I installed gnome-extra/zenity

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Wol on Thu Apr 13 22:40:01 2023
    On Thu, 13 Apr 2023 21:22:42 +0100, Wol wrote:

    Dunno as I'd define it as "works correctly". Works as desired, sure. My system (KDE) throws a pop-up up that says "what do you want to do?".
    That, I think, is the default with which I am quite happy.

    I'd rather (for *KNOWN* usb-sticks) put an entry in fstab.

    KDE has an option to automount known devices when they are plugged in or
    on boot, while others give the popup.


    --
    Neil Bothwick

    The horizon of many people is a circle with a radius of zero. They call
    this their point of view.
    -- Albert Einstein

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEEGfLZTV7dXdQXh/dDdCdyyQfftocFAmQ4Z3cACgkQdCdyyQff tofPUw//QdCR0djiLnbDXweP3sCDnKWZdwl36rQPTCzlqrHHU56zcufrj/okS/H8 TRODrpf3mTaYsyBODcpdKo79Vsk/wPJaqmdv2AvRixvNxoeBNsFmPu/uk8fBfiS/ xSJPbsIr5VJhkATcWK9r8wRY6QLnWHj3Y+MMUubRZaavIubCEbJ+a93JwD0UCGRO rs1sZPs0DKUCADtAkClrKm2qYC2hyffnTgl9uYs+zXuOqx0/pZPS5HnjIIgotS1N EHqqETXmH3niJxggmD+AoFiJDrmsMZuSLy7k1JAslfb7imU/SA2P0vn7ybq/6hoM sjYrZwEPtejjohUVyHgWIZdLSj0vkhqankR/+fTY68srWvSrnt2VKHRrCfba2oIm RBX0OnyT/6xw3SiZwuSi83VM0RtqNQWknS1pwp6mVIN5wSJbefmBDjrlknKzYu92 6sKzCyHnPsNT9yvOYuEJOAel12WPFdtNDrwnSDb0vdeylZhxdepv+T6IGPE8m/JH RuY8qB0OlJC/8tapCqqB6jq8xuZ3/tDqMcO0wYKIO9PUxAtv2ZMAYCcblkNlGeSs fV9O5zcVIql7uV8llVDXv6j/NiRwDCyQU2rc3Fw9Yloe8y2PLZdqe7XMR7SMxvAe HQCYE4JTENIg2bF9EAmhPUabCc5odlsELwQXUAGeimqS3n5a7/s=
    =8XtC
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
  • From Wol@21:1/5 to thelma@sys-concept.com on Thu Apr 13 22:30:01 2023
    On 11/04/2023 18:19, thelma@sys-concept.com wrote:
    Yes, when the usb-icon appears on desktop, right clicking on it allows
    me to mount it.

    On the system that works correctly, when I insert the USB I get:

    Dunno as I'd define it as "works correctly". Works as desired, sure. My
    system (KDE) throws a pop-up up that says "what do you want to do?".
    That, I think, is the default with which I am quite happy.

    I'd rather (for *KNOWN* usb-sticks) put an entry in fstab.

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)