Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

X11 ssh forwarding not working with imshow.

Hello, I have an embedded board and I want to connect the embedded board with ssh -X and play video on the host side. But when I connect and execute mine code via ssh -X, imshow shows video on its touchscreen, not in the host.

Information:

  • OpenCV version is 3.2.0

  • Host machine is ubuntu 16.04 ( I also tried with Ubuntu 18.04 )

I checked that X11Forwarding is YES in /etc/ssh/sshdconfig in embedded board.

Also when I execute echo $DISPLAY in terminal after connecting embedded device, localhost:11.0 is returned.

Do you have any idea about this issue ? Thanks for your helps !

X11 ssh forwarding not working with imshow.

Hello, I have an embedded board and I want to connect the embedded board with ssh -X and play video on the host side. But when I connect and execute mine code via ssh -X, imshow shows video on its touchscreen, not in the host.

Information:

  • OpenCV version is 3.2.0

  • Host machine is ubuntu 16.04 ( I also tried with Ubuntu 18.04 )

I checked that X11Forwarding is YES in /etc/ssh/sshdconfig in embedded board.

Also when I execute echo $DISPLAY in terminal after connecting embedded device, localhost:11.0 is returned.

When I play video with ffplay after connecting embedded board with ssh -X, I can see the video in the host side.

Do you have any idea about this issue ? Thanks for your helps !