AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only

Problem calling script from remote server

  • 1.  Problem calling script from remote server

    Posted 06/15/09 12:54 PM

    Originally posted by: SystemAdmin


    I have created 2 script, each at different server.
    Server A will call script at server B,by command
    #rsh serverB ./scriptlocation.sh

    It work properly,but in ./scriptlocation.sh itself ,it will call
    some other script in serverB. The problem is when subscript for ./scriptlocation.sh
    is called, it should refresh putty screen,but it dont. the next scripts appear to display
    menu at bottom.

    (but if run ./scriptlocation.sh from serverB, the menu display is CORRECT, it dont display at bottom,but
    it refresh the screen:i put clear command before calling the script)

    Should i export display

    rsh hostname "export DISPLAY=hostname_remote:0.0; /usr/dt/bin/dtterm -e /script_location"
    #AIX-Forum