in .bashrc on the Solaris machine. A user reported that he could set the value of the ESPEAKER environment variable to the Solaris machine itself and didn't need to use esound on Windows, but I did not verify this.
This problem with slow log out from Solaris Java Desktop using XWin 32 has been bugging me for months!
I've searched Oracle Support so many times and found nothing, but this has fixed it.
I figured looping it back on itself would be fastest if it works, and it does! I've added the following line to the .profile of my users who require XWin.
Log out now works instantly.