Ask Your Question

How to open a new terminal at the OS side through SSH between OS and ROS [closed]

asked 2017-03-15 07:13:31 -0500

Zero gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see for more details. by tfoote
close date 2017-03-15 15:09:39.078593


Can you list the exact commands you are using?

Airuno2L gravatar image Airuno2L  ( 2017-03-15 09:45:28 -0500 )edit

This question is about ssh and is off topic for this forum.

tfoote gravatar image tfoote  ( 2017-03-15 15:09:34 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-03-15 09:06:08 -0500

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


probably it will return nothing and this should be the cause of failed string parsing.

edit flag offensive delete link more

Question Tools



Asked: 2017-03-15 07:13:31 -0500

Seen: 213 times

Last updated: Mar 15 '17