closing "externally" a CDE session

From: Theis Jean-Marie 77-21 theis_at_drfc.cad.cea.fr <theis_at_drfc.cad.cea.fr>
Date: Tue, 20 Apr 1999 10:23:18 +0200

Hi all

I need to make an automatic (and clean) logout of CDE sessions at 10pm
to give all the system's resources for batch jobs.

So I try to close from a root's script all the forgotten CDE sessions.

I tried different ways to do that from root :
 o "dtaction -user UserName ExitSession"
   drawback : if the CDE has "logout confirmation ON" a confirmation
panel pops up on session (and nobody to confirm!!!):(
 o kill -15 on the user's dtsession process logouts the session and its
children but don't give any chance to save current session , so the next
session is completely "blank" :o
 o kill -1 on the user's dtsession process give almost the same result
but the session seems (?) to restart on the previous-previous session :|

Is there another way I didn't find ? a kind of "dtaction -user UserName
ExitSession -force" which simulate a clean and complete logout?

Thanks a lot for your help !

-- 
Theis Jean-Marie
System enginee-operat-magician-Everything-And-The-Rest-ministrator
CEA ( Cadarache France )
theis_at_drfc.cad.cea.fr
Received on Tue Apr 20 1999 - 08:28:16 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT