The attached patch fixes a number of problems with GDM in 2.17:

1) Build 2.17 with the configure option --with-console-kit=no since
    GDM doesn't work on Solaris with this feature turned on yet.
    Without this change, authentication always will fail with GDM.

2) Call xterm with full pathname in /etc/X11/gdm/Xsession script
    since at this point the user's $PATH (say from $HOME/.profile)
    will override the default path, and it may not contain
    /usr/openwin/bin.  This ensures that xterm will start properly.
    I noticed this problem while fixing #4 below since I don't have
    /usr/openwin/bin in my personal $PATH.

3) Call ctrun with full path also since it is just safer.

4) Rename "Default System Session" to "Run Xclient script"
    since this more accurately describes what this choice does.
    Now if it can't find the Xclient script it pops up an error
    message in zenity and starts an xterm (like failsafe).  This
    is better than previous behavior where it tried to call xsm
    which doesn't exist on Solaris and generated a cryptic error
    message.  Thanks to Padraig for this patch.

5) Move CDE.desktop.in back to gdm-01-branding-defaults-solaris.diff
    since I now realize that this really is a solaris branding patch
    and not a general one.

6) In my last patch I fixed the name of the gnome.desktop from
    OpenSolaris to "Java Desktop System" but forgot to chagne
    the comment.  Now fixed.

Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdmimprovements.diff
Type: text/x-patch
Size: 15603 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20061128/0a81df18/attachment.bin>

Reply via email to