How to Install Xfce4 & MATE Desktop Environments on Kali Linux

How to Install Xfce4 & MATE Desktop Environments on Kali Linux

To start off, let’s install the kali default, using the command:

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

This should be around 100 megabytes.

Common Problems

You may have an issue where once you log out as you’re trying to switch desktop environment. So let’s try it.

Go to the power button(TOP RIGHT) –> root(Or your username in your case) –> Log out

  • Now, when you log out, you should come to the username page.
  • Type in your username and wait on the password page.
  • Near the sign in button of this page, there should be a circular image. Here, you can select your desktop environment.
  • If you haven’t set your desktop environment correctly or configured it to use the other desktop environment, it will take you back to the normal desktop environment.
  • What we will do now, is configure out session manager. Just a bit of updating.

When installing your desktop environment, it may prompt you at some point to select your display manager. You want to select your light VM display manager. It’ll bring up a nice GUI box during the installation

To test this works:

update-alternatives –config x-session-manager

  • This is where you select the desktop environment you want to use. In our case, option 3 for the Xfce session. So select 3!
  • Now you can see it has updated.

Now let’s check again. Log out of your environment.

Go to the power button(TOP RIGHT) –> root(Or your username in your case) –> Log out

  • Now type in your username and password. It will automatically log into your new session.
  • Now you should see the new environment.

This is how to use the desktop manager of your choice!

How on earth do I install MATE? – (pre-installed onto parrot)

Use the command:

sudo apt-get install desktop-base mate0 mate-desktop-environment

This will take around 572 megabytes of storage. Once it has downloaded and finished unpacking, we can now edit our session manager. Now we use the same command as before:

update-alternatives –config x-session-manager

  • Now select the MATE session, which is option 2.
  • Hit enter, and it will now be the default desktop environment, the next time we login!

So, same protocol as the last time, log out and log in again!

To log out:

Go to the power button(TOP RIGHT) –> root(Or your username in your case) –> Log out

Give it a few seconds to set up. Don’t worry if it takes a bit of time!

Keep reading. Keep learning. Keep hacking

Share!

Leave a Reply