---
name: "x2golistmounts"
section: "8"
platform: "linux"
package: "x2goserver"
version: "4.1.0.6-1.1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/x2golistmounts"
---

# x2golistmounts(8)

List Mounted Shares for an X2Go Session

## NAME

x2golistmounts - List Mounted Shares for an X2Go Session

## SYNOPSIS

x2golistmounts \[*\<session\_id\>*\]

## DESCRIPTION

**x2golistmounts** returns a list of mounted client-side folders or devices for X2Go session *\<session\_id\>*.

If this commands get evoked inside an X2Go session, the *\<session\_id\>* parameter can be omitted (and the env var $X2GO\_SESSION will be used instead).

**x2golistmounts** is run with normal user privileges and it is used by X2Go clients to render a list of SSHFS mounts for a given X2Go sessions.

## RETURN VALUES

A line-by-line list of mounted shares is returned by **x2golistmounts**. Each line consists of two mount point attribute fields separated by the pipe symbol (,,\|'').

The meanings of these mount point attributes are:

  field 01: *\<sshfs\_target\_host\_ip\>*\
   field 02: *\<mount\_point\_path\_on\_server\>*

As exitcode **x2golistmounts** always returns 0.

## SEE ALSO

[x2gomountdirs(8)](/x2gomountdirs/8.md), [x2goumount-session(8)](/x2goumount-session/8.md)

## AUTHOR

This manual has been written by Mike Gabriel \<mike.gabriel@das-netzwerkteam.de\> for the X2Go project (https://www.x2go.org).
