ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you were doing this normally, you would ssh to your remote machine with ssh -X to enable X forwarding, and then any graphical programs that run remotely would be displayed locally.

Since roslaunch is running ssh for you as part of the launch process, you'll need to find a way to pass the -X flag to the ssh client. There don't appear to be any command-line arguments to roslaunch that do this.

It looks like you can edit your ~/.ssh/config to include the ForwardX11 option to automatically turn on X forwarding. See: http://linux.die.net/man/5/ssh_config

A section like this in your SSH config should turn it on for only the remote host you're interested in:

Host lili-pc.local
ForwardX11 yes