X11 forwarding for remote development


I have a Docker container which I'm using to compile and debug my app, but when I want to view images (using OpenCV's imshow function) it throws an error. The problem is that Clion is not using -X option to connect through SSH, and I don't see how can I configure that.

I've tried running the compiled script through SSH using -X option, and it shows me the image in my host machine, so I'm sure that's the problem.

Thanks in advance.


Please sign in to leave a comment.