How to open a new terminal at the OS side through SSH between OS and ROS
Hi everyone
I'm trying to use SHH to communicate between OS and ROS. Currently, I'm able to send the individual command one by one from OS to bring up all the serves at ROS side. But when I try to send a command to run my .bash file (the .bash is able to bring up everything if I run the /xxx.bash at ROS terminal) to one short to execute every individual command and server, the OS side will shows "Failed to parse arguments: Cannot open display:
". This problem looks like is the OS side cannot open a new terminal to display.
My question is : 1. it's there any better way to communicate between OS and ROS? 2. how to open a new terminal at the OS side ?
Thank you so much
Asked by Zero on 2017-03-15 07:13:31 UTC
Answers
I always use ssh to connect to my remote pc running ROS.
I suppose that: - you are using -X flag starting shh ($> ssh -X user@host) to forward X - XForwarding is enabled on your remote PC (X11Forwarding yes in /etc/ssh/sshd_config)
Try to type
echo $DISPLAY
probably it will return nothing and this should be the cause of failed string parsing.
Asked by afranceson on 2017-03-15 09:06:08 UTC
Comments
Can you list the exact commands you are using?
Asked by Airuno2L on 2017-03-15 09:45:28 UTC
This question is about ssh and is off topic for this forum.
Asked by tfoote on 2017-03-15 15:09:34 UTC