[SOLVED] usb automount in thunar as unprivileged user

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: usb automount in thunar as unprivileged user

Unread post by rhowaldt » Thu Jan 14, 2016 8:11 am

wow. thats one of the best support posts ive read. *slow clap*
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
Snap
Sperminator
Posts: 189
Joined: Sun Oct 05, 2014 8:11 pm

Re: usb automount in thunar as unprivileged user

Unread post by Snap » Thu Jan 14, 2016 8:36 am

Quite a lot of rubbish for something that can be scripted in bash and executed automatically.
Amen to that.

eat64sgs
Saltimbocca-Roller
Posts: 15
Joined: Sat Jan 02, 2016 1:37 pm

Re: usb automount in thunar as unprivileged user

Unread post by eat64sgs » Thu Jan 14, 2016 9:16 am

Thank you for your extensive answer.

Of course thunar-volman is installed and the options are set. Next I will check the installation of the other packages.


And I will heed your advice.

eat64sgs

eat64sgs
Saltimbocca-Roller
Posts: 15
Joined: Sat Jan 02, 2016 1:37 pm

Re: usb automount in thunar as unprivileged user

Unread post by eat64sgs » Thu Jan 14, 2016 12:55 pm

Hello machinbacon,
thank you for the extensive answer.
I will check the installed packages. Perhaps there is something missing. But not before weekend.
I will also heed your advice.
Best regards

eat64sgs

eat64sgs
Saltimbocca-Roller
Posts: 15
Joined: Sat Jan 02, 2016 1:37 pm

Re: usb automount in thunar as unprivileged user

Unread post by eat64sgs » Thu Jan 14, 2016 1:00 pm

I am sorry for my last post, but the post I wrote before in my last login session was not visible after submittin. So I answered again.

eat64sgs

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: usb automount in thunar as unprivileged user

Unread post by pidsley » Thu Jan 14, 2016 2:02 pm

I do not care about automounting usb sticks, but if I did, I'd use usbmount.

https://packages.debian.org/sid/usbmount

eat64sgs
Saltimbocca-Roller
Posts: 15
Joined: Sat Jan 02, 2016 1:37 pm

Re: usb automount in thunar as unprivileged user

Unread post by eat64sgs » Thu Jan 14, 2016 6:58 pm

So, I checked installed packeges. And what a mistake: I confounded libpolkit with policykit-1.

I installed policykit-1, and now mounting as unprivileged users and shutdown from lightdm work. YEAHH!

Only one thing is left: shutdown and reboot as user without password. But I think I can solve it soon.

Thank you all for your help.

eat64sgs

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: usb automount in thunar as unprivileged user

Unread post by machinebacon » Thu Jan 14, 2016 8:33 pm

rhowaldt wrote:wow. thats one of the best support posts ive read. *slow clap*
So much about the page break quote rule :D
..gnutella..

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: usb automount in thunar as unprivileged user

Unread post by machinebacon » Thu Jan 14, 2016 8:34 pm

eat64sgs wrote:So, I checked installed packeges. And what a mistake: I confounded libpolkit with policykit-1.

I installed policykit-1, and now mounting as unprivileged users and shutdown from lightdm work. YEAHH!

Only one thing is left: shutdown and reboot as user without password. But I think I can solve it soon.

Thank you all for your help.

eat64sgs
You edited some files manually, maybe there's the foul egg somewhere. I guarantee that these things worked on a fresh install noX -> XFCE4 with the instructions posted. Else I wouldn't have posted it.
..gnutella..

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: [SOLVED] usb automount in thunar as unprivileged user

Unread post by rhowaldt » Fri Jan 15, 2016 4:03 pm

^^ hahaha oh fuck i didnt notice :D
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
Launfal
Dirty Laundry
Posts: 141
Joined: Tue Mar 04, 2014 12:50 am
Location: Ohio, USA

Re: [SOLVED] usb automount in thunar as unprivileged user

Unread post by Launfal » Mon Feb 01, 2016 12:45 am

I'm a pmount guy myself. Any time I need a file manager (which is never since I found the grill) I was using mc, but I've been playing around with vimfm and trying to figure that out.

Pointing and clicking to manage my files is something I don't see myself ever doing again.

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: [SOLVED] usb automount in thunar as unprivileged user

Unread post by pidsley » Mon Feb 01, 2016 12:56 am

Launfal wrote:I'm a pmount guy myself.
I used pmount for a little while. Then I gave sudo users no-password access to mount and umount and removed pmount.

/etc/sudoers (use visudo) :

Code: Select all

%sudo   ALL=NOPASSWD: /bin/mount, /bin/umount
I have aliases for "sudo mount" and "sudo umount" so I don't have to type the full commands, and they don't require a password.

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: [SOLVED] usb automount in thunar as unprivileged user

Unread post by rhowaldt » Mon Feb 01, 2016 1:35 pm

^ this.
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

Post Reply