I made the following changes to GDM: + Modified gdm-02-branding-general.diff to set AlwaysLoginCurrentSession=false since this requires VT to work for it to be set to "true". Solaris doesn't yet support VT. Setting it to true disallows you from runing Xnest and logging into another session as your user.
+ gdm-07-fixdesktop.diff: Fix the desktop files so gdmsetup appears in control-center + gdm-08-fixxnest.diff: I found a bug running Xnest where it was failing to start because the Xorg Xserver includes ":unscaled" in the PATH. We use the Xsun Xnest program which cannot handle these strings, so strip them. Xnest works after making this change. + gdm-09-no-gdm-in-cde-menu.diff: This patch moves the GDM desktop files to /usr/share/gdm/applications and GDM adds /usr/share/gdm to XDG_DATA_DIRS. This way these menu choices are only visible when using the GDM login program. You won't see them anymore when using CDE login. + chmod /usr/sbin/gdmsetup to 700 so gdmsetup only appears in your menu if you are the root user. This works because the desktop file has a TryExec. Since normal users don't have execute permission it doesn't show up. I notice that when you run GDM via Xnest that the "Show Desktop" applet crashes. I created this bug: http://bugzilla.gnome.org/show_bug.cgi?id=416369 Brian -------------- next part -------------- A non-text attachment was scrubbed... Name: gdm.diff Type: text/x-patch Size: 3908 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20070309/f7744289/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: gdm-07-fixdesktop.diff Type: text/x-patch Size: 780 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20070309/f7744289/attachment-0001.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: gdm-08-fixxnest.diff Type: text/x-patch Size: 1041 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20070309/f7744289/attachment-0002.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: gdm-09-no-gdm-in-cde-menu.diff Type: text/x-patch Size: 1280 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20070309/f7744289/attachment-0003.bin>
