Page 1 of 1

[SOLVED] Strange KDE behaviour with 2 logged in users

PostPosted: Dec 4th, '13, 09:16
by filip
Background: Those two users (my wife and me) have the same primary group as we share pictures and some documents. I think that this might be related. But I might be wrong.

Symptoms: All windows from saved session are unavailable. They don't open on a click in a tray and they don't show themselves in Alt-Tab either. As saved session is very useful in my workflow this situation is extremely annoying.

Tests: I tried with fresh install of mga4 b2 and symptoms are the same.


Any idea how to deal with this situation?

Re: Strange KDE behaviour with 2 simultaneously logged in us

PostPosted: Jan 1st, '14, 16:12
by doktor5000
Can you at least mention a complete login and logout procedure in general, as nearly all information to reproduce this is missing.

E.g. you login as your user, start some applications, then switch to your wife's user account via K-Menu -> Leave ... -> Switch user (which starts a new X server and a new session), a different set of applications is started. Then you logout with both users, and login again. As you started a new session for your wife's user, session handling will be affected. If you login again, and switch to your wife's user via K-Menu -> Leave ... -> Switch user (or on the screensaver/lock screen, which does the exact same thing, start a new session, which will obiously not restore the last saved session) you will start a new session, so old session will not be restored. From what I can see, this is normal behaviour, there's just some wrong expectations on your side.

What do you do, how exactly and what does it result in and what's the expected result?
Maybe what you need is http://kde-look.org/content/show.php?content=127462 - I'm currently rebuilding the OpenSUSE package for Mageia and will try it out.

You should probably ask upstream in KDE forums how this is supposed to work and how you can achieve what you want.
Related information I've found:
http://forum.kde.org/viewtopic.php?f=66&t=52608
http://forums.opensuse.org/english/get- ... login.html and http://forums.opensuse.org/english/othe ... sions.html

Re: Strange KDE behaviour with 2 simultaneously logged in us

PostPosted: Jan 2nd, '14, 13:26
by filip
doktor5000 wrote:Maybe what you need is http://kde-look.org/content/show.php?content=127462 - I'm currently rebuilding the OpenSUSE package for Mageia and will try it out.

Thanks doktor5000.

I think it's a bit simpler. I'll try to explain better.

Here goes for only one simultaneously logged in user:
  1. Power on.
  2. Login of either me or her.
  3. Saved session works as expected. All windows from previously open programs are visible and usable.

Two simultaneously logged in users:
  1. Power on.
  2. First user (she or me) logs in.
  3. That saved session (her/mine) works as expected.
  4. Switch user as "New session".
  5. Second user logs in.
  6. That saved session (mine/her) doesn't work properly. Symptoms are described above. Session of the first user is unaffected.

Please note that the same primary group doesn't matter. Symptoms are the same either way.

In mga1 and mga2 that worked as expected. I seems to me that this use case is the most basic use case for more simultaneously logged in users in KDE. I think that saved session should be opened fully or not at all.

Re: Strange KDE behaviour with 2 simultaneously logged in us

PostPosted: Jan 2nd, '14, 20:32
by doktor5000
doktor5000 wrote:As you started a new session for your wife's user, session handling will be affected. If you login again, and switch to your wife's user via K-Menu -> Leave ... -> Switch user (or on the screensaver/lock screen, which does the exact same thing, start a new session, which will obiously not restore the last saved session) you will start a new session, so old session will not be restored. From what I can see, this is normal behaviour, there's just some wrong expectations on your side

You start a new session - not your existing one but a new session, at least that's what the menu says.
You should really ask about that upstream in KDE forums, maybe it's a change in behaviour, or maybe a bug.

[SOLVED] Re: Strange KDE behaviour with 2 logged in us

PostPosted: Feb 15th, '14, 10:55
by filip