-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VLC has no access to a mountpoints like ZFS filesystem mountpoint #11
Comments
That I am using this file manager to open a video file (is opened in a VLC). I do not remember enabling any sandbox. No SELinux, no AppArmor service running. I am not having Arch Linux and your AppImage mentions it in its name. Maybe your AppImage is incompatible with a Debian 11 (amd64 x86_64) + KDE. :-S This AppImage worked for me: https://github.com/cmatomic/VLCplayer-AppImage btw... |
I use Debian Testing, XFCE. No issues here. And the fact that it is an Archlimage, means that this is an Arch Linux container into an AppImage, and this made it compatible with all distros, also with the old kernel 2.6x, of 10 years ago. The fact that it can't acceede to XDG directories is new to me. |
About Archimage, it uses its internal copy of BubbleWrap to bind/mount a selected range of directories
so /home is already among the mounted directories. I don't know if this depends on whether BubbleWrap is installed on your system or not. |
@ivan-hc I am sorry confusing You! I have found that it indeed opens and plays file from /home/user/desktop and from /tmp It only does not display mountpoints like zfs: mount:
other AppImage (older VLC version) https://github.com/cmatomic/VLCplayer-AppImage displays these mountpoints well... |
so this is an issue with mountpoints then try to extract the AppImage and edit the last line of the AppRun from this
to this
and be sure that the related directory is in squashfs-root/.junest, the latter is an hidden directory, wiith a dot. |
and then run the AppRun script, from terminal |
to extract the AppImage, use the command |
$ apt search BubbleWrap
|
why you run the AppRun with sudo? Are you doing the same with the AppImage? You don't need sudo at all. |
just a layman action, since it complained about permissions. But my AppImage (which fails as I have described in above posts) is ran without sudo, I have mentioned removing /dev/shm from AppRun file, so it no longer complained about insufficient permission, allowing me to run ./AppRun without sudo prefix. This is interesting to me:
|
maybe you had to --bind-try /dev /dev |
once you use do a test |
yes, this alone make AppImage run, but does not display content of the said ZFS mountpoints nor of the gray folders as shown in my previous posts with a screenshot. If you can use messenger https://getsession.org we can talk there. Btw. maybe you can use following in AppRun, since it may automatically detect user mountpoints?
Binding the following paths: --bind-try /run/user/1000 --bind-try /mountpointname1 --bind-try /poolname --bind-try /mountpointname2 yet, in my case it complained: That mountpoint had 777 permission and ownership by my current regular user/group. I have tried to set it to 755 as other mountpoint2 (which content previously loaded in VLC), yet it does not prevent permission denied, chmod 755,777 on the .junest/mymntpointname1 does not fix it either. What helped to that permission denied issue: |
I suggest to to fork this repo and test the changes in your fork, because its totally different to compile this kind of AppImage on your PC or on GH actions:
|
just seen that you forked the repo, contact me here in case of problems |
Why not using --bind-try instead of checking each folder/mountpoint existence and then doing --bind ? The "try" option cause "rather than failing, the command will succeed, and the bind mount will simply not occur." Can I change that? If you can, message me on Session. |
sure, you can, this is a change I discovered too late, and I have 70+ repositories like this, I had not much time to care all of them...this is why I don't create many appimages as before |
Running the built AppImage returns: After extracting that file and running ./squashfs-root/AppRun , it runs without problem and i can access that mountpoint (it is that ZFS one). The file ./squashfs-root/AppRun contains: The "stat" command on /mountpointname1 returns: and "mount" command returns: "ls -ld /mountpointname1" command returns: so I assume it is not a read only filesystem. $ sestatus Runnin AppImage using sudo, returns: $ head -n 4 ./squashfs-root/AppRun
I want to note that helping me can mean spent more time than doing it yourself, I am not a developer and i forget learned things very quickly. |
the above means already to be a developer better than me, I'm not a developer neither, and this is fun |
That mount command is a ChatGPT work ( https://pizzagpt.it/en OR https://chatgptfree.ai/ ). |
I need more details on detection of alternative filesystems. Right now I can only test on ext4. Otherwise, I should build another VM with zfs filesystem... or maybe I should change model to build AppImages. |
following your suggestions, I added /dev in the AppRun please, test the new release and let me know |
I have tested. The ZFS mountpoints are still not visible in the listing of the root folder "/" nor in the /dev/disk/by-id/ and similar folders (such folders are empty in VLC, but shows disk names on Linux CLI). /dev/shm content is accessible by VLC ! |
well, I don't know much about zfs. I've tested this on EXT4 and my contributor tested it on BTRFS without problems. I need a structure of the filesystem ZTF, yesterday I've searched more info about the filesystem structure... and I had only reviews -_- " is there a guide or scheme that explain in detail the directories structure? For example /usr /var/ /sbin... ? |
I am on a Session messenger. Regarding a ZFS structure, I have it on external drive/s only and these are mounted to a /mountpointname (in the root directory of the system drive). Here you can read on how ZFS is setup/mounted (search for "mount"). It requires kernel module:
I am layman in this, possibly https://chatgptfree.ai/ knows more than me, but i can test if you need anything. For better communication ideally over mentioned messenger. I will reply once I am near the computer tomorrow. |
I close this issue for inactivity As suggested here, it is better to fork this repo and add the custom mountpoints as you like, and get a new release from there. In case you would install and manage these forks using AM or AppMan, use the option @slrslr thank you for cooperation. Feel free to reopen thi issue in case of you discover other code that we can implement, or let me know if the new release solves this issue completelly... or reopen another issue. See you next. |
Hello,
I have https://github.com/ivan-hc/VLC-appimage/releases/download/continuous/VLC-media-player_3.0.21-2-archimage3.4-x86_64.AppImage
on Debian 11, KDE, Dolphin(file manager)
When I try to open the file from within VLC, then I am unable to browse beyond Downloads folder, other folders are gray/inactive.
File opened via Dolphin file manager:
VLC GUI says:
Your input can't be opened: ...
CLI:
Please how to fix this? Any command line switch to use? AppImage file has executable permission.
The text was updated successfully, but these errors were encountered: