Re: [gdm-list] gdmflexiserver questions



On Sun, May 11, 2008 at 2:39 AM, simon.zheng <Simon Zheng sun com> wrote:
>  You probably meet the same issue as me before. Please refer to
>  ConsoleKit problem.
>  https://bugs.freedesktop.org/show_bug.cgi?id=15866
>
>  Session is identified by a cookie, which is stored in envrionment
>  variable "XDG_SESSION_COOKIE". Cookie is created by session leader,
>  such as gdm-session-worker for gnome-session, gdm-simple-greeter
>  for greeter-session. But "XDG_SESSION_COOKIE" is likely lost in
>  their child process or grandchild process. Once loss, a session
>  can't be identified.

I added myself to the CC for that bug.  Thanks for the pointer.  I
haven't tried anything else, though, like applying your patch.

When this bug hits me, it seems to be after my other bug strikes
enough times that I have a bunch of gdm sessions running.  Maybe I'm
running out of resources at that point.  I've been getting in the
habit of periodically killing all metacity processes, and those
gdm-simple-slave processes not associated with my session (wish I
could just easily kill them all).

>  When a session transfers from inactive to active state, perhaps
>  some applications aren't aware of this. In your case, if
>  applications are able to receive "ActiveChanged" from
>  "org.freedesktop.ConsoleKit.Session" and then reset timer,
>  things would be OK. AFAIK, HAL seems to already do in this
>  way. Request action from inactive session would be refused
>  by HAL.
>
>  Could you file a bug to let maintainer evaluate?

At the moment, it always starts a new X server, so I can't verify that
it hasn't been my imagination.  The DPMS stuff is the least of my
troubles at the moment!  If I can get the rest working properly, I
will come back to this issue.

>  Since GDM 2.22 scratched and rewrote, some interfaces changed a
>  lot, Old socket-based command controlling is replaced by dbus
>  interface.I suspect references you said is only for old GDM.

That's probably true.  It hasn't been easy to find documentation;
maybe I've been looking in the wrong places.

>  I encourage you propose your idea or even patch to maintainer.
>  Here's a TODO list. http://live.gnome.org/GDM/ToDo
>
>  Probably preceding user switching button should be added too.

Thanks for your help and feedback.

Reid


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