You are not logged in.

#1 2012-05-02 07:25:38

beej
Member
From: Bend, OR
Registered: 2009-01-27
Posts: 22
Website

[SOLVED] xdm + fvwm + thunar + mounting external media

additional keywords: usb thumb drive

This broke recently for me in a couple ways.  The solution I came up with is:

  1. Install polkit-gnome (apparently thunar wants this now)

  2. Make sure polkit-gnome-authentication-agent-1 runs

    I added this to my .fvwm/config init:

    + "I"	Exec exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

    It'll just fail to launch if it's already running, no problem.  At this point, if it was working before, thunar usb drive mounting should work again, but you'll be prompted for your password to mount and unmount.

  3. From the previous breakage a few months ago, you might already have a file like this: /etc/polkit-1/localauthority/50-local.d/50-filesystem-mount.pkla. It might mention something about "udisks". You'll want to change it to say "udisks2" instead. Comme ci:

    Identity=unix-group:storage
    Action=org.freedesktop.udisks2.*
    ResultAny=yes
    ResultActive=yes
    ResultInactive=yes

    And you must be in the "storage" group for this to work, obviously.

If anyone has any more hints or better ways to do this, let me know.

Offline

Board footer

Powered by FluxBB