Last time we introduce you to mpd – Music Player Daemon, a flexible and powerful server-side application for music playback. But as it was for some users to difficult to install and configure, and also very buggy, we decided to use some better application to play music remotely. We will explain to you how to configure vlc for remote use.
– Wireless network in your home
– Smartphone or tablet
– vlc player and vlc-plugin-jack installed (default in V.2.0)
Enable automated login
Go to Cinnamon or Gnome desktop environment and enable auto login.
Go to Menu – Administration – Login Window – Security Tab
tick “Enable Automatic Login” and select your username. Open qjackctl program and go to setup and select Misc tab. Tick “Start JACK audio server on application startup” Click OK. Try to start jack to see if everything is OK. When you are satisfied with your jack configuration close qjackctl.
Automated login setup
Enable jack plugin in vlc preferences
Open vlc, go to Tools, Preferences, select Audio and select JACK audio output in Output module settings. Save your configuration and close vlc player.
Find your IP address.
IP address is simply address of your computer. If you want to access your computer from remote location, you need to know his IP address. IP address is automatically assigned to your PC on boot. Login to Fluxbox. On the right side of the screen, under NETWORK maybe you can see your IP address. If this is not the case, don’t worry. You can find what is your IP address with this command: /sbin/ifconfig. Open terminal (shells->Eterm1) and type
In this example my IP address is 192.168.1.174. That address you have to write down and remember.
Edit startup configuration files
Now we have to edit some files, open terminal (shells – Eterm1) and type:
after conky line add this
vlc -I http –http-host 192.168.1.174&
Replace 192.168.1.174 with your IP address and save this file.
Now every time when you login to Fluxbox session qjackctl and vlc will be automatically started. Close gedit editor and type this in terminal:
sudo gedit /usr/share/vlc/lua/http/.hosts
This .hosts file contains configuration which hosts (you, your wife, your neighbour) can play music from their mobile phones or tablets. Uncomment the line for your network. In our case is 192.168.0.0/16. If you have address 10.0.0.x or something similar you have to uncomment the 10.0.0.0/8 line. Save the file and reboot your PC.
Install software on your device.
The final step is to install vlc remote application on your iPhone/Android or tablet and point it to your IP address. There are many apps for Android. We recommend VLC HDR or Remote for VLC . And that’s it. Happy listening.