When you SSH, you don't have a graphical display instance to use. This post
might lead you in the right direction:
https://askubuntu.com/questions/47642/how-to-start-a-gui-software-on-a-remote-linux-pc-via-ssh#47658

oli@bert:~$ ssh tim
oli@tim:~$ export DISPLAY=:0
oli@tim:~$ firefox


Jeremiah Bess


On Fri, Feb 26, 2021 at 6:59 AM Dhanush Eswar <dhanushes...@gmail.com>
wrote:

> Hi all,
> I am trying to display images and videos on RPI using SSH, I have written
> Python program with the help of opencv
> <https://pypi.org/project/opencv-python/>, I am getting no error If I run
> the python program on RPI manually and works fine, When I try to run the
> python file through the SSH I am getting this error as follows,
>
>
>
> *qt.qpa.xcb: could not connect to displayqt.qpa.plugin: Could not load the
> Qt platform plugin "xcb" in
> "/usr/local/lib/python3.8/dist-packages/cv2/qt/plugins" even though it was
> found.This application failed to start because no Qt platform plugin could
> be initialized. Reinstalling the application may fix this problem.Available
> platform plugins are: xcb.Aborted (core dumped)*
>
> Help me with some ideas...
>
> Regards,
> Dhanush
>
> --
> --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to linuxusersgroup@googlegroups.com
> To unsubscribe, send email to linuxusersgroup+unsubscr...@googlegroups.com
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
> ---
> You received this message because you are subscribed to the Google Groups
> "Linux Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to linuxusersgroup+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/linuxusersgroup/92e402da-ebbd-4f99-9dab-c09263f97618n%40googlegroups.com
> <https://groups.google.com/d/msgid/linuxusersgroup/92e402da-ebbd-4f99-9dab-c09263f97618n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxusersgroup@googlegroups.com
To unsubscribe, send email to linuxusersgroup+unsubscr...@googlegroups.com
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linuxusersgroup+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/linuxusersgroup/CAN%2BraesOMkknV%3D4Z8bTp%3DzYFHg6hzfaBZeS%2BNjLL4%3DJWk5xtuw%40mail.gmail.com.

Reply via email to