MP3 support but SMB issues on DebVM or SMB support with MP3 issues on FedVM?

17 views
Skip to first unread message

.

unread,
Feb 18, 2017, 12:06:02 PM2/18/17
to qubes...@googlegroups.com

I have been trying to get a "proper" music setup working on my Qubes (3.2) machine and am having issues. On a Fed24VM I can't seem to get mp3 support (tried installing gstreamer no go) and on Deb9 I can connect to my file server via the filemanager but can't find where it is mounting (where as I can just type "mount" in Fed and the last entry is usuall the mount point).

I love VLC for videos, but despise it for music (compared to what I want in a music player). I was able to run foobar2k with wine before (which apparently took care of MP3 support issue in Fed) but that is an unweildy option and I think Quod Libet player will suffice (which I have installed on both Deb/Fed VMs no prob).

I would prefer to use a debVM for my music but could use some suggestions on how to include a line to mount it to a point i can find. I have tried mount -t smb //fileserver/directory /media/testmountdirectory and a few variations (like CIFS) but nothing. I don't have a password on set on the server at the moment and when I mount via the file manager I just put in smb://fileserver/directory it prompts me to connect and I'm in.

How can I set a Deb "AudioVM" to automatically mount the music_directory so it can be accessible to something like Quod Libet?

Manuel Amador (Rudd-O)

unread,
Feb 18, 2017, 1:00:23 PM2/18/17
to ., qubes...@googlegroups.com
Create a mount unit in your template of the Deb VM, which does the mount. Have it WantedBy=multi-user.target. Enable it.

Add a ConditionPathExists=/var/run/qubes-service/mediamount to the unit.

Power off the template and the Deb VM.

Thru Qubes Manager, add a Qubes service to the DebVM, naming it mediamount.

Power on the template.

Bam, now that thing mounts only in the Deb VM.

I have an Ansible play for this. Will publish it soon.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Unman

unread,
Feb 18, 2017, 4:24:03 PM2/18/17
to ., qubes...@googlegroups.com
You should be able to see the mount using gvfs-mount. In Debian the
mount point from nautilus would be under /run/user/.

You don't say exactly what happens when you try a manual mount - unless
"nothing" is a full description, of course. If you looked on the server
you might find helpful logs.
(I'm assuming you have cifs-utils installed .)
Then "mount -v -t cifs //server/mount mountpoint -o user=nobody" should
work and provide useful information.
You could equally well put this in to .bashrc rather than in a
Template, or add an entry to /etc/fstab using the mechanism in
/rw/config/rc.local.

unman

.

unread,
Feb 18, 2017, 4:50:32 PM2/18/17
to qubes...@googlegroups.com
-------- Original Message --------
Subject: Re: [qubes-users] MP3 support but SMB issues on DebVM or SMB support with MP3 issues on FedVM?
Local Time: February 18, 2017 9:24 PM
UTC Time: February 18, 2017 9:24 PM
Thx unman.
gvfs-mount did not work for me. I do not no why, maybe it is not install?
I tried the suggestion you made for cifs and first it did not work but it seems I did not have it installed. I thought because my fileserver mounted in nautilus that everything needed is installd.
I installd cifs and now mountnig works well. Your idea for the .bashrc is good because it is better I keep changes to the template minimuml.
Thx so much for the support.
Reply all
Reply to author
Forward
0 new messages