I've got a system that is logging the message "SetPerClientControls
failed".  The relevant code snippet is from
xc/programs/xdm/greeter/greet.c:

#ifdef XKB
    {
    int opcode, evbase, errbase, majret, minret;
    unsigned int value = XkbPCF_GrabsUseXKBStateMask;
    if (XkbQueryExtension (dpy, &opcode, &evbase, &errbase, &majret, &minret)) {
        if (!XkbSetPerClientControls (dpy, XkbPCF_GrabsUseXKBStateMask, &value))
            LogError ("%s\n", "SetPerClientControls failed");
    }
    }
#endif

The system behaves properly, as far as I can tell, other than logging
this message when XDM starts (or restarts after a user logs out).  But
I'm a bit curious about what's happening here.  What is the purpose of
the XkbPCF_GrabsUseXKBStateMask?  Is this a security risk that I'm
failing to set that flag?  (I'm worried since this is pretty close to
the place where the user is authenticated, and I don't want passwords
being grabbed.)

CC's to me appreciated, though not required.

Damian Menscher
-- 
-=#| Physics Grad Student & SysAdmin @ U Illinois Urbana-Champaign |#=-
-=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=-
-=#| 1429 DCL, Workstation Services Group, CITES Ofc:(217)244-3862 |#=-
-=#| <[EMAIL PROTECTED]> www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=-

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to