From kde-devel Sat Dec 10 13:17:50 2005 From: Joris Guisson Date: Sat, 10 Dec 2005 13:17:50 +0000 To: kde-devel Subject: Re: Simulating session management Message-Id: <6bc528f40512100517s2364821jf6af8b8f4cdab9c6 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=113422069510920 On 12/10/05, Lubos Lunak wrote: > Dne pá 9. prosince 2005 20:43 Joris Guisson napsal(a): > > Hi, > > > > I am busy fixing this bug : > > > > https://bugs.kde.org/show_bug.cgi?id=116342 > > > > So, it occured to me, that it would be handy to have some sort of > > tool to simulate KDE's session management. I don't know if there is > > one, but seeing that there are quite a few things which have a > > tendency to crash when I logoff (kdevelop, kicker, juk, ...), there > > probably isn't one. > > > > So my question is, is there one ? > > No, although you could maybe run another session manager just for your app. > Apps use $SESSION_MANAGER to find the right session manager, however I'm not > sure it'll be possible run ksmserver twice. Maybe xsm could work, but that > one is rather buggy. > > I think the simplest solution would be if you run another X session for > just > the development and do the tests there. I am doing that right now, it works for simple testing, debugging however ... Anyway the bug is fixed, we weren't using session management, so I just commented out the code that did the session restoring (some macro named RESTORE) Joris, >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<