[comp.sys.next] LoginHook app.

laurie@vax5.cit.cornell.edu (01/15/91)

Has anyone else had problems with the LoginHook option of the loginwindow
program under system 2.0?   Originally I thought it was the MOTD application
that was causing the problem.  But any application will cause the same
symptoms.  The first login through the window server works fine, the
LoginHook application executes correctly.  But after the first session is
logged out, all other window server sessions are refused.

Does anyone have any ideas?

Laurie Collinsworth
CIT/Workstation Systems
Cornell University
laurie@trumpet.cit.cornell.edu

lane@SUMEX-AIM.STANFORD.EDU (Christopher Lane) (01/15/91)

>Has anyone else had problems with the LoginHook option of the loginwindow
>program under system 2.0?   Originally I thought it was the MOTD application
>that was causing the problem.  But any application will cause the same
>symptoms.  The first login through the window server works fine, the
>LoginHook application executes correctly.  But after the first session is
>logged out, all other window server sessions are refused.

Jan Sanislo (oystr@maui.cs.washington.edu), who was also having trouble with a
different LoginHook, pointed this out to me as well.  The problem seems to be
that on subsequent uses (after the first) the LoginHook (MOTD in this case)
can't make a connection to the window server:

Jan 14 08:16:09 ssrg-next-1 MOTD[2541]: DPS client library error: Could not
form connection, host local host

I hope to have time to try to track this down soon (I'm busy installing a
bunch of NeXTstations) but if anyone has any suggestions of how to fix the
problem, please let me know and I'll get a working version of 2.0 MOTD out to
the archive servers ASAP.

- Christopher

-------

slezakm@beasley.CS.ORST.EDU (Mark R. Slezak) (01/15/91)

     I have also had problems with the login/out hooks and I have noticed all
of the on-line documentation refering to the loginwindow has gone. It had 
been a while since I set the defaults on for the loginwindow and was annoyed
when I had to go back to the 1.0 OD for the online docs...

     Does anyone know the "real" info on these?

 Mark.
+-----------------------------------------------------------------------------+
 Mark R. Slezak                                       slezakm@ucs.orst.edu
 Integration, Training & Support - UCS                NeXT Mail is ok...