You are not logged in.

#1 2016-04-24 23:43:35

tinko992
Member
Registered: 2016-03-03
Posts: 9

Awesome WM/Session/mounting devices

Good morning/day/night to the global arch community.

I'm very happy with my arch install and my awesome wm except for one thing. I'm unable to mount devices through nautilus or pcmanfm. A search pointed me towards polkit and session issues and one fix I tried was installing polkit-gnome-authentication-agent-1, but running it causes a

"Unable to determine the session we are in: No session for pid 20204"-error.

A lot of fixes I found are related to console kit but I understand that those are outdated. What is the correct way to have awesome start a session that allows me (a user in the wheel and storage groups)  to mount file systems through graphical file browsers?

I'm aware that I can look for automount options and that I can mount throught the shell, but for certain workflows I'd like to be able to mount through graphical file browsers.

Offline

#2 2016-04-24 23:52:44

headkase
Member
Registered: 2011-12-06
Posts: 1,976

Re: Awesome WM/Session/mounting devices

What is the content of your "/etc/fstab" file?  Redact any hard-coded usernames and passwords.

A flag in a fstab entry that is useful is "users" with an s.  With that flag, if the mountpoint is within your home directory then you do not need elevated permissions to mount or unmount it.

Offline

#3 2016-04-25 06:30:57

tinko992
Member
Registered: 2016-03-03
Posts: 9

Re: Awesome WM/Session/mounting devices

Thank you very much for your reply.

Tbh, my fstab does not contain any entries related to those drives. I assumed (without proper thought) that the internal drives which are not automounted are like USB devces in the sense that there is nothing to (specifically and statically) say about them in the config files. So my fstab is

UUID=fbab23ed-4c89-4edb-b854-273268e7075a	/         	ext4      	rw,relatime,data=ordered	0 1
UUID=8029-14D1      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro	0 2
UUID=a58c8164-0ef1-4dc1-9259-ed580b1ec419	/home     	ext4      	rw,relatime,data=ordered	0 2

After reading your post I connected some external drives and it turned out that I can mount and unmount them using a graphical file browser, so I guess I was wrong. I'll try to add entries for the internal drives to the fstab and I'll edit this post if this turns out to be the solution.

Offline

Board footer

Powered by FluxBB