[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xnee-devel] Help needed using xnee

From: Henrik Sandklef
Subject: Re: [Xnee-devel] Help needed using xnee
Date: Sat, 11 Apr 2009 10:16:43 +0200
User-agent: Thunderbird (X11/20090105)

Kumar, Naveen (Naveen) wrote:

All I want to do is just this. On one linux machine-A, I use a NX session 
display and record the Putty client activities using cnee. The putty activities 
include opening a new telnet/ssh sessions to other machine. During opening of 
the session, I need to handle cases like new window pop ups, selecting correct 
options (yes/ no tabs) in the pop up windows. And when the telnet/ssh session 
to hostX is successfully opened, I need to successfully type some commands and 
logout of the putty client. Well I have used cnee to record these activities 
(say xnee_putty.xnl) and I am able to replay the same on this NX session of 
linux machine-A.

Both linuxA and linuxB can reach hostX.

Now my question is, I want to run this recorded program on different remote 
linux machine-B every half an hour or so. Machine-B has just xnee, putty 
software installed and xnee_putty.xnl is copied. And I want to launch the cnee 
replay of  xnee_putty.xnl as a background process in machine-B. Here I don't 
open any NX display to run this program.

Running the process in the background is handled by the OS. In my preferred shell (bash) i simply do:

 cnee tons-of-args &

note the '&'

if you want to replay to another display, either do it the X way:

  export DISPLAY=host-to-replay-to:0
  cnee -tons-of-args

or do it using --display option

  cnee -tons-of-args --display host-to-replay-to:0

Is this possible to successfully run this on B without opening any NX session 
or desktop display?

Not sure what you mean with display. I assume display is in X terminology. If so, yes you do need a display to replay to.

If you however want to automate stuff and not have a physical display I suggest you check out the beatiful program Xvfb.



Xnee-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]