How-to Setup Slim Display Manager to Run a Desktop on Debian

This Tip Show Exactly How-to SetUp the Slim Display Manager for Running a Desktop on Linux Debian.

With this Procedure you will be Able to Installing or Switching your Desktop to: Lxde, Xfce, Openbox, Fluxbox, Enlightnement, IceWM or Blackbox.

  1. Edit the Slim Configuration File
    su
    nano /etc/slim.conf
  2. Comment-Out
    #login_cmd … /etc/X11/Xsession %session
  3. Un-Comment
    login_cmd … ~/.xinitrc %session
  4. Save and Exit from nano
    Ctr+x
  5. Edit the User XWindows Configuration File
    exit
    nano ~/.xinitrc
  6. Insert the Command to Run Desktop
    exec