Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kali Desktop Environments Installation and Removal

XFCE Desktop


How to install XFCE Desktop Environment in Kali Linux:

Command:

apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies

How to remove XFCE in Kali Linux:

Command:

 apt-get remove xfce4 xfce4-places-plugin xfce4-goodies

KDE Desktop


How to install KDE Plasma Desktop Environment in Kali Linux:

Command:

 apt-get install kali-defaults kali-root-login desktop-base kde-plasma-desktop

How to install Standard Debian selected packages and frameworks in Kali Linux:

Command:

 apt-get install kali-defaults kali-root-login desktop-base kde-standard

How to install KDE Full Install in Kali Linux:

Command:

 apt-get install kali-defaults kali-root-login desktop-base kde-full

How to remove KDE on Kali Linux:

Command:

 apt-get remove kde-plasma-desktop kde-standard

LXDE Desktop


How to install LXDE Desktop Environment in Kali Linux:

Command:

 apt-get install lxde-core lxde kali-defaults kali-root-login desktop-base

How to remove LXDE on Kali Linux:

Command:

 apt-get remove lxde-core lxde

GNOME Desktop


How to install GNOME on Kali Linux:

Command:

 apt-get install gnome-core kali-defaults kali-root-login desktop-base

How to remove GNOME on Kali Linux:

Command:

 apt-get remove gnome-core

Cinnamon Desktop


How to install Cinnamon Desktop Environment in Kali Linux:

Command:

 apt-get install kali-defaults kali-root-login desktop-base cinnamon

How to remove Cinnamon Desktop Environment in Kali Linux:

Command:

 apt-get remove cinnamon

MATE Desktop


How to install MATE Desktop Environment in Kali Linux:

This installs the base packages

Command:

 apt-get install kali-defaults kali-root-login desktop-base mate-core

Or this to install mate-core and more extras

Command:

 apt-get install kali-defaults kali-root-login desktop-base mate-desktop-environment

Or this to install mate-core + mate-desktop-environment and even more extras.

Command:

 apt-get install kali-defaults kali-root-login desktop-base mate-desktop-environment-extra

How to remove MATE Desktop Environment in Kali Linux:

Command:

 apt-get remove mate-core

Now the only problem is MATE doesn't show the nice Kali Linux Menu. Fix posted by Silver Moon

To fix this edit the following file. Command:

 leafpad /etc/xdg/menus/mate-applications.menu

In the file go down to the section named Internet and add the following line HTML Code:

<!-- Kali Linux Menu -->
<MergeFile type="path">applications-merged/kali-applications.menu</MergeFile>

So it should look something like this HTML Code:

 <!-- Internet -->
  <Menu>
    <Name>Internet</Name>
    <Directory>mate-network.directory</Directory>
    <Include>
      <And>
        <Category>Network</Category>
      </And>
    </Include>
  </Menu>   <!-- End Internet -->
<!-- Kali Linux  -->    
  <MergeFile type="path">applications-merged/kali-applications.menu</MergeFile>
@diveyez

This comment has been minimized.

Copy link

@diveyez diveyez commented Feb 10, 2018

Thanks!

@sckull

This comment has been minimized.

Copy link

@sckull sckull commented Feb 24, 2018

This works on Kali 2018? :d

@SaltFatman

This comment has been minimized.

Copy link

@SaltFatman SaltFatman commented Mar 12, 2018

Yep

@jeiydee

This comment has been minimized.

Copy link

@jeiydee jeiydee commented May 22, 2018

doesn't seem to work for Kali 2018 (rolling) and getting this error:

Err:1 http://http.kali.org/kali kali-rolling/main amd64 xfce4-terminal amd64 0.8.7.4-1
404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/x/xfce4-terminal/xfce4-terminal_0.8.7.4-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Did apt-get update and apt-get update --fix-missing but still can't seem to install xfce on Kali properly. Kali 2018 rolling is installed in Virtualbox.

@mouadessalim

This comment has been minimized.

Copy link

@mouadessalim mouadessalim commented Jun 14, 2018

c'est ecrit en francais ''installer'' a la place de install

@kuamit5516

This comment has been minimized.

Copy link

@kuamit5516 kuamit5516 commented Jun 29, 2018

Ign:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 libexo-common all 0.12.1-1
Err:1 http://http.kali.org/kali kali-rolling/main amd64 libexo-common all 0.12.1-1
Connection failed [IP: 140.138.144.170 80]

@blakkabwoy

This comment has been minimized.

Copy link

@blakkabwoy blakkabwoy commented Jul 5, 2018

@jeiydee have you fix 404 not found ..??

@taylanbildik

This comment has been minimized.

Copy link

@taylanbildik taylanbildik commented Nov 3, 2018

@jeiydee have you fix 404 not found ..??

Try with https
Change sources.list with that;
deb https://http.kali.org/kali kali-rolling main non-free contrib
Source

@wickstargazer

This comment has been minimized.

Copy link

@wickstargazer wickstargazer commented Feb 7, 2019

have anyone fixed the 404 not found on windows subsystem?

@se2030

This comment has been minimized.

Copy link

@se2030 se2030 commented Oct 10, 2019

Thanks ❤️

@und3fined404

This comment has been minimized.

Copy link

@und3fined404 und3fined404 commented Jan 13, 2020

Gnome still is visible from login panel

@SamZapata

This comment has been minimized.

Copy link

@SamZapata SamZapata commented Mar 3, 2020

Thank you! it's very useful

@kaimate

This comment has been minimized.

Copy link

@kaimate kaimate commented Jun 22, 2020

very helpful
thank u so much

@eliyatos

This comment has been minimized.

Copy link

@eliyatos eliyatos commented Jul 16, 2020

E: Unable to locate package gnome-core
E: Package 'kali-root-login' has no installation candidate

how can i fix this

@jayluxferro

This comment has been minimized.

Copy link
Owner Author

@jayluxferro jayluxferro commented Jul 17, 2020

E: Unable to locate package gnome-core
E: Package 'kali-root-login' has no installation candidate

how can i fix this

Please make sure you have the following sources list

deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib

or

deb https://http.kali.org/kali kali-rolling main non-free contrib
deb-src https://http.kali.org/kali kali-rolling main non-free contrib
@balk634

This comment has been minimized.

Copy link

@balk634 balk634 commented Aug 8, 2020

but how to switch from gnome to KDE. i tried using "sudo update-alternatives --config x-session-manager" and selecting KDE. it doesnt work.

@SurajShahJaru

This comment has been minimized.

Copy link

@SurajShahJaru SurajShahJaru commented Aug 24, 2020

Do it also work in nethunter

@jayluxferro

This comment has been minimized.

Copy link
Owner Author

@jayluxferro jayluxferro commented Sep 25, 2020

but how to switch from gnome to KDE. i tried using "sudo update-alternatives --config x-session-manager" and selecting KDE. it doesnt work.

If you're using gdm, you can select which desktop environment is should use on the login view; i.e. if you have already installed the kde plasma desktop.

@jayluxferro

This comment has been minimized.

Copy link
Owner Author

@jayluxferro jayluxferro commented Sep 25, 2020

Do it also work in nethunter

I think it should. I haven't tried it on nethunter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.