At Tue, 27 Jan 2015 18:10:03 +0100, Frederic Crozat wrote:
Le mardi 27 janvier 2015 à 17:46 +0100, Takashi Iwai a écrit :
At Tue, 27 Jan 2015 08:33:39 +0100, Raymond Wooninck wrote:
On Tuesday 27 January 2015 07:44:17 Takashi Iwai wrote:
How would the failsafe mode be handled in these scenarios?
Which failsafe mode are you referring too ? The one that falls back to xdm if the other display manager is not found/installed ?
There is also "x11failsafe" boot option handling. It's a really neat feature, essential when you're experimenting with the graphics stuff.
I didn't check what "x11failsafe" does but systemd unit can be conditional to specific kernel commandline, so I think you could have a "failsafe" unit which would start when x11failsafe is specified and all other display-manager services would not start if it is present.
That sounds promising. Stefan, what else features do we need to care? AFAIK, currently it provides: 1. the selection of display-manager exec 2. fallback when the selection fails 3. x11failsafe boot option 4. keytable load in /etc/X11/xdm/keytable (should be conditionally?) 5. /var/run/*.pid management (optional) 6. /dev/xconsole permission management (optional) 7. start/stop/restart with change of DM selection 8. common shell functions that can be invoked by each script I guess 4, 5, 6 and 8 can be moved into each DM service. 1, 2 (and probably 7) have been discussed in this thread by other people. thanks, Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org