luxai-qtrobot / QA

Virtual repository for Questions & Answers system
http://luxai-qtrobot.github.io
5 stars 0 forks source link

face recognition (Could not connect to display) #26

Open ZouJennie opened 4 years ago

ZouJennie commented 4 years ago

I downloaded the package of qt_face_recognition on QTPC from github and when I roslaunch it with command roslaunch qt_face_recognition qt_face_recognition.launch, there is an error:


QXcbConnection:Could not connect to display

[image_view-2] process has died [pid 27683, exit code -6, cmd /opt/ros/kinetic/lib/image_view/image_view image:=/face_recognition/out __name:=image_view __log:=/home/qtrobot/.ros/log/2a0ab0ce-5a1a-11ea-a602-b827ebcff20c/image_view-2.log].

log file: /home/qtrobot/.ros/log/2a0ab0ce-5a1a-11ea-a602-b827ebcff20c/image_view-2*.log```
qtrobot commented 4 years ago

@ZouJennie I imaging you are launching the qt_face_recognition app from SSH terminal, right?

some of the app's has GUI and needs XServer. this means that you can run them either

Please notice that this is neither QTrobot-related issue nor ROS. You need to understand how linux graphic works. :)