VLC is the most used Media Player in Windows, Linux, and Mac OS, most Linux distributions come with Vlc already installed including Kali Linux. If you happen to be running Kali Linux as a root user, you may upgrade your vlc but it won’t run in a root account environment. What you’ll have to do is add a standard user account, then upgrade your VLC to the latest version.
VLC Media player provide some advance url-style formats features like:
- HTTP stream: http://<server address>[:<server port>]/[<file>]
- RTSP Video On Demand stream: rtsp://<server address>[:<server port>]/<stream name>
- Execute a playlist command: vlc://<command>
- Various multimedia file formats: *.mpg, *.vob, *.avi, *.mp3, *.ogg
- DVD device: dvd:///dev/dvd)
If you want to get the latest version of Virtual Box running on you Kali Linux, Ubuntu or Debian, see how to before you can proceed.
To add a standard user account follow the steps below:
step 1: Add a user by specifying the name with the useradd command
sudo useradd -m "user_name" Example:
sudo useradd -m bob
This will add the user account and create a HOME directory for the user as well. Replace “user_name“ with the name you wish to add. Home directory will be located at /home/user_name directory.
Give a password to the created user account with the passwd command:
sudo passwrd "user_name"
sudo passwd bob
It will prompt you for a new password, enter it and confirm the password again after pressing Enter key. You can change the password later by using the passwd command.
Step 3: Add the user account to sudo group to grant him root privileges to install Softwares applications and perform administrative tasks like adding a printer to the system.
sudo usermod -a -G sudo "user_name"
[email protected]:~# usermod -a -G sudo bob
-a: Means append or add the user to other supplementary groups
-G: Means specify the sudo supplementary group that the user will belong to.
Step 4: Change the user’s default shell to bash( GNU Bourne-Again Shell ).
sudo chsh -s /bin/bash
chsh command changes the user login shell. The -s option is used to specify the name of the new user’s login shell.
Now it’s time to upgrade our VLC media player, we cannot use the default Kali repositories for this but we’ll add wheezy-backports repository. Just open the /etc/apt/sources.list file and add/ append the repository given here.
sudo vim /etc/apt/sources.list
Then add the following lines at the end of the file.
deb http://http.debian.net/debian wheezy-backports main
Now do a system update
sudo apt-get update
Update VLC by typing the following command on the terminal.
sudo apt-get -t wheezy-backports install vlc
Next time you want to update any software or install it on Kali using Wheezy-backports, just type
sudo apt-get -t wheezy-backports install
followed by the name of the program or utility that you want to install.
To run VLC updated, log out and login with your standard user account. Running your Kali box as a non-root user is very important, you can install other programs like Google Chrome browser which cannot be run as root. For a more detailed thing to do after installing Kali Linux read this article. There is a good article as well about How to Install Themes on Kali as a Non-Root user.
How to install VLC in Kali Linux
Upgrading VLC in Kali Linux
How to get Lates VLC in Kali Linux
How to run VLC as a non-root user
Adding Standard user account on Linux