Re: Automatically mounting USB sticks

Michael <[email protected]>
Newsgroups gmane.linux.gentoo.user
Message-ID <5978468.DvuYhMxLoT@rogueboard>
On Friday, 20 March 2026 16:57:08 Greenwich Mean Time Dr Rainer Woitok 
wrote:
> Michael,
> 
> On Wednesday, 2026-03-18 22:09:59 +0000, you wrote:
> > ...
> > AFAIK it's usually a desktop functionality.  If you use Plasma
> > launch
> > SystemSettings, go to 'Disks & Cameras' and select your preferred
> > device auto- mount behaviour.
> 
> Well, I'm using Xfce, but the corresponding settings are enabled.
> 
> > If you are using a stripped down desktop rather than a full DE, then
> > a combo of a udev rule with /usr/bin/udisksctl should be able to
> > achieve the same.
> Good point:
> 
>    $ udisksctl status
>    Error connecting to the udisks daemon: Error calling
> StartServiceByName for org.freedesktop.UDisks2: Process
> org.freedesktop.UDisks2 received signal 5 $
> 
> So after lots of searching, trying and head scratching I again
> downgrad- ed "sys-fs/udisks"  and one of its dependencies 
> ("sys-apps/util-linux") which had been upgraded together with it  and
> rebooted using my previous kernel where everything had worked up to
> now, but to my big surprise now any call to "udisksctl" with some
> argument  produces the same error mes- sage as above and nothing is
> mounted!
> 
> What's going on here?  Malfunctioning hardware?   Or one of the other
> 64 packages I upgraded on Tuesday?  But which one?
> 
> Befuddled,
>   Rainer

I assume your services start up without errors at boot and syslog/dmesg 
do not complain.

Is polkit (or should it be xfce-polkit) running to help you authenticate 
fully on your desktop?

ps axf | grep polkit

Other than the above I'm not sure what else it could be.  :-/
signature.asc (application/pgp-signature, 870 B)
-----BEGIN PGP SIGNATURE-----

iQJPBAABCAA5FiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmm9f9IbFIAAAAAABAAO
bWFudTIsMi41KzEuMTEsMiwyAAoJELHqqvbClWcZz3kP/Rx/Opt5vh0CsLpkHi3y
YMu5lVsKUjaG+eKlDNshZhx6tfhImvOWgubAOjXHsNIOD6pLV1WFqJJp8eiOFWz4
LVRTIGkZeOjNgYNuf9WVaq+SjepjvbYlyx5EIQ31rx82JD1SQTIsCpQWqkRBBUz3
6S54+dqsui7X3Fxcp9F5cA4TpfCag2OUUyyZ4qa8j71EzFn/yb0LzQkapMWR7Jj+
Esq58CYvPSNBM6q9T7ev7fQMXSvskZRax7cjxEjPev/cjjrvP0OD8VGNS/R+3+YG
Llgc6sF2+hk00LDQp83nCxu5Oo1Bf5cVSxytOHGUalHXt09YEHYKmUamGIh3dwng
2L2wY1s7qpAhBJ2Il8vBozIZr8DesyE78Y2cwHRTxfjgaW6mZxQl1BWRAnQijGnQ
JXpntbEGORyczlVJK1cGqqg+lS6te52MHhkaoSf219RIszyOfHYWgweo45Wgr/yZ
YRL/RTIVHDOC3/9mIH5xh+cDBGI169tc3+ZP1TAN10F+19l1cXRY6qXct3s/HKBT
ZUCzncGyeVpA5gAGsMFicOXLQ/yqfM8IlTsSTNedlUfeyu/JzISw/ojnZbkHKjco
wTVZRgw953MdzE3hzWAxglQ864cUaMpH0+58xoKUTd1v+azLfkr5Cg1lUVUTTn5c
ZwByuWG97azM3TkWeN+o+7XP
=HgIs
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.