Thank you for your bug report, I can't confirm the bug on focal
Using an uptodate system - start to gdm - login is 'userone' - create a 'dbguser' - logout from the 'userone' session - ssh dbguser@
$ loginctl list-sessions SESSION UID USER SEAT TTY 27 1001 dbguser pts/0 c3 124 gdm seat0 tty1
What's the output of $ loginctl user-status skunk for you? (you need to ssh as another user otherwise the fact that you connect with the user to start the command is going to interfer)
Thank you for your bug report, I can't confirm the bug on focal
Using an uptodate system
- start to gdm
- login is 'userone'
- create a 'dbguser'
- logout from the 'userone' session
- ssh dbguser@
$ loginctl list-sessions
SESSION UID USER SEAT TTY
27 1001 dbguser pts/0
c3 124 gdm seat0 tty1
What's the output of
$ loginctl user-status skunk
for you?
(you need to ssh as another user otherwise the fact that you connect with the user to start the command is going to interfer)