Patch-ID# 108920-22
Keywords: security dtlogin smartcard xsession remote login displays screen
Synopsis: CDE 1.4_x86: dtlogin patch
Date: Sep/30/2004


Install Requirements: Reboot after installation                      
                      
Solaris Release: 8_x86

SunOS Release: 5.8_x86

Unbundled Product: CDE

Unbundled Release: 1.4_x86

Xref: This patch is available for sparc as patch 108919

Topic: 

Relevant Architectures: i386

BugId's fixed with this patch: 1261536 4072784 4293300 4293551 4299160 4302209 4317622 4328385 4346072 4379999 4421008 4423832 4427612 4449245 4452626 4452627 4457724 4479194 4504537 4511885 4519969 4648724 4667119 4668854 4687193 4697287 4750889 4768118 4840141 4849776 4962013 4980138 5006986 5022437

Changes incorporated in this version: 4980138 5006986 4962013

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 108653-18 or greater

Obsoleted by: 

Files included with this patch: 

	/usr/dt/bin/dtgreet
	/usr/dt/bin/dtlogin
	/usr/dt/config/C/Xresources
	/usr/dt/config/Xsetup
	/usr/dt/config/svc/CDE.lcx
	/usr/dt/config/svc/SunOS.lcx
        /usr/dt/bin/dtchooser
        /usr/dt/config/Xreset
        /usr/dt/config/Xstartup
/usr/dt/bin/Xsession

Problem Description:

4980138 'Return to login screen' from dtchooser fails in multiuser environment
5006986 dtlogin can hang in signal handler when run in debug mode
4962013 dtchooser goes straight to greeter when multiple choosers execute concurrently
 
(from 108920-21)
4849776 master dtlogin process randomly dying, breaking all X connections
4697287 S9U1 BETA: Invalid shell in /etc/password throws dtlogin for a loop
5022437 dtlogin crash on bogus XDMCP request
 
(from 108920-20)
4840141 /usr/dt/bin/Xsession makes invalid assumptions for hostname.domain
 
(from 108920-19)
4687193 Choosing a locale at dtgreet affects the default locale for all later
 
(from 108920-18)
4768118 non-CDE login works but dtlogin doesn't work w/Unable to access
 
(from 108920-17)
1261536 console messages overwrite the local screen when running on remote XDM
 
(from 108920-16)
4750889 Login displays blank screen for approximately 10 seconds
 
(from 108920-15)
4668854 Solaris 8 Xsession do not read $shellprofile if DTSOURCEPROFILE TRUE
4667119 Remote login from host list isn't working
4648724 dtlogin small memory leak with SunRay SmartCard
 
(from 108920-14)
4519969 dtlogin parent process crashes on Sun Ray server (S8 update and S9)
 
(from 108920-13)
4452626 PAM message required to bring up window with buttons
4452627 dtlogin should register with PAM using a different client name when on SunRay
4457724 CDE's dtlogin program does not support multi-line PAM prompts
4504537 dtlogin cannot start CDE for NIS user with $HOME/.. permissions set to 750
4511885 Fix to bug 4427612 causes memory corruption.
 
(from 108920-12)
4479194 Beta: In NSC mode, users can not log in when using NFS home directories
 
(from 108920-11)
4427612 export $DISPLAY environment variable to dtlogin so PAM modules can see
 
(from 108920-10)
4449245 dtlogin assumes siginfo_t is not null in CatchUsr1
 
(from 108920-09)
4421008 dtlogin hangs intermittently when trying to login to sunray server
 
(from 108920-08)
4423832 Screen flashing problem with dtchooser screen, keeps looping back.
 
(from 108920-07)
4317622 dtlogin doesn't present the "remote login" option when many dtlogins
 
(from 108920-06)
4379999 UR4, s9: tr_TR.UTF-8 needs to be included in Xresources for dtlogin
 
(from 108920-05)
4293551 dtsession in xinerama mode should (optionally) not center the logout dialog box
 
(from 108920-04)
4328385 /dev/null permissions/ownership change on Solaris 8 system
 
(from 108920-03)
4346072 dtlogin hangs and crashes under high system load
 
(from 108920-02)
4299160 blank X windows screen while using remote dtlogin
 
(from 108920-01)
4072784 change "sdtdbcache" to "dtdbcache"
4293300 Password prompt is not displayed after user name is entered
4302209 dtlogin/dtgreet ignores *matte.x and *matte.y resources

Patch Installation Instructions:
--------------------------------
Refer to the man pages for instructions on using 'patchadd' and 'patchrm'
scripts provided with Solaris.  Any other special or non-generic
installation instructions should be described below as special
instructions.  The following example installs a patch to a standalone
machine:
 
	example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
	example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
-----------------------------
 
NOTE 1:
In order to get full xinerama support (bug 4293551), install the following
patches in addition to this patch:
 
        109355-05 (or newer):   CDE 1.4_x86: dtsession patch
        108922-08 (or newer):   CDE 1.4_x86: dtwm patch
 
NOTE 2:
In order to get full functionality of fix 4452627, install the following patch
in addition to this patch:
 
        109355-12 (or newer): CDE 1.4_x86: dtsession patch
NOTE 3:
 
Reboot after installed patch 108920-18
 
 
Special Notes:
--------------
 
NOTE 1:
RFE 4293551 dtsession in xinerama mode should (optionally) not center
	    the logout dialog box
=====================================================================
 
Sun(tm) delivers a version of CDE that has been extended to provide
some basic support when run in multi-headed Xinerama mode.
 
This support is to make the positioning of the following CDE dialogs
resource configurable:
        - Login (a.k.a. dtgreet)
        - Logout Confirmation
        - Unlock Display
        - Restart Workspace Confirmation
        - Move/Resize Coordinates.
 
The reason for making these dialogs configurable in terms of their
window positioning is obvious, they are all non-movable.  That is,
these dialogs are all centered in the logical screen regardless of the
number of physical monitors available.  Without the ability to
configure these dialogs, they will be split across monitors and will
cause many ease-of-use issues.
 
CDE patches (108922-08, 109355-05, 108920-05, or newer) and the Xsun patch
(108653-18, or newer), when installed together, allow the user to configure
the positioning of the previously mentioned dialogs using the following X
resources:
	xineramaDefaultFramebuffer
	xineramaCenterHintX
	xineramaCenterHintY
 
Resource Description
========================
 
If the xineramaDefaultFramebuffer resource has a value between 0 and
(n-1), within the Xinerama screen, then dialogs will be centered on
that framebuffer.
 
If the xineramaDefaultFramebuffer resource has a value of -1, then
dialogs will be centered using the values in xineramaCenterHintX and
xineramaCenterHintY.
 
To set resources system-wide, copy Xresources and sys.resources from
/usr/dt/config/C to /etc/dt/config/C and add the appropriate lines.
Setting resources in the Xresources file affects Login, while setting
them in sys.resources affects Logout Confirmation, Unlock Display,
Restart Workspace Confirmation, and Move/Resize Coordinates.
 
Note that the resources for dtlogin, and thus the position of the Login
dialog, cannot be set on a per-user basis on a single machine because
dtgreet is run from root before the user is identified.  The position
of the other dialogs can be set on a per-user basis by creating or
modifying the appropriate resource files in the user's HOME directory,
.Xdefaults.
 
The X resources have no effect if Xinerama is not being used or if
their default values are -1.
 
Example of using these resources
================================
 
The following are a few examples assuming a two-headed system.
 
1) To set Login, Logout Confirmation, Restart Workspace Manager
Confirmation, Unlock Display and the Resize/Move Coordinate dialogs
centered on the first screen:
 
*xineramaDefaultFramebuffer: 0
 
in both Xresources and sys.resources files.
 
Alternatively to have these dialogs centered on the second screen. Set:
 
*xineramaDefaultFramebuffer: 1
 
in both Xresources and sys.resources files.
 
2) If desired, these dialogs do not have to be centered on a particular
screen.  Instead you can position them anywhere within the entire
Xinerama screen by setting their X and Y coordinates.  Taking a
two-headed system, each screen is 1024 pixels high by 1024 pixels wide,
it is possible to place the dialogs in the lower left part of the
second screen.  To position the dialogs 100 pixels to the left of the
second screen and 200 pixels from the bottom, set the following
resources:
 
*xineramaDefaultFramebuffer: -1
*xineramaCenterHintX: 1124
*xineramaCenterHintY: 824

README -- Last modified date:  Thursday, September 30, 2004

