You are not logged in.
I installed Devuan Ascii 32 bit and Openbox this morning. I have been having an issue mounting my external hard disk: I use PCMANFM and click on my external drive. I'm told: "Not authorized to perform this operation". I've usually make myself part of the "wheel" group, but that doesn't seem to exist.
I just want to open PCMANFM, click on the external disk, and access my files. I really don't want to go to the command line and sudo mount/umount.
How can I automate the mounting of external devices?
Thanks!
Offline
I am assuming you may be running xfce or lxde with ob, this will work for xfce with openbox, slightly different with lxde. Will depend on which polkit your install is using.
Try installing gvfs if not installed. Secondly check autostart in home/ user/.config/openbox/autostart and see if the line of code is present.
/usr/libexec/polkit-gnome-authentication-agent-1 &
This should allow you to access your drives with a reboot.
zephyr
Last edited by zephyr (2018-05-25 11:20:58)
CROWZ
easier to light a candle, yet curse the dark instead / experience life, or simply ...merely exist / ride the serpent / molon labe / III%ers / oath keepers
Offline
In my experience, pcmanfm is not a good choice for devuan.
Nice minimal way to access your drives would be to install the spacefm file mananger and udevil.
https://ignorantguru.github.io/spacefm/
https://ignorantguru.github.io/udevil/
Otherwise thunar file manager and gvfs.
Offline
Thanks for replying so quickly.
I've got usr/libexec/polkit-gnome-authentication-agent-1 & in my autostart - no joy
gvfs is already at the newest version, as is udevil
I've tried thunar and configured it to automount - no joy
I didn't install a desktop at all: I didn't use the graphical install, and I deselected the desktop options on tasksel. But I kept the system tools. I installed openbox from the command line after the install had finished. I also installed lightdm so that I go straight into openbox. I suppose that all this might have something to do with it.
Last edited by stroudmw (2018-05-25 11:30:39)
Offline
gparted also won't run.
Offline
Is gnome polkit installed though?
Offline
If you have udevil installed, you can access your drives from the commandline, atleast i would hope you can.
just an example = udevil mount /dev/sdx /media (or /mnt)
find your drives with cmd in terminal lsblk --fs
then udevil mount /dev/sdx x denotes drive letter.
Give it a try and post back your outcome.
Last edited by Panopticon (2018-05-25 12:25:16)
Offline
Agree with Panopticon policykit-1-gnome needs to be installed.
cheers
zephyr
CROWZ
easier to light a candle, yet curse the dark instead / experience life, or simply ...merely exist / ride the serpent / molon labe / III%ers / oath keepers
Offline
gparted also won't run.
pkexec was not working properly from the menu . There is a fix coming up in the RC2. In the meantime gksu works just fine.
Offline
Thanks so much! I'll have to wait until Monday to give it another try. I'm not really a fan of "desktops" (although I do have XFCE running on one pc). I much prefer a windows manager, and I've gotten to know how to make openbox behave the way I like it to.
Offline
still not working. A workaround is to mount it every time to /mnt/sdb1. I did chown mike /mnt/sdb1 and that seems to have worked.
btw: my /usr/libexec/polkit-gnome-authentication-agent-1 is actually /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 and I haven't got a /usr/libexec directory.
Offline
Not an actual solution and i think it has been mentioned before but i think SpaceFM (which is based on PCManFM iirc) + udevil should work.
Offline
You say the wheel group does not exist which is a little strange.
Maybe create it.
#groupadd wheel
#gpasswd -a (user) wheel
I think this is correct commands, working on my terminal.
# denotes being root user.
Last edited by Panopticon (2018-05-27 12:06:05)
Offline
Ok... I got it:
When I installed Devuan Ascii, I didn't select to install any of the desktops as I wanted to install Openbox afterwards using his link:
https://devuan.org/os/documentation/dev … nbox-guide
I've just done a fresh install, this time selecting the desktop, and it works! Clearly the desktop option installs some dependencies that are missing from the Openbox installation.
I'd like to thank all of you for taking the time to help me!
Cheers,
Mike
Offline
Clearly the desktop option installs some dependencies that are missing from the Openbox installation.
Just for the record: Those dependencies are not missing in the case of Openbox. Openbox is very much nothing but a window manager. It is not a desktop environment. So there is no need for it to depend on anything required to handle removable media as a non-privileged user.
Last edited by msi (2018-05-28 12:28:31)
Offline
stroudmw wrote:Clearly the desktop option installs some dependencies that are missing from the Openbox installation.
Just for the record: Those dependencies are not missing in the case of Openbox. Openbox is very much nothing but a window manager. It is not a desktop environment. So there is no need for it to depend on anything required to handle removable media as a non-privileged user.
If they are missing very much depends on view point but i agree. I'd be quite annoyed to put it lightly if IceWM (or any window manager for that matter) started pulling in dependencies like polkit or even yike gnome stuff.
Offline
msi wrote:stroudmw wrote:Clearly the desktop option installs some dependencies that are missing from the Openbox installation.
Just for the record: Those dependencies are not missing in the case of Openbox. Openbox is very much nothing but a window manager. It is not a desktop environment. So there is no need for it to depend on anything required to handle removable media as a non-privileged user.
If they are missing very much depends on view point but i agree. I'd be quite annoyed to put it lightly if IceWM (or any window manager for that matter) started pulling in dependencies like polkit or even yike gnome stuff.
Excellent point!
Offline