Mailinglist Archive: opensuse-bugs (3542 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#c26


--- Comment #26 from Egbert Eich <eich@xxxxxxxx> 2011-09-06 08:34:17 UTC ---
(In reply to comment #22)
Created an attachment (id=448984)
--> (http://bugzilla.novell.com/attachment.cgi?id=448984) [details]
x.tar.bz2 --- archive with display-manager@.service abel to start e.g.

xdm.service and kdm.service. To use this under systemd simply install
the archive below / and do

systemctl enable display-manager@.service
systemctl --system daemon-reload

Wener, you have lost a lot of the heuristics that have been added to
init.d/xinit over the years. here are some points:
1. when you change dm in etc/sysconfig/displaymanager you need to stop the old
one on a restart (bnc #306035). I don't see how this will work with this.
2. When booted in failsafe mode you want to start a dm with the
/etc/X11/xorg.conf.install or not at all.
3. If no X binary is installed you don't want to start X unless
DISPLAYMANAGER_REMOTE_ACCESS is set in /etc/sysconfig/displaymanager
4. You need to run the /etc/X11/xdm/keytable to (re)-generate an xkb
configuration.
5. Unless we drop the bootsplash you may want to copy the splash image.
6. Last: you may want to run /etc/X11/xdm/SuSEconfig.xdm to (re)-generate
/etc/X11/xdm/Xservers.
This script used be dear to your hart :)

If I had ignored all those points I could have created a really simple
init.d/xdm script and saved me a lot of time!

--
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 >