Re: NEWBIE : Detect and restart closed apps.



Jacques Basteyns wrote:

This works when you have 3 users issuing each the xclock start command.
But it fails if only one user(at the server) is issuing it 3 time (to
display xclock on each ThinClient)
as if we had USERS="UniqueUser" in above script. That's the problem we try
to solve.
Anyway, thanks for your interest.


#!/bin/sh

Display="192.168.1.5:0 192.168.1.6:0 192.168.1.7:0"
SLEEPTIME=600

while true
do
for i in $Display
do
(ps -wfp `pgrep Xclock` | grep $i) > /dev/null 2>&1
if [ $? -ne 0 ]
then
echo run program to start Xclock on DISPLAY $i
fi
done
sleep $SLEEPTIME
done




.



Relevant Pages

  • Re: NEWBIE : Detect and restart closed apps.
    ... But it fails if only one user(at the server) is issuing it 3 time (to ... display xclock on each ThinClient) ...
    (alt.os.linux.redhat)
  • Re: how to build wince os design templates with qvga support?
    ... Do you mean that you cannot select the QVGA catalog item? ... I am developing bsp and i could build a thinclient application with ... i have a 240*320 screen and the thinclient setup wizard ... how can i build a ip phone with qvga display and ui. ...
    (microsoft.public.windowsce.platbuilder)