If you are using debian SSH to your BBB but instead of loging in as root log in as username: debian (or whatever local username you use) password: temppwd (or local password)
export DISPLAY=":0" xhost + Then try running your application On Fri, Apr 11, 2014 at 10:13 AM, David Lewin <[email protected]> wrote: > Besides, the app is starting well as if I try with >> >> ssh -C -X root:root@192..... /home/Qt_app/myApp > > > the app is shown in the local display > > > 2014-04-11 16:46 GMT+02:00 David Lewin <[email protected]>: > > From your capture, it seems that you use a "traditional" display, so you >> are able to use the local lxde terminal. >> While I use ssh session (I can't use the 4" display to type directly in) >> to connect to the board and run the app there.... >> >> >> 2014-04-11 1:20 GMT+02:00 Hussam Hertani <[email protected]>: >> >> David, here's a pic of the same app running in LXDE based on the >>> latest official Debian image that I downloaded from: >>> http://beagleboard.org/latest-images >>> >>> Make sure that you use a 4GB+ microsd. After burning the image onto >>> the microsd, make sure you expand the root filesystem....you will need >>> the space. >>> >>> Hussam >>> >>> >>> >>> >>> >>> On 4/10/14, Hussam Hertani <[email protected]> wrote: >>> > David, >>> > If you are running an image with a Debian root filesystem this should >>> work >>> > no problems. I don't think that the QT4 built in the Debian apt-get >>> armhf >>> > repos was built with the -qws and -linuxfb options. As such it should >>> only >>> > work with X11. But I could be wrong as I can't quite confirm it. >>> > >>> > I use the demo image available here.. >>> http://elinux.org/BeagleBoardDebian. I >>> > always used it...never really bothered with angstrom even with the >>> older >>> > Beaglebone white. This image is headless and somewhat barebones. I also >>> > really like the new official Debian release >>> > http://beagleboard.org/latest-images. It comes with LXDE which is a >>> very >>> > good desktop environment for the BBB..... and........NodeJs......yuck! >>> > >>> > >>> > On Thu, Apr 10, 2014 at 12:29 PM, David Lewin <[email protected]> >>> wrote: >>> > >>> >> That a good example. >>> >> I've tried with the provided executable and build it myself also from >>> the >>> >> board : >>> >> both gave the same results, even with ssh+X >>> >> BUT, what I see is that you use a different image as me: I ve used the >>> >> git >>> >> repo and did a: >>> >> >>> >> beagleboard.org_image.sh http://beagleboard.org/source >>> >> >>> >> >>> >> to use the setup_sdcard.sh as explained. >>> >> >>> >> Maybe this is the problem root cause >>> >> >>> >> >>> >> 2014-04-10 18:00 GMT+02:00 Hussam Hertani <[email protected]>: >>> >> >>> >> David I'm currently running a headless setup on my BBB...I have xorg >>> and >>> >>> libqt4-dev packages installed (qt-sdk package encompasses libqt4-dev, >>> >>> qtcreator and some additional packages) >>> >>> >>> >>> - I SSHed into the BBB with X11 Forwarding: ssh -X >>> >>> [email protected] >>> >>> - Made a directory containing a sample application >>> >>> - built it using "qmake -project", "qmake" & "make" >>> >>> - and ran the binary successfully! >>> >>> >>> >>> This seems to work with SSH+X11 forwarding....I will try it with the >>> >>> latest Debian image +LXDE+Nodejs from >>> >>> http://beagleboard.org/latest-images here and report back. >>> >>> >>> >>> I'm attaching a compressed folder containing the example code and a >>> pic >>> >>> of the GUI UI as displayed over SSH+X11. I'm running Debian Jessie >>> on my >>> >>> PC >>> >>> and the latest Debian demo-image (headless) >>> >>> http://elinux.org/BeagleBoardDebian on my BBB. >>> >>> >>> >>> >>> >>> Hussam >>> >>> >>> >>> >>> >>> >>> >>> On Thu, Apr 10, 2014 at 9:21 AM, <[email protected]> wrote: >>> >>> >>> >>>> >>> >>>> David, >>> >>>> Put "export DISPLAY=:0.0" in the /etc/profile, reboot and start X11 >>> >>>> i.e >>> >>>> lightdm/or LXDE. then try running the qt app binary again. I will >>> retry >>> >>>> this again myself and report back. >>> >>>> >>> >>>> Hussam >>> >>>> >>> >>>> >>> >>>> On Tuesday, April 8, 2014 11:26:34 AM UTC-4, dlewin555 wrote: >>> >>>>> >>> >>>>> Hi, >>> >>>>> >>> >>>>> Is there finally someone who succeeded to have a GUI compiled with >>> Qt >>> >>>>> (from Debian for example ) ? >>> >>>>> >>> >>>>> I've tested many things, and they either rely on Angstrom (which >>> I'd >>> >>>>> like to avoid) or don't work at all (Timesys included) >>> >>>>> >>> >>>>> So I'm looking for a successful try ... >>> >>>>> >>> >>>> -- >>> >>>> For more options, visit http://beagleboard.org/discuss >>> >>>> --- >>> >>>> You received this message because you are subscribed to a topic in >>> the >>> >>>> Google Groups "BeagleBoard" group. >>> >>>> To unsubscribe from this topic, visit >>> >>>> >>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe. >>> >>>> To unsubscribe from this group and all its topics, send an email to >>> >>>> [email protected]. >>> >>>> For more options, visit https://groups.google.com/d/optout. >>> >>>> >>> >>> >>> >>> -- >>> >>> For more options, visit http://beagleboard.org/discuss >>> >>> --- >>> >>> You received this message because you are subscribed to a topic in >>> the >>> >>> Google Groups "BeagleBoard" group. >>> >>> To unsubscribe from this topic, visit >>> >>> >>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe. >>> >>> To unsubscribe from this group and all its topics, send an email to >>> >>> [email protected]. >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> >> >>> >> -- >>> >> For more options, visit http://beagleboard.org/discuss >>> >> --- >>> >> You received this message because you are subscribed to a topic in the >>> >> Google Groups "BeagleBoard" group. >>> >> To unsubscribe from this topic, visit >>> >> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe >>> . >>> >> To unsubscribe from this group and all its topics, send an email to >>> >> [email protected]. >>> >> For more options, visit https://groups.google.com/d/optout. >>> >> >>> > >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "BeagleBoard" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/beagleboard/p9423s6B4lg/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
