UPDATE: As I learn more I have found that casper 1.340.2 is working
fine, but that there is no support for mdm, the login manager for Linux
Mint.  Here is a patch to add that will make it work:

/usr/share/initramfs-tools/scripts/casper-bottom/15autologin:

Add in a MDM section like below:

if [ -f /root/etc/mdm/mdm.conf ]; then
    # Configure MDM autologin
    MDMConfFile=/root/etc/mdm/mdm.conf
    AutomaticLoginParameters="AutomaticLoginEnable=true\n\
AutomaticLogin=$USERNAME\n\
TimedLoginEnable=false"
    # Prevent from updating if parameters already present (persistent usb key)
    if ! $(grep -qs '^AutomaticLogin' $MDMConfFile); then
        sed -i "s/\[daemon\]/\[daemon\]\n$AutomaticLoginParameters/" \
            $MDMConfFile
    fi
fi

With that above addition, casper is "auto logging in" with MDM as the
display manager.


** Summary changed:

- casper 1.340.2 + trusty: with remastersys goes to login screen instead of 
direct to Live Session
+ MDM support for casper

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1484844

Title:
  MDM support for casper

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1484844/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to