Help needed using xnee

View: New views
3 Messages — Rating Filter:   Alert me  

Help needed using xnee

by Kumar, Naveen (Naveen) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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.

 

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

 

Thanks,

Naveen

 


_______________________________________________
Xnee-devel mailing list
Xnee-devel@...
http://lists.gnu.org/mailman/listinfo/xnee-devel

Re: Help needed using xnee

by Henrik Sandklef-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
> Xnee-devel@...
> http://lists.gnu.org/mailman/listinfo/xnee-devel



_______________________________________________
Xnee-devel mailing list
Xnee-devel@...
http://lists.gnu.org/mailman/listinfo/xnee-devel

RE: Help needed using xnee

by Kumar, Naveen (Naveen) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Henrik, thanks a lot for the detailed help.

-Naveen

-----Original Message-----
From: Henrik Sandklef [mailto:hesa@...]
Sent: 11/04/2009 13:47
To: Kumar, Naveen (Naveen)
Cc: xnee-devel@...
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
> Xnee-devel@...
> http://lists.gnu.org/mailman/listinfo/xnee-devel



_______________________________________________
Xnee-devel mailing list
Xnee-devel@...
http://lists.gnu.org/mailman/listinfo/xnee-devel