Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to create my own Ubuntu LiveCD without Unity. When lightdm loads is says (Failed to load session "ubuntu"). The autologin fails and then lightdm reloads with a normal login screen.

I can login fine with ubuntu user and if I run "sudo x-session-manager" I still get the error message (Failed to load session "ubuntu"). But that's as far as I can pin point where the problem is.

Where is the default session manager setting?

Lightdm config /etc/lightdm/lightdm.conf says that autologin-session=lightdm-autologin but I'm not sure what that is. Trying to edit this config wouldn't help anyways since casper overwrites it during bootup.

I thought maybe casper sets this but don't see it anywhere in it's config.

Any help? I want the default to be just 'gnome'. This would have to be set while creating the LiveCD iso.

Thanks.

share|improve this question
    
I figured it out. "onubuntu.blogspot.com/2011/09/…; But the command should be: "sudo /usr/lib/lightdm/lightdm-set-defaults --session gnome-shell" Place it in your script to build the LiveCD "after" lightdm is installed. This just adds the line "user-session=gnome-shell" to "/etc/lightdm/lightdm.conf" –  Peter Quiring Feb 24 '12 at 19:42

1 Answer 1

Copying user's comment in his question to an answer.

I figured out the solution with the help of this blogpost:

But the command should be:

sudo /usr/lib/lightdm/lightdm-set-defaults --session gnome-shell

Place it in your script to build the LiveCD "after" LightDM is installed. This just adds the line user-session=gnome-shell to /etc/lightdm/lightdm.conf.

share|improve this answer

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.