Results 1 to 17 of 17

Thread: How to install/remove different Desktop/Window Manager in Kali Linux 1.x

  1. #1

    Lightbulb How to install/remove different Desktop/Window Manager in Kali Linux 1.x

    ----
    ## XFCE Desktop ##
    ----
    # How to install XFCE Desktop Environment in Kali Linux:
    Code:
     apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies
    # How to remove XFCE in Kali Linux:
    Code:
     apt-get remove xfce4 xfce4-places-plugin xfce4-goodies
    ----
    ## KDE Desktop ##
    ----
    # How to install KDE Plasma Desktop Environment in Kali Linux:
    Code:
     apt-get install kali-defaults kali-root-login desktop-base kde-plasma-desktop
    # How to install Netbook KDE Plasma Desktop Environment in Kali Linux:
    Code:
     apt-get install kali-defaults kali-root-login desktop-base kde-plasma-netbook
    # How to install Standard Debian selected packages and frameworks in Kali Linux:
    Code:
     apt-get install kali-defaults kali-root-login desktop-base kde-standard
    # How to install KDE Full Install in Kali Linux:
    Code:
     apt-get install kali-defaults kali-root-login desktop-base kde-full
    # How to remove KDE on Kali Linux:
    Code:
     apt-get remove kde-plasma-desktop kde-plasma-netbook kde-standard
    ----
    ## LXDE Desktop ##
    ----
    # How to install LXDE Desktop Environment in Kali Linux:
    Code:
     apt-get install lxde-core lxde kali-defaults kali-root-login desktop-base
    # How to remove LXDE on Kali Linux:
    Code:
     apt-get remove lxde-core lxde
    ----
    ## GNOME Desktop ##
    ----
    # How to install GNOME on Kali Linux:
    Code:
     apt-get install gnome-core kali-defaults kali-root-login desktop-base
    # How to remove GNOME on Kali Linux:
    Code:
     apt-get remove gnome-core
    ----
    ## Cinnamon Desktop ##
    ----
    # How to install Cinnamon Desktop Environment in Kali Linux:
    Code:
     apt-get install kali-defaults kali-root-login desktop-base cinnamon
    # How to remove Cinnamon Desktop Environment in Kali Linux:
    Code:
     apt-get remove cinnamon
    ----
    ## MATE Desktop ##
    ----
    # How to install MATE Desktop Environment in Kali Linux:
    Code:
     echo "deb http://repo.mate-desktop.org/debian wheezy main" >> /etc/apt/sources.list && apt-get update
    Code:
     apt-get --yes --quiet --allow-unauthenticated install mate-archive-keyring
    # This installs the base packages
    Code:
     apt-get install kali-defaults kali-root-login desktop-base mate-core
    # Or this to install mate-core and more extras
    Code:
     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.
    Code:
     apt-get install kali-defaults kali-root-login desktop-base mate-desktop-environment-extra
    # How to remove MATE Desktop Environment in Kali Linux:
    Code:
     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.
    Code:
     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>
    .....
    Now save the file, Logout and Login back. The "Kali Linux" menu should display fine in Mate desktop's application menu.
    Credits
    Last edited by blackMORE; 2013-10-25 at 15:04. Reason: Added MATE Desktop and edited formatting/credits.

  2. #2
    Join Date
    2013-Jul
    Posts
    2

    make lxde as default desktop

    [SPOILER]
    Quote Originally Posted by blackMORE View Post
    ----
    ----
    ## LXDE Desktop ##
    ----
    # How to install LXDE Desktop Environment in Kali Linux:
    apt-get install lxde-core lxde kali-defaults kali-root-login desktop-base

    # How to remove LXDE on Kali Linux:
    apt-get remove lxde-core lxde

    ----
    ## GNOME Desktop ##
    ----
    # How to install GNOME on Kali Linux:
    apt-get install gnome-core kali-defaults kali-root-login desktop-base

    # How to remove GNOME on Kali Linux:
    apt-get remove gnome-core
    [/SPOILER]

    thanks for the great tuts....

    my question is, how to make LXDE as default desktop (instead of Gnome) ??
    i use netbook (1024x800) and i feel that LXDE is load faster than Gnome

  3. #3
    Join Date
    2013-Aug
    Posts
    2
    Recently installed KDE but I cant get it away anymore now :/
    Used your commands etc. but it was still there.

  4. #4
    Quote Originally Posted by teloris View Post
    [SPOILER]

    [/SPOILER]

    thanks for the great tuts....

    my question is, how to make LXDE as default desktop (instead of Gnome) ??
    i use netbook (1024x800) and i feel that LXDE is load faster than Gnome
    Code:
     update-alternatives --config x-session-manager

  5. #5
    Quote Originally Posted by Zombay View Post
    Recently installed KDE but I cant get it away anymore now :/
    Used your commands etc. but it was still there.
    Which KDE desktop environment you installed? Some more info would help. A quick way to find these is via going through your bash history and revert them (apt-get install to apt-get remove) and finally, apt-get autoremove.

    I would tread carefully when you're using autoremove, depending on what you've done to your system, it's got a nasty habit of removing useful stuffs.

  6. #6
    Join Date
    2013-Oct
    Posts
    3
    Quote Originally Posted by blackMORE View Post
    Code:
     update-alternatives --config x-session-manager
    I've instealled i3 wm and it doesn't get listed there. How can I add it? I want to get automatically logged in at i3wm as root when I boot up. Thx in advance

  7. #7
    Join Date
    2013-Mar
    Location
    NYC
    Posts
    11
    When I try to install them I get this happen, any ideas?

    root@RedBox:~# apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package xfce4 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'xfce4' has no installation candidate
    E: Unable to locate package xfce4-places-plugin
    E: Unable to locate package xfce4-goodies

  8. #8
    Fix sources list.


    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130315-11:02]/ kali contrib main non-free
    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130315-11:02]/ kali contrib main non-free

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

    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

  9. #9
    Quote Originally Posted by adRn View Post
    I've instealled i3 wm and it doesn't get listed there. How can I add it? I want to get automatically logged in at i3wm as root when I boot up. Thx in advance
    can't remember exact package name.. type in apt-get i3 and use tab to see the list. One of them offers GUI.
    by default your default WM won't change.

  10. #10
    Join Date
    2013-Mar
    Location
    NYC
    Posts
    11
    Worked perfectly, thanks

  11. #11
    Join Date
    2013-Jun
    Posts
    10
    So now that I have tinkered with alternative DE's for most of the night how do I remove them from the menu after removing them from the system. Because it seems they are all still there.

    DISREGARD THAT - FOR ANYONE WHO DID NOT KNOW,
    JUST FIND THE PACKAGES IN PACKAGE MANAGER AND DELETE THEM.
    REBOOT YOUR COMPUTER AND YOU SHOULD BE BACK TO THE DEFAULTS!

    Sorry,
    iDerp'd
    Last edited by wy477d3rp; 2013-12-23 at 07:14.

  12. #12
    Join Date
    2014-Jun
    Posts
    3

    Exclamation Please help me!!

    ok..i have just used the recommended above tutorial to install xfce and cinnamon...so i did both...then i restarted and now am missing my login screen

    The name org.gnome.displaymanager was not provided by any .service files

    is what my error message pops up when i log back in from my lock screen...

    i cannot get a gui login screen after login from boot up or from the lock screen...

    plzzzzz help meeee i like my login screen

    also, for the only measure i would guess...i have removed them both and still no change...no login screen...

  13. #13
    Join Date
    2014-May
    Posts
    10
    http://repo.mate-desktop.org/debian wheezy main no longer exist (i try to install MATE),
    please update.

  14. #14
    Join Date
    2013-Oct
    Posts
    3
    So, I managed to install i3wm from console. I removed gnome-core and then with apt-get autoremove I wiped out gdm3.
    I installed lightdm and then:
    echo "user-session=i3" >> /etc/lightdm/lightdm.conf

    OPTIONAL: update-alternatives --config desktop-background

    exec lightdm and you're done.

    THANKS TO https://faq.i3wm.org/question/2483/h...zy-lightdm-i3/

  15. #15
    root@kali:~# apt-get install kali-defaults kali-root-login desktop-base kde-plasma-desktop
    E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

    how to solve issue on latest ver 2

  16. #16
    Plzz help me with installing xfce on a fresh kali 2.0 install,gnome 3 is a bit laggy

    Thank you

  17. #17
    Join Date
    2013-May
    Posts
    2
    Quote Originally Posted by itzzmeshashi View Post
    Plzz help me with installing xfce on a fresh kali 2.0 install,gnome 3 is a bit laggy

    Thank you
    similar question here.
    I've installed i3-wm and want it be my default windows manager, but, when I try
    Code:
    update-alternatives --config x-window-manager
    or set XSession=i3 in /var/lib/AccountsService/users/root - it still relogins to Gnome and XSession= becomes empty, i think it's bug with accounts-daemon (like in this issue).

    UPD: nevermind, fixed it with
    Code:
    echo i3 >> /root/.xsession
    Last edited by kiba; 2015-09-08 at 08:54.

Similar Threads

  1. Replies: 2
    Last Post: 2022-06-08, 18:40
  2. Kali desktop window controls have disappeared
    By meganskye in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-11-12, 16:12
  3. Replies: 30
    Last Post: 2017-10-14, 06:02

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •