Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDDM starts a new session for an already logged in user #447

Closed
City-busz opened this issue Jul 31, 2015 · 14 comments
Closed

SDDM starts a new session for an already logged in user #447

City-busz opened this issue Jul 31, 2015 · 14 comments
Labels

Comments

@City-busz
Copy link

Steps to reproduce:

  1. SDDM starts at system startup. Log in as usual.
  2. Switch user with dm-tool switch-to-greeter.
  3. Try to log in with the same user.
    The expected result is to get back the already opened session. Instead of that, a new user session is started for the same user causing various problems. In the same case, GDM, LightDM and LXDM switch back to the already opened session properly.
@jleclanche jleclanche added the bug label Sep 16, 2015
@jleclanche
Copy link
Member

On top of this we need visual feedback somehow that the session is open.

@xiangzhai
Copy link

logout and login several times, then loginctl show as below:

loginctl 
   SESSION        UID USER             SEAT            
       c27        989 sddm             seat0           
         3       1000 zhaixiang        seat0           
         2       1000 zhaixiang        seat0           

3 sessions listed.

it is often N sessions listed depend on the relogin times.

@cyberesprit
Copy link

There is no continuation at this bug? This problem still exists today ...

@jleclanche
Copy link
Member

PRs welcome if you wish to work on it.

@tpgxyz
Copy link
Contributor

tpgxyz commented Jul 6, 2016

On daily use this is quite annoying, and each logout existing session is not shut down, which leads to have many processes that lives over not used sessions.

@plfiorini
Copy link
Member

i don't have time to do it, @davidedmundson do you have time to help out?

@cyberesprit
Copy link

Sorry, but this problem still exists today :-(

@mx1up
Copy link

mx1up commented Sep 11, 2017

see PR #730

@Anagastes
Copy link

This issue still exist in version 0.19.0-4 on arch.

I have already set this config, unfortunately without success.
ReuseSession=true

As soon as I lock the pc, change the user and then log back into the 1st user, a new session is started instead of using the old one.

image

@mx1up
Copy link

mx1up commented Mar 26, 2021

when this feature finally came available in my distro, I also encountered some problems with it, but it has been a while.. I thought I did something wrong. I will try it out over the weekend

@LaserHydra
Copy link

I am using SDDM 0.19.0-7 on Artix, and I can confirm I am still experiencing the same issue, despite having ReuseSession=true

I'll gladly provide more information if I can, though I am not certain which other information may be useful in this case.

@UMU618
Copy link

UMU618 commented May 5, 2022

Can't reproduce on Debian 11, sddm 0.19.0-3.

@enkeyz
Copy link

enkeyz commented Aug 22, 2022

Same problem with latest Manjaro, sddm 0.19.0-8, ReuseSession=true

  1. Switch user
  2. Log back into the same account with SDDM
  3. Black screen with cursor

@City-busz
Copy link
Author

I confirm that the original issue that I reported was fixed (probably by #730 and #1216 ). I tested it with sddm 0.19.0. I still experience issues with wayland sessions (switching to wrong VT), but it's another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests