Mailinglist Archive: opensuse-bugs (4068 mails)

< Previous Next >
[Bug 714003] Clean up /etc/init.d/xdm.

https://bugzilla.novell.com/show_bug.cgi?id=714003

https://bugzilla.novell.com/show_bug.cgi?id=714003#c14


--- Comment #14 from Egbert Eich <eich@xxxxxxxx> 2011-08-31 11:48:06 UTC ---
(In reply to comment #13)
Are there other thoughts/proposals/suggestions around?

Not fully educated, yet. I've got a fedora system with systemd installed. I'd
have to look into details there.

Environment=DISPLAYMANAGER=xdm

Probably isn't too great. We have more than just xdm.

EnvironmentFile=/etc/sysconfig/displaymanager

is a script file which gets sourced to set environment variables, right?
So we can use this to set the DISPLAYMANAGER environment variable.
Can we have multiple lines specifying such files?
Things would get a lot simpler already if there weren't multiple supported
values for DISPLAYMANAGER for one dm. One can use the full path to the binary
(which is ignored) one can use the name in all lower or all upper case for most
DMs. Gdm supports also 'gnome' or 'GNOME' while KDE supports 'kde3' and 'kde4'
along side with 'kdm' or 'kde' and their upper case correspondents.

ExecStart=/bin/systemctl start $DISPLAYMANAGER.service

$DISPLAYMANAGER.service: is this a script file?

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References