Hello Experts,
Getting following error while execute cmd from ssh :-
[root@200 ~]# separateBod
ENTER SERVER IP LAST 1 QUADRANT WHICH YOU WANT TO BOD:
119
Option "-t" is deprecated and might be removed in a later version of gnome-terminal.
Option "-t" is deprecated and might be removed in a later version of gnome-terminal.
Failed to parse arguments: Cannot open display:
separateBod Code:-
#!/bin/bash
printf "ENTER SERVER IP LAST 1 QUADRANT WHICH YOU WANT TO BOD"
read IPNAME
for i in $IPNAME
do
ssh user@192.168.1.$i BOD & pid=$!
done
BOD Code:-
#!/bin/bash
gnome-terminal \
--tab -t "Exchange" -e " sh -c 'sleep 1s; ./startapp Exchange' "\
--tab -t "Dragon" -e " sh -c 'sleep 10s; ./startapp Dragon' "\
startapp code:-
ulimit -c unlimited
export LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH}
./$1 $2 $3 $4 $5
After giving execution cmd from server (ssh) it should be displayed on other server vnc (user@192.168.1.119), it was working properly till last week suddenly i got this error, we have following versions of CentOS 64bit (6.7, 6.8, 6.9, 7.4), getting issue only with 7.4 64bit.
please suggest.
Our community of experts have been thoroughly vetted for their expertise and industry experience.