3

(System: Ubuntu 17.04 x64, official Gnome flavor, GNOME Shell 3.24.2 Wayland)

I have been experimenting with Gnome Shell extensions and some of them cause the session to crash. I have noticed that sometimes just a new session is generated as processes from the previous session are still active (using ps).

Question: What is the command to view all Gnome sessions?

(Follow up question) Is there a way to dump the current session and 'join' another active session?

Ankur Loriya
  • 3,276
  • 8
  • 31
  • 58
Erixun
  • 41
  • 1
  • 5

1 Answers1

3

Gnome has a tool to manage concurrent sessions:

loginctl

This tool list sessions:

SESSION  UID USER  SEAT  TTY 
    173 1000 jehon seat0 tty2

1 sessions listed.

The tool also have a "kill session" utility:

loginctl terminate-session 173
jehon
  • 1,404
  • 15
  • 21