There are two ways you can handle the server when the session exits.  You can 
send it SIGHUP which makes it do a "server reset", which in theory resets it to 
the way it would be right after it starts.  Or, you can send it SIGTERM and 
have it exit, and then start a new one.  KDM has an option to set which you 
want to do.

There have been times in the past where server reset didn't work properly.  The 
other reason is that it limits the memory growth, in case there is some kind of 
leak.  My personal belief is that always starting a new one is a perfectly fine 
technique, because it doesn't take that long and it is only done once per time 
someone logs in.

On 08/03/10 12:13, PCMan wrote:
> Thank you for the bug report.
> It's true that lxsession should reset the mouse before logout.
> However, another issue is, should lxdm restart X when the desktop
> session terminates?
> Gdm seems to do this and IIRC not doing this seems to cause some
> potential security problems?
> 
> On Tue, Aug 3, 2010 at 11:57 PM, Christoph Wickert
> <[email protected]> wrote:
>> Am Dienstag, den 03.08.2010, 21:51 +0800 schrieb PCMan:
>>> OK,
>>> Since translations are quite complete, too, if there is no problems, I
>>> plan to make a new release for it on this weekend.
>>
>> Sounds fine.
>>
>> I can confirm that the swap mouse buttons problem (2980686) is fixed,
>> but I noticed that if you swap moud buttons, they are still swapped in
>> LXDM after you have logged out. I guess this needs to be fixes in
>> lxsession, so it should not delay the lxinput release.
>>
>> Regards,
>> Christoph
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> Lxde-list mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/lxde-list
>>
> 
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Lxde-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lxde-list
> 

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to