a: cannot connect to X server :0.0 Application finished with exit code 1
I was created an application for Beaglebone black(BBB) board in QT-5.2v by using arm based cross compilers (qt-everywhere-opensource-src-4.8.7.tar) on Ubuntu-12.04v-(32 bit) .
I will connected to BBB board through ssh network.followed by this video as a reference [https://www.youtube.com/watch?v=eLr35wUrz6Q].if i was run an application in qt it will show message "cannot connect to X server :0.0 Application finished with exit code 1".
If i run that executable file in BBB board by using "tightvnc viewer" because it doesn't have a physical display. It will execute a GUI frame and automatically closed. and i used this [http://thoughtwaves.com/?p=50] document for build "qmake".
There's an issue here, you're mentioning Qt 5.2 but built from Qt 4.8.7.
What exactly are you using ?
Just in case, it might be a good idea to consider updating your setup. Using a 7 years old distribution with a version of Qt that is 10 minor releases behind the current LTS is not a good idea.
I build qmake cross-compiler version is 4.8v.
and QT version 5.2.
as reference of this document.[http://thoughtwaves.com/?p=50](link url)
From the looks of it, the Qt 5 installation instructions are only to get Qt Creator. In any case, get the latest up to date version.
Now for Qt 4, you don't seem to have cross-compiled a Qt for Embedded Linux version so you need to have an X server running on your BBB for it to work.
Then again: why use Qt 4.8 ?
X server already installed and running on my BeagleBone Black(BBB) board.
Basically i am the beginner for QT platform and my intention is to develop a basic GUI application for BeaglBone Black. That is the reason i followed that url Document about using QT4.8((qt-everywhere-opensource-src-4.8.7.tar)) and one more thing is i didn't find those mkspeces and arm-linux-gnueabi(cross-compiler)'s in later than QT4.8((qt-everywhere-opensource-src-4.8.7.tar)).
if you don't mind could you please suggest the way how to develop & run a basic QT application for BeagleBone Black(BBB).
I was running an application through remote server from QT to my BBB device, it will shows an error.
If i run that executable file in BBB board by using "tightvnc viewer" because it doesn't have a physical display.
You have to tell your application to use the VNC backend.
Sekhar last edited by Sekhar
I don't know how to run as my application on VNC backend. could you plese tell me the way how to tell to my application to use it in QT.
i was followed this [https://doc.qt.io/archives/qt-4.8/qt-embedded-vnc.html](link url). but it doesn't work.
It's in the documentation here.