Re: [gdm-list] GDM patch to make user switching able to pre-select user



Thanks for that, I've made a patch here:
https://bugzilla.gnome.org/show_bug.cgi?id=606923

Ray Strode wrote:
Hi,

My questions are:
1. Is there any reason why a Display should not have a GetSession() method?
Displays are managed by the display factory in the gdm-binary process,
each session is managed by its slave in a gdm-simple-slave process.
The display is what starts the slave process, but it doesn't know
specifically what session the slave is running.

2. Is there an easy way to get the greeter object for a Display?
The greeter is managed by the slave, like the session is.

One idea is, pass the username to CreateTransientDisplay, and pass
that along to the slave when running the slave for that display.  The
slave would then pass it along to the greeter.

Make sense?

--Ray



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