On 3/5/19 10:05 PM, Knurpht-openSUSE wrote:
Op woensdag 6 maart 2019 03:10:47 CET schreef Carlos E. R.:
El 2019-03-05 a las 18:38 +0100, Maximilian Trummer escribió:
Am Dienstag, 5. März 2019, 11:35:51 CET schrieb Carlos E. R.:
...

I don't mind it pausing audio, but is there really no way to keep
network
connections of inactive KDE sessions running?
Do you have that network connection marked as system or use by other
users or similar words?

If it is, perhaps it is a bug.
It's an ethernet connection managed by NetworkManager, KDE's settings
dialog says something like "all users may connect to this network" in the
connection's settings. 
If the network is encrypted you also need to set the passphrase to be readable 
to all users in the security tab of KDE's NM settings. 
Yes, that's the wording, I'm now on another machien that uses NM.

Well, unless you find some configuration for sddm (I don't know where,
now), I would report in bugzilla and see...

--
Cheers
        Carlos E. R.

        (from openSUSE Leap 15.0 x86_64 (Minas Tirith))

So I could be totally out in left field, and please excuse me if I am, but I use 'loginctl' to manage X11 sessions on Gnome.  Specifically, 'loginctl list-sessions' and 'loginctl session-status <session id>' might be a good place to start, if Plasma uses systemd. 

I believe that multiple sessions would have different 'seats', and you can detect which one is active in the 'State' field of session-status (or use 'loginctl activate...' to activate one or the other).  From there, you would have to figure out what 'active' means (with respect to audio, network, etc.).  Still, how you would keep more than one X11 session active if you have only one monitor-mouse-keyboard, I am not sure. 


-- 
Patrick McNeil Université de Montréal - TI
Pav. Roger-Gaudry, X-205
☎  Téléphone: (514) 343-6111, poste 5247
📧  Courriel: patrick.mcneil@umontreal.ca
📠  Télécopie/FAX: (514) 343-2155