Streaming from Windows File Server FAIL

*nix specific usage questions
JuanPabloCuervo
Blank Cone
Blank Cone
Posts: 42
Joined: 25 Jun 2010 18:27

Streaming from Windows File Server FAIL

Postby JuanPabloCuervo » 09 Dec 2021 15:03

Hi...

i have 2 machines:
1x Linux Samba
1x Windows8.1x64

Windows has activated Samba1,2&3 in Powershell.

when i play a video file "stream" in Windows VLC from Linux HDD/SSD, Works Ok.
WindowsKey+R
type: \\ip.
search file, click play with Windows VLC

Windows can see Linux Shared Samba Folders,
Play / Stream Ok.

when file is on external USB drive or another Ext4 HDD/SSD owned by other username.
i need to add/create manually the Samba Network Drive
$ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup
$ sudo nano /etc/samba/smb.conf
add at the bottom

Code: Select all

[Name] comment = name path = "/media/USB drive name/folder name" writeable = yes guest ok = yes create mask = 0777 directory mask = 0777 force user = username
Ctrl+X
Y
$ sudo systemctl restart smbd

PROBLEM:
to do the opposite...
play/stream a file in Linux_VLC from a Windows HDD/SSD Shared Network Folder...

Linux requires to "Add a Network Folder", "Microsoft Windows Network Drive", in Dolphin File Explorer.
Name to display in Linux Network File Explorer
\\ip. or windows machine name
shared folder name
DONE...
Works.

i can see Windows Shared Folders in Linux Network File Explorer...
i can copy, move, delete, create folders, open text files, open photos...
BUT...
VLC cannot play audio Nor video files..

when i try to play a .mp3 or .mp4 or .mkv or .mka from Windows Network Drive Shared Folder in
Linux VLC
will copy the file from Windows machine to Linux:
/home/username/.cache/kioexec
folders and files have Read, Write, Execute
$ ls -l -h -a
i have installed latest Snap VLC for Kubuntu 20.10 Groovy Gorilla.

VLC cannot play/stream/read file,
cannot access file, does Not have permit.
-- logger module started --
filesystem error: cannot open file /home/username/.cache/kioexec/krun/101487_0/abcdef.mp3 (Permission denied)
-- logger module stopped --

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Streaming from Windows File Server FAIL

Postby Rémi Denis-Courmont » 09 Dec 2021 16:28

This is a security feature of Snap, as designed by Canonical. Nothing to do about it. If you need VLC to access arbitrary files, you must use the regular (Deb) package instead of Snap.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

JuanPabloCuervo
Blank Cone
Blank Cone
Posts: 42
Joined: 25 Jun 2010 18:27

Re: Streaming from Windows File Server FAIL

Postby JuanPabloCuervo » 10 Dec 2021 20:39

Snap also does Not work with vlc-plugin-jack.
Snap Store App allows to change security settings of VLC, but ... without jack plugin is useless to me.
Vlc also cannot be run in root / sudo mode.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 23 guests