How To Install surf-display on Kali Linux
Introduction
In this tutorial we learn how to install surf-display on Kali Linux.
What is surf-display
surf-display is:
Provide an X11 session manager script that launches a minimal window manager and then opens an entry web page via the surf web browser in kiosk mode. The web page can be consumed “read-only” or in interactive mode.
In combination with the nodm display manager you can provide an easy-to-setup html’ish display screen or a web terminal.
If URL/domain filtering is needed, combine surf-display with a local instance of tinyproxy.
After a configurable idle time, the browser session is fully reset and started anew.
There are three methods to install surf-display on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install surf-display Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install surf-display using apt-get by running the following command:
sudo apt-get -y install surf-displayInstall surf-display Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install surf-display using apt by running the following command:
sudo apt -y install surf-displayInstall surf-display Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install surf-display using aptitude by running the following command:
sudo aptitude -y install surf-displayHow To Uninstall surf-display on Kali Linux
To uninstall only the surf-display package we can use the following command:
sudo apt-get remove surf-displayUninstall surf-display And Its Dependencies
To uninstall surf-display and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove surf-displayRemove surf-display Configurations and Data
To remove surf-display configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge surf-displayRemove surf-display configuration, data, and all of its dependencies
We can use the following command to remove surf-display configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge surf-displayDependencies
surf-display have the following dependencies:
References
Summary
In this tutorial we learn how to install surf-display package on Kali Linux using different package management tools: apt, apt-get and aptitude.