Minicom (and serial terminals in general) have no means to display 
graphics. You need an X server for that. There are at least two ways to do 
that: run the X server on BB itself, displaying to its HDMI; or use the X 
server on your host machine by connecting to the BB with "ssh -X" instead 
of over serial. X protocol will happily work over a network connection.

On Thursday, June 19, 2014 3:09:39 AM UTC-7, hari wrote:
>
> Hello,
> I have done export DISPLAY=.0. Still the error exists.
> I have a doubt isn't it possible to display the execution of beagleboard 
> program using usb-serial cable on my laptop????
> Or is it necessary to use HDMI to DVI-D cable and connect to a monitor to 
> execute an opencv program??? Pls help me in this regard.
> Awaiting your valuable response.
>
> Thanks,
> Hari
>
>
> On 4 June 2014 15:12, liyaoshi <[email protected] <javascript:>> wrote:
>
>> #export DISPLAY=:0
>>
>>
>> 2014-06-04 15:23 GMT+08:00 hari <[email protected] <javascript:>>:
>>
>>> Hello,
>>>
>>> I have copied opencv programs into sd card and put it on my 
>>> beagleboard-xm ubuntu and ran it as root on minicom. I have already 
>>> installed opencv,libwebcam,etc and compiled a sample c program-hello.c   
>>>  It works well.
>>> *But when I compiled an opencv program to display an image it shows 
>>> "Gtk-warning: cannot open display"*.
>>> Can anyone please find a solution for this.
>>> After solving this problem only I can go forward. Awaiting your response 
>>> regarding this.
>>>
>>> Thanks.
>>> Hari
>>>
>>> -- 
>>> 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] <javascript:>.
>>>
>>> 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/Iwlv_LsZdu0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> 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.

Reply via email to