cross compiled qt for BBB
-
@Asha said in cross compiled qt for BBB:
what it means?
That X11 server is not running on your device I guess.
-
the running OS is debian.
i cross compiled qt ,i am running the executable in my laptop through board,i installed vnc software in my laptop ,in this vnc server i am able to see the output..but while connecting the display i am getting that error..
can i install vnc software in my beaglebone board,and after that executing that exe file ,can i get the output in display?
-
@Asha said in cross compiled qt for BBB:
can i install vnc software in my beaglebone board
There is no need to do this if you want your app running on directly connected display! VNC is for REMOTE access.
"how to run that or how to enable that server on my board?" - simply install a desktop environment like XFCE/Gnome/... or at least a window manager, it will install X11 as well. But I'm wondering how you plan to use your device if you do not even know what is actually running there and what you actually want to use on the device?
-
@jsulm said in cross compiled qt for BBB:
desktop environment like XFCE/Gnome/
I have debian desktop on my display(beagleboneboard),
when I boot the sdcard,i am able to see debian os on my display screen(even two to three folders also i am able to see)but while executing this qt exe file only i am getting that error..
-
@Asha said in cross compiled qt for BBB:
i am able to see debian os on my display screen(even two to three folders also i am able to see)
Please post an screenshot or picture of that display, and state if such display is attached to the board OR if the display of your laptop you connect to your device.
-
@Asha said in cross compiled qt for BBB:
debian desktop
There is no such thing. Debian is a Linux distribution and can be used with many different desktops and window manager.
What doesps -e | grep X
output?
-
-
@Asha said in cross compiled qt for BBB:
while running that command in beagleboneboard(via ssh) not getting anything..
when there is no XServer running. Just to be sure: you're running this command when the graphical desktop is shown?
You need to find out what is used on your device. Could be directfb for example. -
@jsulm said in cross compiled qt for BBB:
you're running this command when the graphical desktop is shown?
no,
I run that command without the connecting display..
ps -e | grep Xthis command displays all process status which are running right..
one more thing I want to clear,
"I put sdcard in my board,and executing the qt application without connecting the display, then getting the same error Qxcb"
but
"without sdcard, I am executing the qt application ,then its asking
Qvnc server created on port 5900"
when I execute the VNC software in my host machine, I am able to see the output..
-
@Asha said in cross compiled qt for BBB:
no,
Then make sure your display is connected and you can see graphical desktop and then run the command...
-
@Asha said in cross compiled qt for BBB:
so what it means?
So, now X server is running. But your app doesn't start, right?
You get "Qxcb connection:could not connect to the display"?
Do you start your app as root or normal user? -
-
@jsulm said in cross compiled qt for BBB:
You get "Qxcb connection:could not connect to the display"?
yes
Do you start your app as a root
this means ,first i need to do
ssh debian@192.168.7.2
after this sudo suroot@beaglebone:
now I need to run the application right?
but what about that normal user?
I need to run it on my Desktop machine?
without ssh? -
@Asha said in cross compiled qt for BBB:
after this sudo su
NO! You should not start it as root.
Can you connect a keyboard to your device and start directly there without SSH.