Hello Marco,
Nice to hear you!

I saw that Xorg start correctly, then it try to launch xterm, but since this is 
not present in our system, it exit and close up everything.
I just replaced the execution of xterm with the execution of my application, 
and it works perfectly. I also know that by default Xorg stay alive until the 
last client application is not closed, but I would prefer to launch Xorg 
without clients, and then be able to start and close what I want without need 
to re-launch Xorg.

But I don't know how to do it...

Thank you
Ciao
Simone





> Il giorno 03/giu/2015, alle ore 15:36, Marco Cavallini 
> <cavallini.k...@gmail.com> ha scritto:
> 
> 2015-05-29 22:17 GMT+02:00 Simone <cjb.sw.nos...@gmail.com>:
>> Dear All,
>> I'm trying to use Xorg server on iMX53 and qt4.8
>> I got a working system, without too much difficulties.
>> 
>> The only one problem I have is that I'm not able to run Xorg as a separated 
>> server (I must run it togheter with my application).
>> To do this I've added the script call that launch my GUI in 
>> /etc/X11/xserver.common
>> This is the only way I found to execute my application.
>> 
>> The problem is that when I close my application the Xorg exit almost 
>> immediately.
>> When I try to run again my application without the trick above described, I 
>> have the error "cannot connect to X server" and application close.
>> This is a little bit tricky, and it put me in bad situation especially when 
>> debugging, because I can't run my application when I want, without 
>> re-launching Xorg.
>> 
>> What I would obtain, is to launch Xorg once at start, and then work freely 
>> opening/closing my application, which should connect and disconnect to/from 
>> the already active Xorg server.
>> Am I missing something?
>> Is it possible?
>> 
>> Thanks a lot
>> Simone
> 
> 
> Hi Simone,
> xinit (or startx) shoud be able to start autonomously.
> Once it has started you usually should be able to launch addictional
> Xorg based applications.
> A more detailed explanation of what you are doing would help us to
> give you some hint.
> 
> Ciao
> --
> Marco Cavallini | KOAN sas | Bergamo - Italia
> embedded and real-time software engineering
> Phone:+39-035-255.235 - Fax:+39-178-22.39.748
>      http://www.KoanSoftware.com
-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to