
Hey, do you want to know how you can Enable the GUI in Kali Linux? If yes then this is the right place to find out the easiest ways to enable the GUI mode in Kali Linux.
Many people can’t work on CLI mode due to lack knowledge of command line and prompts, So they want to convert their CLI mode to GUI mode on Kali Linux.
1. Install Kali Linux with GUI (Default Desktop)
If you forgot to Install GUI while installing Kali Linux, then don’t worry you can easily add it back even after complete installation by following steps given below.
Step 1: Update Your System
sudo apt update && sudo apt upgrade -y
Step 2: Install the Desktop Environment
Kali Linux supports different desktop environments, you have to install according to your experience, interest or knowledge. The most common environments are:
Option A: Install Xfce (Lightweight GUI)
sudo apt install kali-desktop-xfce -y
Option B: Install GNOME (Deafult Kali Linux GUI)
sudo apt install kali-desktop-gnome -y
Option C: Install KDE (Advanced GUI with more features)
sudo apt install kali-desktop-kde -y
After installation, restart your system then you will see the GUI interface you have installed. If you want to start the GUI without rebooing then run “startx” on terminal.
2: Switch from Command Line to GUI
If you are facing problem while switching Kali Linux from Command line to Graphics user interface then this is the right method to install or switch Kali Linux in GUI mode. You can easily install or switch GUI mode without reinstalling Kali Linux while logged-in.
Step 1: Check if GUI is installed
which gdm3 # For GNOME
which lightdm # For Xfce/LXDE
Step 2: Start the Display Manager
sudo systemctl start gdm3
Step 3: Set GUI to Start Automatically
sudo systemctl set-default graphical.target
Using these methods you can easily enable or fix GUI mode in Kali Linux, then you can easily work on Kali Linux without using many command lines.
Hope !! you understand how to install or enable GUI mode in Kali Linux. If still you are facing any problem while installing GUI or want to ask any other query about Kali Linux or other Linux distribution then you can comment us down.
Thank You !!