Strange exit behaviour of GUI programs in Xfce on Logout

Bernhard Walle bernhard.walle at gmx.de
Sun Oct 2 19:52:40 CEST 2005


* 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

The "failsave session" is a simple xterm without window manager, started
by GDM.

But in the "real world", I use a normal Xfce with session manager but
the program is not terminated in a way that executes functions
registered with atexit().

Can you or others please verify this problem. Thanks.


Regards,
  Bernhard




More information about the Xfce4-dev mailing list