VLC Error: Your input can't be opened

1,066 views
Skip to first unread message

moto...@riseup.net

unread,
Apr 17, 2016, 12:10:10 AM4/17/16
to qubes...@googlegroups.com
VLC is unable to open the MRL
'smb://<ip_address_of_server>/share/path/to/movie.m4v'. Check the log
for details.

I am using a debian-8 cloned appvm to access the share via
Files->Connect to Server->(type in smb://ip_address)-> Connect

I then manually input my credentials to access the share and trying to
play the video using VLC.

It's gotta be a networking issue with the way the appvm accesses it but
I'm not sure how to make it work.

I've tried in VLC going to Tools->Preferences->Input/Codecs->Access
Modules->SMB and putting in my credentials there but no dice.

I went to Media-> Open File and there is no mounted folder that I
connected to earlier with Nautilus...?


Any help and/or advice is greatly appreciated.

Thanks!

Axon

unread,
Apr 17, 2016, 3:54:07 AM4/17/16
to moto...@riseup.net, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

moto...@riseup.net:
> VLC is unable to open the MRL
> 'smb://<ip_address_of_server>/share/path/to/movie.m4v'. Check the
> log for details.
>

Does that log have any useful information?

> I am using a debian-8 cloned appvm to access the share via
> Files->Connect to Server->(type in smb://ip_address)-> Connect
>
> I then manually input my credentials to access the share and trying
> to play the video using VLC.
>

So, the server accepts your credentials and allows you to log in
successfully, right?

Can you download the m4v to the AppVM and try opening it locally with
VLC there? (In other words, is it just a streaming issue, or does it
not even play locally? Do *any* m4v files play locally?)

> It's gotta be a networking issue with the way the appvm accesses it
> but I'm not sure how to make it work.
>

Check your AppVM's firewall rules, and make sure they're permissive
enough.

> I've tried in VLC going to
> Tools->Preferences->Input/Codecs->Access Modules->SMB and putting
> in my credentials there but no dice.
>
> I went to Media-> Open File and there is no mounted folder that I
> connected to earlier with Nautilus...?
>

Not sure I understand this part. Did you mount it manually?

>
> Any help and/or advice is greatly appreciated.
>
> Thanks!
>

If none of the above helps you solve the issue, can you try accessing
the m4v the same way using VLC on baremetal Debian? That would help us
determine whether Qubes is interfering somehow, or whether it's a VLC
or Debian issue.

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXE0EJAAoJEJh4Btx1RPV8b2cP/1XwyNnui9EhAnvGV95AmqtU
9l0rW6unD/kOKtDAnec9kqn3iLaMm02hRatyfAQHX7kwd+kCib8Idb9h/EC6D9lz
EwgdP+i/VNE2RppwQfv2X9cxpBZoZdXu0vMfsen9wMY4yLfNE2kr4FduMffMdjp1
L7hopjoMQTtpt2KLAp83hCW6pBW2BSxlvCG7VVx8Rw90AE+RWdIfKYVXKyrKu3gS
OGWvXWpwBxiJyqMnjoPKHhykeefoMZKTqGhncFqag51NS9KGCGV0XNacy7u61GjA
mRBz7QtR5tJWn01XLy8v4uPgjobBgv/1e0/FMQngz0fD0xgw7zJt76JEW6aW7IKu
94xe1L682tKv66TJFBEnFYnuK3Tf6xgBLmtRJX0Cw91bIKa30J6BobG3IipF+jrB
YIfzcEdc5udtKTSLPRZ/PBJO9nj/Hf0hHfnm8e4NmW0ZCS47Dhrkp5HIOG6JJFyD
fvA6lYqnjDMm3e+4suJcKFvA7q3rH86bX2wtNybA5yoO2NPchu36rVkMrKuJ5Vx8
UbacGLiwB+n3sDRp954nd6tI5sO6UffRzgYIMuuAbS0EeVGbobmHTN6iJ1C98EAv
uJmGefe1MlnI8LBwKBmPFg/IZNg64Y4RdXnZJZ1RlG0anz6WBw1fxhIr08FWzdTK
gQmcMJGS3vl3SL1Be9Tx
=dmjN
-----END PGP SIGNATURE-----

Motorious

unread,
Apr 17, 2016, 3:58:28 PM4/17/16
to Axon, qubes...@googlegroups.com
Q: Does that log have any useful information?
A: I'm not sure which log it is referring to...I looked in /var/log/messages and didn't see anything. Is there a VLC log located somewhere you know of I can look at?

Q: So, the server accepts your credentials and allows you to log in successfully, right?
A: Correct, from Nautilus it does, no problem at all. From VLC, there's no option in the file browser to "connect to server" my Samba server is not "discoverable" on the network so I have to input the IP address manually to connect.

Q: Can you download the m4v to the AppVM and try opening it locally with VLC there? (In other words, is it just a streaming issue, or does it not even play locally? Do *any* m4v files play locally?)
A: VLC plays everything fine locally, it's just not able to access the Samba share.

Q: Check your AppVM's firewall rules, and make sure they're permissive enough.
A: I don't have any firewall rules setup for the AppVM, not even sure how to yet...

Q: Not sure I understand this part. Did you mount it manually?
A: It mounted in Nautilus (not manually), but after I closed the error message, I went to the VLC menu Media-> Open File to browse to the smb share and it wasn't listed. However, it was in Nautilus window in the left pane.

Q: If none of the above helps you solve the issue, can you try accessing the m4v the same way using VLC on baremetal Debian? That would help us determine whether Qubes is interfering somehow, or whether it's a VLC or Debian issue.
A: Sadly, I don't have another computer to try on but before I installed Qubes, I can confirm it did work previously on Ubuntu 14.04, and Debian 8 Jessie bare metal.

Axon

unread,
Apr 17, 2016, 8:57:03 PM4/17/16
to Motorious, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Motorious:
> Q: Does that log have any useful information? A: I'm not sure which
> log it is referring to...I looked in /var/log/messages and didn't
> see anything. Is there a VLC log located somewhere you know of I
> can look at?
>
> Q: So, the server accepts your credentials and allows you to log
> in successfully, right? A: Correct, from Nautilus it does, no
> problem at all. From VLC, there's no option in the file browser to
> "connect to server" my Samba server is not "discoverable" on the
> network so I have to input the IP address manually to connect.
>
> Q: Can you download the m4v to the AppVM and try opening it locally
> with VLC there? (In other words, is it just a streaming issue, or
> does it not even play locally? Do *any* m4v files play locally?) A:
> VLC plays everything fine locally, it's just not able to access the
> Samba share.
>

Ok, so Nautilus can connect, but VLC can't? That sounds like a VLC
problem (unless you have specific firewall rules; see below).

> Q: Check your AppVM's firewall rules, and make sure they're
> permissive enough. A: I don't have any firewall rules setup for the
> AppVM, not even sure how to yet...
>

Qubes Manager -> right click VM -> Edit VM firewall rules

Check whether it's "Allow network access except..." or "Deny network
access except..."

Then check whether there are any entries in the box below. Also make
sure "Allow ICMP traffic" and "Allow DNS queries" are checked, as
needed.

> Q: Not sure I understand this part. Did you mount it manually? A:
> It mounted in Nautilus (not manually), but after I closed the
> error message, I went to the VLC menu Media-> Open File to browse
> to the smb share and it wasn't listed. However, it was in Nautilus
> window in the left pane.
>

This also makes it sound like a VLC problem. You may have more luck
with this on the VLC forums/support/docs.

> Q: If none of the above helps you solve the issue, can you try
> accessing the m4v the same way using VLC on baremetal Debian? That
> would help us determine whether Qubes is interfering somehow, or
> whether it's a VLC or Debian issue. A: Sadly, I don't have another
> computer to try on but before I installed Qubes, I can confirm it
> did work previously on Ubuntu 14.04, and Debian 8 Jessie bare
> metal.
>

If you're willing, you could try on a Debian live CD so that you don't
have to reinstall anything.


(P.S. - Please try to avoid top posting.)
iQIcBAEBCgAGBQJXFDC6AAoJEJh4Btx1RPV8P4EQAK/uEYdWY4ffdBv/4d3jKIsu
8LxEtx9dd7zG2ZqxuFUM0fQnNyVNqOwzp7reOBvK02FdJPwfoqzgSwmM0H6LLjma
+iO/b30YuiZQKsNcdVJ5i9KpY1zmVes40nkI0iafqS0LPlf9VapBZIj1W3JGqTBx
qEIwABuapcnI8jKXn4rbuuLs8taGJQrsmTK0rpbHV+oExyCuuCIu/W85NdowPhb/
ihd6XQUO8DExrqwqcry4kDsv6p1EJPbJArFNT8Ag+xVrK+Jj1NBFL22E07MbNdlG
oBCVSD22Q64lhQEo6JdVDwvoJ0r/+aiU7IwManCRs6hj5D0hKGDxumJ65Oog6WVG
6WQn2zW0FgRSb2Q3WBlMtNYwF9YkbXly1Mp+GbLZLqrtuyzu6IhOGWnWlNhgAQ2s
3rcMNx8Hn/BlXf2+SATSKzwagch4fOpmg2zNH9FLVwuRJDTRN9pGnqAxNc1K3hz+
Ey5drGvCY5cx2T5XIVFZDX8g9XhNbtSPKCsipfy8QDRvjbr4FG/leRxzOm8Ca3Mu
Jhs5BHQtMBjsku6WMP7z53EFsWcYjW9DhOIN65+bDeYfGsMFp3gyTJtfaDeIWYPa
jrMJtz3tmZ8h5XMx0Vv5jbsA50ijRBNWVaqUvL/i8N91nV8xsRP05fHINhmOaKLz
uJMWg/NTecZQyNY5d5ys
=wVIA
-----END PGP SIGNATURE-----

Marek Marczykowski-Górecki

unread,
Apr 18, 2016, 2:56:18 AM4/18/16
to Axon, Motorious, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Mon, Apr 18, 2016 at 12:56:35AM +0000, Axon wrote:
> Motorious:
> > Q: Does that log have any useful information? A: I'm not sure which
> > log it is referring to...I looked in /var/log/messages and didn't
> > see anything. Is there a VLC log located somewhere you know of I
> > can look at?
> >
> > Q: So, the server accepts your credentials and allows you to log
> > in successfully, right? A: Correct, from Nautilus it does, no
> > problem at all. From VLC, there's no option in the file browser to
> > "connect to server" my Samba server is not "discoverable" on the
> > network so I have to input the IP address manually to connect.
> >
> > Q: Can you download the m4v to the AppVM and try opening it locally
> > with VLC there? (In other words, is it just a streaming issue, or
> > does it not even play locally? Do *any* m4v files play locally?) A:
> > VLC plays everything fine locally, it's just not able to access the
> > Samba share.
> >
>
> Ok, so Nautilus can connect, but VLC can't? That sounds like a VLC
> problem (unless you have specific firewall rules; see below).

Or maybe Nautilus doesn't really mount that SMB share, and use gvfs or
sth instead? I remember similar problem with opening photos through
nautilus not long ago.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXFIUJAAoJENuP0xzK19cs+KAH/2Snkey8McmrdSr93kfHdLtj
A5N6elc4mCGvdmYoKf/gLCQm2Pm5GTxLXNRNrN5x/6ZmhtxZqhi8SHDtWnQIPua2
jyXQkysOxk/GE3ZF1GMrkjlXQj11M7jLHsLLTujO63wDie3GC/+Up3QEL3mZ8wGg
hjxZbW36N828J2UGS0aKU2+kWX7ty7NvQqoVH053LGHV4MP9x3nIeSlpPy+5wnHR
M/XS2coCtFjkj002UdJ14r2peoFnpZ5jK8aU4KhEpq6Jp3dfblv7IDQO6R0T1zo8
bBbSuDTzmdo6QNy8UYBWVXuDhblKEKuGhkLJyUFLREJcZ6nhCBTykqkXTM7CUnI=
=cQwS
-----END PGP SIGNATURE-----

moto...@riseup.net

unread,
Apr 18, 2016, 1:08:30 PM4/18/16
to Marek Marczykowski-Górecki, Axon, qubes...@googlegroups.com
Thanks Marek and Axon for your assistance.

Sorry for top-posting earlier, I had to search what that was as I'd
never heard that term before. I guess I need to brush up on my
netiquette.

So I think it's a problem with the way Nautilus is mounting (or not
actually as Marek mentioned) the share as I could not find it when
browsing for the file using VLC's Media-> Open File menu option.

I did a recursive grep from '/' as root for the share folder name and
did not find any folder containing the mount point. I did find a few
files in /home/user/.local (can't remember the sub directories) that
contained the server IP address and mount paths. From what I recall it
had gvs (or something similar) somewhere in the file name. I'll confirm
after work when i can go home and verify.

I'll try from a live usb (no cd-rom drive on laptop) of Debian 8 as time
allows but if it works from a live cd and bare metal the only thing left
would be qubes and how it handles networking and application access,
etc. right?

Could it be a missing package I need to install? I'm assuming of course
that the template-vm does not have all the default packages installed to
conserve space. To be noted, I had to install cifs-utils to be able to
access the share from Nautilus if that has any relevance at all.

I guess if I "really" needed it to work I could manually mount them at
boot using fstab but would prefer to enter my credentials manually so as
not to store them on the file system (i.e. .smb_credentials) as this
machine has full Internet access. Yeah, I might be overly paranoid but
hey, that's why I'm using Qubes and not M$. I checked the firewall rules
for the AppVM and it's wide open, nothing being blocked.

Thanks!
Motorious

Axon

unread,
Apr 18, 2016, 11:49:42 PM4/18/16
to moto...@riseup.net, Marek Marczykowski-Górecki, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

moto...@riseup.net:
> Thanks Marek and Axon for your assistance.
>
> Sorry for top-posting earlier, I had to search what that was as I'd
> never heard that term before. I guess I need to brush up on my
> netiquette.
>
> So I think it's a problem with the way Nautilus is mounting (or not
> actually as Marek mentioned) the share as I could not find it when
> browsing for the file using VLC's Media-> Open File menu option.
>
> I did a recursive grep from '/' as root for the share folder name
> and did not find any folder containing the mount point. I did find
> a few files in /home/user/.local (can't remember the sub
> directories) that contained the server IP address and mount paths.
> From what I recall it had gvs (or something similar) somewhere in
> the file name. I'll confirm after work when i can go home and
> verify.
>
> I'll try from a live usb (no cd-rom drive on laptop) of Debian 8
> as time allows but if it works from a live cd and bare metal the
> only thing left would be qubes and how it handles networking and
> application access, etc. right?
>

I think that would be right. (Or maybe some changes to the Debian
template specifically.)

> Could it be a missing package I need to install? I'm assuming of
> course that the template-vm does not have all the default packages
> installed to conserve space. To be noted, I had to install
> cifs-utils to be able to access the share from Nautilus if that
> has any relevance at all.
>

Possibly, but you should also need the same packages on baremetal
Debian.

> I guess if I "really" needed it to work I could manually mount
> them at boot using fstab but would prefer to enter my credentials
> manually so as not to store them on the file system (i.e.
> .smb_credentials) as this machine has full Internet access. Yeah,
> I might be overly paranoid but hey, that's why I'm using Qubes and
> not M$. I checked the firewall rules for the AppVM and it's wide
> open, nothing being blocked.
>
> Thanks! Motorious
>

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXFaquAAoJEJh4Btx1RPV8IdMP/0PcKq+Wmu8ca/ZK6OYc04s0
gkeAvNfJpEYEjkzMDjFv21cj8x3uCjIEXo0PTg1nOYfCEOTtwLMHKU38sNZl1tCn
BWRMaeVHJ1nBebwIegUHz+PgGx8lRXH4vZf5DerG/nVUAHaQloKoSM3+uouzmnTF
cG68EDYrON9Sq8PTPbk7dfBXX+JdWx7HmizuyJqrjwxeyZGP6Rz7I/2jLgOIxNvc
ojRxrwE/raJ4wGbh1L+8/a9KHqOZnjZmxp1zEtJG1ZndH/2W+0fBAK7Yu5WvqRMr
n38m7p2Rr67TnzM091txOpWSd/GbmJZJjUYrPc9ko5NwxadvA7M4H07PSote+fOh
NN2DmpN5rbXdy8iK430mMHIWqptQvR4o8+ssDjryBaUvidJDs7qggZcRu86talEA
DFdsLHYWD8a+456slSZSFd2hrLE63ZogW+IXsGfKpWO/jtmQCQrHOrXWgeNH/sj5
EExJ9mQNDuzN9TVmA+NJqrAZ7Nvp9gbotZ7GN7giFFkk2QkYOzIKwZbgykUPv+/P
ERdC3dxOb5Qxoxj2ks2WryvxzYArt9jxC0zIhdRzOON0m7toPnqZuyQbYR3GrGvD
TUYzlAEkPoYpdoAiwGSvozLRqSARPSkknaJ3O0u2abFHhmk5vwN/XYavLjGZQEUH
a69c0FhtaELoQtQZhIRS
=T+Ra
-----END PGP SIGNATURE-----

izhara...@gmail.com

unread,
Mar 11, 2017, 4:33:39 AM3/11/17
to qubes-users, moto...@riseup.net
Reply all
Reply to author
Forward
0 new messages