[SOLVED] Strange KDE behaviour with 2 logged in users

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Strange KDE behaviour with 2 logged in users

Postby filip » Dec 4th, '13, 09:16

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?
Last edited by filip on Feb 15th, '14, 10:54, edited 1 time in total.
filip
 
Posts: 478
Joined: May 4th, '11, 22:10
Location: Kranj, Slovenia

Re: Strange KDE behaviour with 2 simultaneously logged in us

Postby doktor5000 » Jan 1st, '14, 16:12

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Strange KDE behaviour with 2 simultaneously logged in us

Postby filip » Jan 2nd, '14, 13:26

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.
filip
 
Posts: 478
Joined: May 4th, '11, 22:10
Location: Kranj, Slovenia

Re: Strange KDE behaviour with 2 simultaneously logged in us

Postby doktor5000 » Jan 2nd, '14, 20:32

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby filip » Feb 15th, '14, 10:55

filip
 
Posts: 478
Joined: May 4th, '11, 22:10
Location: Kranj, Slovenia


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest