Run xfce on startup debian

AlexanderNajafi picture AlexanderNajafi · Feb 12, 2012 · Viewed 39.9k times · Source

I have installed a new system with xfce4 on debian. My question is how i can make xfce to run on startup? Right now i can only run it with exec ck-launch-session startxfce4.

thanks

Answer

aeolist picture aeolist · Feb 15, 2012

From XFCE page on debian

Run Xfce

For GDM/KDM choose xfce4-session.

For startx add in file ~/.xinitrc:

exec ck-launch-session startxfce4

For slim boot session in /etc/slim.conf:

login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session

You also can install xdm to login in start Xfce.