Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I set the default user session to XFCE4?

I have tried:

sudo /usr/lib/lightdm/lightdm-set-defaults --session xfce

sudo /usr/lib/lightdm/lightdm-set-defaults --session xfce4

sudo /usr/lib/lightdm/lightdm-set-defaults --session xubuntu-desktop

I am using xRDP and do not have access to the normal greeter.

share|improve this question

I created file ~/.xsession with a one liner xfce4-session.

share|improve this answer

It works with xfce4-session.

sudo /usr/lib/lightdm/lightdm-set-defaults --session xfce4-session
share|improve this answer
    
/usr/lib/lightdm/lightdm-set-defaults seems to be missing in ubuntu 14.04 :( – user48956 Apr 5 at 23:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.