The attached patch will is for GDM 2.20.10 in the gnome-2-26 branch. It fixes bug #6886849.
This patch ensures that if the GDM configuration file specifies that a particular display is associated with "/dev/console" that this value is used when calling logindevperm, SunAudit, PAM_TTY, and utmp/wtmp processing. Note that by default GDM considers display ":0" as associated with "/dev/console". This fixes problems caused when VT was introduced and all console display started using "/dev/vt/#" as the device. This had the side effect of causing no graphical session started by GDM to get "Console User" privilege which has caused a lot of issues like: - bugster #6885612 - bugster #6885815 - bugster #6886416 - bugster #6886849 - doo #11620 Note that Gary Winiger is currently integrating a fix for CR #6890252 to update /etc/logindevperm into build 126. This GDM change and the /etc/logindevperm need to be made together to fix this bug. Brian -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: gdm-15-consoleuser.diff URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20091009/877cc42a/attachment.ksh>
