Re: [debian-live-devel] xfce desktop needs some love

Ben Armstrong <[email protected]>
Newsgroups gmane.linux.debian.devel.jr
Message-ID <[email protected]>
On Tue, 10 Apr 2007 17:48:41 +0200
Michelle Konzack <[email protected]> wrote:
> But "Gdm" is a Gnome program which pull 29 MByte of additonal
> packages on the Disk...  Also it loads many Gnome libs which
> are generaly undesired if someone use a "light" WindowManager
> like Xfce otherwise I would install the degktop-gnome.
> 
> I find "Gdm" misplaced and annoying if someone does not use Gnome.

I'm not saying it's not a good idea.  I'm just explaining why I can't just
subsitute wdm for gdm and have it work automatically.

If you want to help get debian-live + XFCE + Debian Jr. working well
without gdm, by all means do!

The place to start looking is in the Debian casper package in this file:

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

...
if chroot /root [ -f /etc/gdm/gdm-cdd.conf ]; then
    GDMCONF=/etc/gdm/gdm-cdd.conf
else
    GDMCONF=/etc/gdm/gdm.conf
fi

if chroot /root [ -f ${GDMCONF} ]; then
    if [ "${BUILD_SYSTEM}" == "Debian" ]; then
        # true hack ! -- nohar
        chroot /root cp /usr/share/gdm/defaults.conf /etc/gdm/gdm.conf
    fi

    # Configure GDM autologin
    chroot /root sed -i \
        -e "s/^AutomaticLoginEnable=.*\$/AutomaticLoginEnable=true/" \
        -e "s/^AutomaticLogin=.*\$/AutomaticLogin=$USERNAME/" \
        -e "s/^TimedLoginEnable=.*\$/TimedLoginEnable=true/" \
        -e "s/^TimedLogin=.*\$/TimedLogin=$USERNAME/" \
        -e "s/^TimedLoginDelay=.*\$/TimedLoginDelay=10/" \
        ${GDMCONF}
fi


There is a similar section in the same file dealing with kdm.  I would
need the corresponding configs for wdm to autologin.  Can you help me
out, here?  At the very least I'd need a copy of a wdm config file that
does this.  If you can also modify the casper script yourself and test
build an xfce-junior livecd with the change, then that would save me a
lot of time!  If not, I can figure out the rest, but I can't guarantee
it will get the highest priority.

Thanks,
Ben
--
 ,-.  nSLUG    http://www.nslug.ns.ca   [email protected]
 \`'  Debian   http://www.debian.org    [email protected]
  `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
             [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.