[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759005: xdm: Missing xdm.service, can't use with systemd



On Sat, Aug 23, 2014 at 09:30:24PM +0200, Sven Joachim wrote:
> On 2014-08-23 19:52 +0200, Kan-Ru Chen (陳侃如) wrote:
> 
> > Package: xdm
> > Version: 1:1.1.11-1
> > Severity: important
> >
> > The xdm upstream ships a xdm.service file however it is not include in
> > the xdm debian package.
> 
> It would probably make sense to ship it, but care must be taken not to
> enable the service unless xdm is the default display manager.

Hi,

Please have a look at the info I provided for wdm in #761642.

Main reference is

  https://titanpad.com/s-gsprintchangelog

section "= default display manager selection ="

Since xdm is not as complex as gdm, I think that lightdm may also be used
as a reference. For implementation details, see

https://bugs.debian.org/733220

where, among other things, it is proposed to use something like

ExecStartPre=/bin/sh -c '[ ! -f /etc/X11/default-display-manager -o "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lightdm" ]'

Note that other things mentioned there are needed.

While we are with errors just warn you about slim's bug 

https://bugs.debian.org/748668

which I'd expect to also affect xdm. slim.service enables the service
unconditionally regardless of being default display manager or not.
If xdm is the default slim will hijack that status.

Regards,

-- 
Agustin


Reply to: