Actually the support of mdm in systemd is poor or none (but I can manage many workaround to make it work)
you can provide systemd support, is probably unlikeli that Ubuntu (LM base) change from upstart to systemd but Debian can (or not we are not sure), this support for other side can help upstream in Archlinux, Fedora, OpenSUSE and so that already migrated to systemd in find a good option add this display
the modifications neede are support for hibernate, suspend,shutdown (throw poerfoff NOT shutdown command) thow logind a .service archive
that I think
This is the service for systemd that I use in Arch
Description=Linux Mint Display Manager
this is a generic, I have another different for plymouth
Description=LightDM Display Manager
the line email@example.com is a workaround for a infinite mdm-restart that happend every 1 minute if tty1 is runing
yes, alongside we add custom pan rules that thank to this the hibernate and suspend work, I not thi using stock powermanager (I use powerdown script) but probably unlickeli to work for the logind lack
auth requisite pam_nologin.so
auth required pam_env.so
auth required pam_unix.so
-auth optional pam_gnome_keyring.so
account required pam_unix.so
session required pam_limits.so
session required pam_unix.so
password required pam_unix.so
-session required pam_loginuid.so
-session optional pam_systemd.so
-session optional pam_gnome_keyring.so auto_start
I think that this can help you if you want add systemd
@jristz : Integration with the init system is something that has to be done by each distro maintainer (too many differences from one distro to another for this to be handled upstream).
The debian packaging is included in mdm's source tree, but integration with upstart is still part of the debian packaging and not of the actual upstream tree.
In the same way, integration with systemd would have to be done by the arch maintainer (don't know if there's one at the moment ?).
Why was this closed? @clefebvre and I have been talking about this for a while. Upstart is far from becoming a standard, and debian is going systemd. The fact of the matter is mdm should support as many as possible.
Hi, let's chat about it when we get a chance. I was in favor of adding systemd support in MDM itself as long as it doesn't interfere with non-systemd distros. Glebihan might have some valid concerns though so we'll need to discuss this together.
Re-opening it for now and waiting until we get an opportunity to chat.
It is possible to add optional systemd support, keeping compatibility with consolekit.
or making at build time select if --whit-kit=consolekit or logind (systemd)
at option at build time make the option for the builder to select
whitch support, but tis prevent for use multiple kit (consolekit or logind) in boot
for other part selectin at runtime like an option or autodetection is best for those cases
and @dmashal Debian now have systemd in sid: http://packages.debian.org/sid/systemd but yes a REALLY old version and remmber that udev fuse the project againt systemd around 184 or a little more high version as far I remmmeber
Sorry everyone for closing this is a bit too quickly. I didn't know there had been discussions about that already.
I still think this shouldn't be implemented upstream (for the reasons I mentioned above), but it's fine with me if it is.
@glebihan you confused init with logind, here the only think that is needed is support for logind (and provide a mdm.service by you) and no more, because is already ready the mdm for all other tasks
you say:mdm. service by we? yes systemd encourage use ONLY the services provided by upstream and NO make modification to these unles these modification fix bugs
in resumé: mdm only need logind and a .service (plain text archive) and no more
@jristz @stefano-k @clefebvre I've been talking about this for a while and I will test this on Fedora rawhide with a minimal install.
@jristz Do you use IRC?
@dmashal Remmeber first remove the Conflictsfirstname.lastname@example.org and the email@example.com in the After=
I cannot figure Why but if I not add this on Arch mdm re-start ever 1 min
For the first test
IRC I have and acount but actually I not use much frequent,anyway...any chanel in speciffic??
@jristz can you fork mdm and commit this to your repo? I am testing it now, if it's good you should submit a pull request.
Hi there, just a follow up after glebihan and I talked about this. We're ok with adding support for systemd/logind in MDM itself. I might need some time to test stuff and make sure everything is fine but this is likely to go in.
partialy related, because Mint is based on Ubuntu, and Logind is part of Systemd
Is for now a simple proposal but this add a little (maibe minial) priority to logind support
Any news on this front? I can see mdm doesn't get systemd support yet. It would be nice using mdm on a systemd enabled system, like my Mageia install.
cince now Ubuntu will use systemD, you will reconcider and add complete systemd support for mdm?
I want know the actual state of this issue
Although nothing was done since we last spoke, this is indeed something that needs to be done. Don't hesitate to turn this into a pull request. I'm working on locale and session support at the moment, but I'm planning to look into this prior to Mint 17 (May 2014).