x2golistshadowsessions returns a list of running or suspended X2Go shadow sessions (sessions that provide the X2Go Desktop Sharing feature) for X2Go server <server_hostname>. If no server hostname is given at the command line, the shadow session list query runs for the local system.
x2golistshadowsessions is run with normal user privileges and it is used by X2Go clients to render a list of available X2Go shadow sessions.
X2go Cluster Mode
If x2golistshadowsessions is executed with the --all-servers option then the central database of your X2Go cluster is queried for running/suspended shadow sessions belonging to the user executing this command. These sessions may be active on any of the X2Go servers within your cluster.
A line-by-line list of available X2Go sessions. Each line consists of several session attribute fields separated by the pipe symbol (,,|'').
The meaning of the session attributes of each output line are shown below:
field 01: <agent_pid>
field 02: <session_id>
field 03: <port>
field 04: <host>
field 05: <state>
field 06: <init_time>
field 07: <session_cookie>
field 08: <client_ip>
field 09: <gr_port>
field 10: <snd_port>
field 11: <last_time>
field 12: <user>
field 13: <age_in_secs>
field 14: <sshfs_port>
As exitcode x2golistshadowsessions always returns 0.
x2golistsessions(8), x2golistdesktops(8), x2goresume-session(8), x2gosuspend-session(8), x2goterminate-session(8)
This manual has been written by Mike Gabriel <email@example.com> for the X2Go project (https://www.x2go.org).