View previous topic :: View next topic |
Author |
Message |
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2315 Location: Bretagne
|
Posted: Sat Nov 23, 2024 5:21 pm Post subject: pcmanfm - removable devices not mounting and showing up |
|
|
Hello!
I'm using pcmanfm with LXDE.
I have udisks installed and globally enabled as USE flag.
Basically, I would just want to have my USB drives to automount and show up in pcmanfm window.
Let's grab an example with a USB drive, here's the fstab part:
Code: | /dev/kingston16G1 /mnt/usbdrive/kingston1 vfat rw,user 0 0 |
There, adding the "auto" option before "rw,user" doesn't change a thing
And this is my .xinitrc if that helps:
Code: | exec startlxde
xset -dpms
xset s off |
I still have to precise that in pcmanfm settings, all the relevant auto-mounting options are properly ticked.
Do we have pcmanfm users who could give me a clue about this, browsing arch and more documentation on the internet didn't help much.
Many thanks in advance for your help! |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3920
|
Posted: Sat Nov 23, 2024 11:50 pm Post subject: |
|
|
pcmanfm doesn't mount according to fstab.
Hence an example:
Inserting USB key triggers a popup menu to validate the mounting.
Once accepted, pcmanfm mounts volume(s) as; Code: | /run/media/user/UEFI_NTFS
/run/media/user/CCCOMA_X64FRE_FR-FR_DV9 | Plz note how volumes paths are relative to logged user.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3920
|
Posted: Sun Nov 24, 2024 12:05 am Post subject: |
|
|
Dependent packages details:
Code: | x11-libs/libfm
Available versions: (~)1.3.2-r1(0/5.3.1) {+automount debug doc examples exif gtk udisks vala}
Installed versions: 1.3.2-r1(0/5.3.1)(19:30:11 16/08/2024)(automount exif gtk udisks -debug -doc -examples -vala) |
Code: | [I] sys-fs/udisks
Available versions: (2) 2.9.4-r3 2.10.1 2.10.1-r1 [m]**2.10.90[1]
{acl +daemon debug elogind +introspection lvm nls selinux systemd vdo zram}
Installed versions: 2.10.1-r1(2)(02:10:17 22/10/2024)(daemon elogind -acl -debug -introspection -lvm -nls -selinux -systemd)
|
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3920
|
Posted: Sun Nov 24, 2024 12:24 am Post subject: |
|
|
U have problematic .xinitrc.
Any line beyond exec will not be executed.
Here Code: | exec dbus-launch --sh-syntax --exit-with-session startlxde | may be required for working USB automount.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2315 Location: Bretagne
|
Posted: Sun Nov 24, 2024 5:50 pm Post subject: |
|
|
Thank you, dear CaptainBlood!
This seems in order:
Code: | [ebuild R ~] x11-libs/libfm-1.3.2-r1:0/5.3.1::gentoo USE="automount exif gtk udisks -debug -doc -examples -vala" 1 265 KiB
[ebuild R ] sys-fs/udisks-2.10.1-r1:2::gentoo USE="acl daemon elogind introspection nls -debug -lvm (-selinux) -systemd" 0 KiB |
And added to my .xinitrc
Code: | exec dbus-launch --sh-syntax --exit-with-session startlxde |
But nothing happens either when inserting a drive.
CaptainBlood wrote: | U have problematic .xinitrc.
Any line beyond exec will not be executed. |
You mean my xset lines are useless here or should be put before the exec line, right?
I forgot to mention something important: in the left panel of pcmanfm windows there is a "device" folder in which will appear removable drives inserted, I can see them as icons among other filesystems but if I try to click these I get an error message on a popup window: "The folder "computer:///<mydrive>.drive" indicated is not valid". Can't open it. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3920
|
Posted: Sun Nov 24, 2024 6:17 pm Post subject: |
|
|
Adrien wrote: | CaptainBlood wrote: | U have problematic .xinitrc.
Any line beyond exec will not be executed. |
You mean my xset lines are useless here or should be put before the exec line, right? | Yes
Do you have any message in console 12 when you insert a drive?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2315 Location: Bretagne
|
Posted: Sun Nov 24, 2024 6:29 pm Post subject: |
|
|
CaptainBlood wrote: |
Do you have any message in console 12 when you insert a drive?
|
Nope, just a blinking cursor all the way.
But my device gets detected fine, I can manually mount and unmount as user or root. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3920
|
Posted: Mon Nov 25, 2024 2:06 pm Post subject: |
|
|
Oops; I forgot to mention this one Code: | eix gvfs
[I] gnome-base/gvfs
Available versions: 1.52.2^t ~1.52.3^t [m]~1.56.0^t[1] {afp archive bluray cdda elogind fuse gnome-online-accounts google gphoto2 +http ios keyring mtp nfs policykit samba systemd test +udev udisks zeroconf}
Installed versions: 1.52.2^t(04:32:31 28/06/2024)(elogind fuse policykit udev udisks -afp -archive -bluray -cdda -gnome-online-accounts -google -gphoto2 -http -ios -keyring -mtp -nfs -samba -systemd -test -zeroconf) |
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2315 Location: Bretagne
|
Posted: Tue Nov 26, 2024 5:54 am Post subject: |
|
|
Code: | [I] gnome-base/gvfs
Available versions: 1.52.2^t ~1.52.3^t {afp archive bluray cdda elogind fuse gnome-online-accounts google gphoto2 +http ios keyring mtp nfs policykit samba systemd test +udev udisks zeroconf}
Installed versions: 1.52.2^t(23:23:16 03/05/2024)(cdda elogind gphoto2 http policykit udev udisks -afp -archive -bluray -fuse -gnome-online-accounts -google -ios -keyring -mtp -nfs -samba -systemd -test -zeroconf) |
This seems correct too.
I may have to switch to another DE/WM...
Do you have any successful experience of using another file manager with lxde? May be complicated to set up, though. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3920
|
Posted: Tue Nov 26, 2024 1:30 pm Post subject: |
|
|
Do you have kernel CONFIG_FUSE_FS activated?
Do you have elogind in rc-service?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3920
|
Posted: Tue Nov 26, 2024 3:13 pm Post subject: |
|
|
Code: | eix util-linux
[I] sys-apps/util-linux
Available versions: 2.39.3-r2^t 2.39.3-r7^t 2.39.4-r1^t ~2.40.1-r3^t 2.40.2^t **9999*l^t {audit build caps +cramfs cryptsetup fdformat +hardlink kill +logger magic ncurses nls pam python +readline rtas selinux slang static-libs +su +suid systemd test tty-helpers udev unicode uuidd verify-sig ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" PYTHON_TARGETS="python3_10 python3_11 python3_12"}
Installed versions: 2.40.2^t(22:37:53 11/11/2024)(logger ncurses pam su suid unicode verify-sig -audit -build -caps -cramfs -cryptsetup -fdformat -hardlink -kill -magic -nls -python -readline -rtas -selinux -slang -static-libs -systemd -test -tty-helpers -udev -uuidd ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" PYTHON_TARGETS="python3_11 -python3_10 -python3_12") | the point above could be "pam".
Code: | eix sys-auth/polkit
[I] sys-auth/polkit
Available versions: 123-r1^t [M]124-r1^t [M]~125^t [M]125-r1^t [M]**9999*l^t [M]**9999-r1*l^t {+daemon +duktape examples gtk +introspection kde pam selinux systemd test}
Installed versions: 123-r1^t(23:03:00 10/11/2024)(daemon gtk introspection pam -examples -kde -selinux -systemd -test)
Homepage: https://www.freedesktop.org/wiki/Software/polkit https://github.com/polkit-org/polkit
Description: Policy framework for controlling privileges for system-wide services |
I remember having a hard time setting it to no more than what is required...EDIT: Not sure that is where I am now...
And I didn't kept what had 2 be done .
As of today wiki isn't any help.
I know it is a stub,EDIT BS assertion removed
As far as DE are concerned, have you tried lxdm? It's the one I"ve mostly been using as a daily driver.
KDE doesn't mount here.
GNOME mounts with no prompt.
Openbox behaves same as LXDE, i.e. prompts for mount.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
|