Re: [gdm-list] gdm in background



On Thu, Aug 21, 2008 at 7:09 PM, William Jon McCann <mccann jhu edu> wrote:
> In 2.22+ GDM no longer forks into the background (daemonizes) by
> default.  I'm not sure why you want to launch from rc scripts but it
> should work provided that you put GDM in the background and the system
> has ttys defined by then.

We have to do it so we don't have to hardcode having a DM launched in
inittab. Putting it there has two problems:

1) it would force us to maintain a way to choose between gdm, kdm, xdm
or none (we're not a gnome-only distro and some systems run two DMs to
provide separate local and remote enviroments)

2) I'm not sure what gsm does if it's launched before HAL/CK/PolicyKit
or even DBus

> inittab and upstart are the typical ways that GDM is launched on linux
> based systems.
>
> Are there any errors in the GDM log files: /var/log/gdm?

There's the usual startup sequence and dialog between gdm-binary,
session and greeter then it complains about X going down. There are no
errors in greeter logs or Xorg logs. Will try with a fresh build of
trunk (using 2.23.2 here) and send you the errors.

To me it looks like start-stop-daemon closes some file descriptor
(stdin?) that gdm expects to have or if gdm expects to have a
controlling terminal. Will update you with my precise findings.

-- 
Patryk Zawadzki


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