Strange exit behaviour of GUI programs in Xfce on Logout

Bernhard Walle bernhard.walle at gmx.de
Sun Oct 2 20:37:01 CEST 2005


* Bernhard Walle [02.10.2005 19:52]:
> * Olivier Fourdan [02.10.2005 09:53]:
>> On Sun, 2005-10-02 at 00:20 +0200, Bernhard Walle wrote:
>>> following problem: I wrote an application which should save some
>>> information on exit. The application doesn't use session management
>>> (it's very simple, doesn't even have a real GUI, the connection to the
>>> X-Server is only to get closed on logout).
>> If you run the session manager, the "--daemon" option in xfwm4 is simply
>> ignored (because it's the SM that manages the startup)
>>
>> So in your later example, the one that doesn't work, I believe your test
>> program is simply not executed.
> 
> In this examples there's no session manager. I simply do
> 
>  - Starting a failsave session
>  - xfwm4 --daemon
>  - ./testclient&
>  - exit

Ok, this was wrong. It works.

But following persists:

 - Normal Xfce login
 - start ./testclient&
 - log out

/tmp/test.txt is not created, so the function registered with atexit()
is not run. Can anybody verify this?



Regards,
  Bernhard




More information about the Xfce4-dev mailing list