Hi all.
I keep Artix updated every day.
Before the last update when I insert a microsd into the usb reader, I look the new device in the list of devices (in the left column).
When I click on the new device, the sd card is mounted under /run/media/....
After latest update thunar doesn't show the inserted sd card in the left list.
Event PCManFM has the same problem.
So I think the matter is in the dbus environment.
The "service" delegated to manage this I think is udisks2 (udisksd)
When I try "udisksctl monitor" command I get
Error connecting to the udisks daemon: Errore nel chiamare StartServiceByName per org.freedesktop.UDisks2: Failed to execute program org.freedesktop.UDisks2: Permission denied
My user is oart of this groups
uid=1000(mauro) gid=1000(mauro) gruppi=1000(mauro),979(docker),986(uucp),987(storage),991(lp),992(kvm),994(input),995(disk),998(wheel),999(adm),1001(sudo),1002(libvirt)
Thanks all
MZ
Is it the same with other usb keys ?
What is the file format on the microsd, fat or ext4 ?
Can content be accessed with root (sudo) privileges ?
I get the same problem with UPower service too
I found one difference comparing two pc with Artix.
It is a permissions/ownership problem
On the faulted pc
drwxr-x--- root root /usr/share/polkit-1/rules.d
On the working pc
drwxr-x--- root polkitd /usr/share/polkit-1/rules.d
But udisks2 and upower keep give me error: Permission Denied.
I restarted manually polkitd but the error remain.
Even if I plug a usb stick thunar doesn't show the stick
Hello,
A question of privileges?
Here is what I have :
groups jp
log network scanner power users wheel audio optical uucp lp storage video autologin cups trusted fuse jp
Thanks for the answer.
I think it is a problem on the order of starting services.
In this pc I get many error on elogind
[ 9.863968] elogind[1751]: Failed to connect to system bus: No such file or directory
[ 9.863974] elogind[1751]: Failed to fully start up daemon: No such file or directory
[ 9.867631] elogind[1758]: Failed to connect to system bus: No such file or directory
[ 9.867635] elogind[1758]: Failed to fully start up daemon: No such file or directory
[ 9.871325] elogind[1761]: Failed to connect to system bus: No such file or directory
[ 9.871329] elogind[1761]: Failed to fully start up daemon: No such file or directory
[ 9.875145] elogind[1763]: Failed to connect to system bus: No such file or directory
[ 9.875149] elogind[1763]: Failed to fully start up daemon: No such file or directory
[ 9.879266] elogind[1767]: Failed to connect to system bus: No such file or directory
[ 9.879272] elogind[1767]: Failed to fully start up daemon: No such file or directory
[ 9.894213] elogind[1784]: Failed to connect to system bus: No such file or directory
[ 9.894218] elogind[1784]: Failed to fully start up daemon: No such file or directory
[ 9.897883] elogind[1789]: Failed to connect to system bus: No such file or directory
[ 9.897887] elogind[1789]: Failed to fully start up daemon: No such file or directory
[ 9.901589] elogind[1794]: Failed to connect to system bus: No such file or directory
[ 9.901593] elogind[1794]: Failed to fully start up daemon: No such file or directory
[ 9.905416] elogind[1797]: Failed to connect to system bus: No such file or directory
[ 9.905420] elogind[1797]: Failed to fully start up daemon: No such file or directory
[ 9.921105] elogind[1808]: Failed to connect to system bus: No such file or directory
[ 9.921111] elogind[1808]: Failed to fully start up daemon: No such file or directory
[ 9.925367] elogind[1815]: Failed to connect to system bus: No such file or directory
[ 9.925371] elogind[1815]: Failed to fully start up daemon: No such file or directory
Maybe the problem is on polkitd service.
I miss polkitd process from `ps aux`
Although I don't remember polkit being needed for plug-n-play mounting, except for when dbus wants permissions, you can still try.
Grep simply for 'polkit', if you don't have any, or if your desktop doesn't provide any, easiest way just is to install lxqt-policykit and execute lxqt-policykit-agent.
When I try `udisksctl monitor` polkitd should start. I try this on other PC.
As I can see, polkit is not started so udisksctl fails
I think it is a permission problem, but I don't find where is it. Damn
I try to start polkitd by hand using dbus-send as root user
dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName string:org.freedesktop.PolicyKit1 uint32:0
Give me "permission denied"
which has what desktop?
You don't need to do all that, try as explained above, just launch any policykit agent to try, it should pull along polkitd with it.