Hi, To resolve bugster bug 6885612, we use workaround as following: We set device value to /dev/console if display number is :0 and device is like /dev/vt/# or " ? ". This will let user login in * on :0 gain the permission of devices.
Because the display :0 device is hardcoded as "/dev/console" rather than the actual vt device "/dev/vt/#", the User Siwtch applet won't go back to the display :0 session. This is how doo 12563 comes. With the attached patch, gdm will get the actual device again before calling ConsoleKit D-Bus interface OpenSessionWithPamameters. Thus, ConsoleKit database maintains correct VT information for Xorg session, For more information, please refer to http://defect.opensolaris.org/bz/show_bug.cgi?id=12563 This patch committed in gnome-2-28 branch as well as trunk. Thanks, Halton. -------------- next part -------------- A non-text attachment was scrubbed... Name: gdm-17-get-actual-vt.diff Type: text/x-patch Size: 3110 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20091126/c12e5b25/attachment.bin>
