blog/source/_posts/2017-04-13-solve-vivado-rem...

1.1 KiB

layout title date comments categories
post Solve 'Connection test failed for host' issue for Vivado on Ubuntu 2017-04-13 20:49:52 +0100 true
vivado
ubuntu
xilinx

When you are trying to get Vivado Remote Connections working on Ubuntu, you might have an issue to establish the connection. This can be easily solved by adding a symlink to your bash, called sh. You can do this for example using the following commands:

$ mkdir -p ~/.local/bin
$ ln -s /bin/bash ~/.local/bin/sh

Thanks to ole2 for providing this solution in the xilinx forum, which you can find here: forum post

As he points out, this seem to be a bug in Vivado. Vivado seems to call a script with #!/bin/sh and expects a bash to be executed. But for Ubuntu, /bin/sh points to /bin/dash per default. An alternative solution is to re-configure this link using:

$ sudo dpkg-reconfigure dash 

I had this issue in Vivado 2016.4 and Ubuntu 16.04 LTS.