Re: [gdm-list] RemoteAutologin for gdm > 2.20
- From: Brian Cameron <brian cameron oracle com>
- To: mariodebian <mariodebian gmail com>
- Cc: gdm-list gnome org
- Subject: Re: [gdm-list] RemoteAutologin for gdm > 2.20
- Date: Wed, 21 Jul 2010 13:22:08 -0500
Please file a bug at http://bugzilla.gnome.org/ in the "gdm" category.
This issue is more likely to receive attention if a bug is filed.
Thanks,
Brian
On 07/21/10 11:53 AM, mariodebian wrote:
Hi
I'm trying to make a patch to enable remote autologin (XDMCP) in new GDM
I use a script to return user based on DISPLAY with pipes:
TimedLogin=/etc/gdm/gdm-autologin|
In gdm_xdmcp_display_get_timed_login_details() username and enable are
hardcoded to "" (empty) and FALSE.
If I copy the code from gdm-display.c
Index: gdm-2.30.2.is.2.30.2/daemon/gdm-xdmcp-display.c
===================================================================
--- daemon/gdm-xdmcp-display.c 2010-07-21 16:16:14.000000000 +0200
+++ daemon/gdm-xdmcp-display.c 2010-07-21 18:23:21.000000000 +0200
@@ -187,9 +188,21 @@
char **usernamep,
int *delayp)
{
- *enabledp = FALSE;
- *usernamep = g_strdup ("");
- *delayp = 0;
+ /* FIXME read key security/AllowRemoteAutoLogin */
+ /* add remote autologin support */
+ GDM_DISPLAY_GET_CLASS (display)->get_timed_login_details
(display, enabledp, usernamep, delayp);
+
+
+ if ( ! *usernamep ) {
+ *usernamep = g_strdup ("");
+ *enabledp = FALSE;
+ *delayp = 0;
+ }
}
But this don't work because GdmXdmcpDisplay class don't register a DBUS
connection
gdm-simple-slave[6980]: DEBUG(+): GdmSlave: Requesting user
authorization
gdm-simple-slave[6980]: CRITICAL: dbus_g_proxy_call: assertion
`DBUS_IS_G_PROXY (proxy)' failed
gdm-simple-slave[6980]: WARNING: Failed to add user authorization
And gives me a backtrace.
I will try to call autologin script without dbus.
Remote Autologins works ok in older versions and in> 2.20 not.
Can anyone help me?
_______________________________________________
gdm-list mailing list
gdm-list gnome org
http://mail.gnome.org/mailman/listinfo/gdm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]