Unsolved qt.qpa.screen: QXcbConnection: Could not connect to display. Could not connect to any X display.
I'm using QT for designing my GUI for ROS.
It all running perfectly at host and client computer (both have qt with the same linux versions 18.04 and the same qt versions 5.13.1)
the problem occurs when i start using SSH and trying to run my GUI.
the error while doing SSH is :
qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display.
I have read and try this but the error still occurs.
anyone can help me?
tahnk you very much
Are you properly forwarding X with your ssh connection ?
Do you mean XAuthority?
I don't know how to forwarding X with my ssh connection
ssh -Xis a start.
Then it also depends on how your remote machine is configured.
ssh add parameter -X
ssh firstname.lastname@example.org -X