SUMMARY: Dtsession locking and autologout

From: Colin J. Wynne (cwynne@brutus.mts.jhu.edu)
Date: Mon Mar 03 1997 - 17:51:32 CST


-----BEGIN PGP SIGNED MESSAGE-----

Thanks to several responses, I got one way of taking care of my
problem. I originally posted to ask about ways to deal with an
autologout setup for CDE's built-in screenlocker.

Well, there were no suggestions on how to do this, but Richard Skelton
<rich@brake.demon.co.uk> did point me towards some CDE
reconfiguration. Screen locking is defined in the file

  /usr/dt/appconfig/types/C/dt.dt

to use a built-in function, via the directive

  ACTION LockDisplay

I added a new definition for this ACTION under

  /etc/dt/appconfig/types/C

Now, with the definition

  ACTION LockDisplay
  {
          LABEL LockDisplay
          ARG_COUNT 0
          TYPE COMMAND
          WINDOW_TYPE NO_STDIO
          EXEC_STRING /usr/bin/X11/xlock -remote
          DESCRIPTION The LockDisplay action locks the workstation. \
                        You must know the user's or root password to \
                        unlock the workstation.
  }

in a file under that directory, I can specify what the default locking
action is (and I have setup xlock---actually xlockmore---to support
autologout).

Thanks also to Marc A Maier <mmaier1@osf1.gmu.edu> who suggested some
script-based solutions for watching users' dtsession processes and
weeding based on that.

Sorry for the long turn around time on this summary, but this was the
first chance I got to try out Richard's selection.

CJW

- --
**********************************************************************
    /\ Colin J. Wynne Johns Hopkins University
   (()) Dep't of Mathematical Sciences
  /____\ ``Lunatic-at-Large'' E-Mail: cwynne@mts.jhu.edu
 /______\
/________\ ``C'Thulhu makes Gozer look like `Little Mary Sunshine.' ''
                  --Egon Spengler, ``Collect Call of C'Thulhu'' (TRGB)
**********************************************************************

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: http://www.mts.jhu.edu/~cwynne/

iQCVAwUBMxtj73EHfObrVHptAQFBYwP9EelHNRY/bj5p4Co2nDaIN4k/9TXebLOI
SlM2l73bLoepwK0Mau31skyQfM23W02jJn6yY78k8sx/iwtIU9igr1mKoiJP7eqX
N5807DQJuDRf2BqAEO29fojbjOCTj/Vq0w3aC8hmT/Ly3MjS7Pb8cFUA3aL0h7Zz
raj/bxSyYgY=
=WVya
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:47 CDT