[Top][All Lists]

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

RE: [Xnee-devel] Help needed using xnee

From: Kumar, Naveen (Naveen)
Subject: RE: [Xnee-devel] Help needed using xnee
Date: Mon, 13 Apr 2009 11:37:30 +0530

Henrik, thanks a lot for the detailed help.


-----Original Message-----
From: Henrik Sandklef [mailto:address@hidden 
Sent: 11/04/2009 13:47
To: Kumar, Naveen (Naveen)
Cc: address@hidden
Subject: Re: [Xnee-devel] Help needed using xnee

Kumar, Naveen (Naveen) wrote:
> Hello,
> 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.

> Thanks,
> Naveen
> ------------------------------------------------------------------------
> _______________________________________________
> Xnee-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/xnee-devel

reply via email to

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