---
name: "x2goumount-session"
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/x2goumount-session"
---

# x2goumount-session(8)

Unshare mounted Folders from X2Go Session

## NAME

x2goumount-session - Unshare mounted Folders from X2Go Session

## SYNOPSIS

x2goumount-session \<session\_id\> \[\<local\_path\_on\_client\>\]

## DESCRIPTION

**x2goumount-session** is used to unshare client folders from X2Go session with session ID \<session\_id\>. Shared folders have been previously mounted into the X2Go session by the **x2gomountdirs** command.

**x2goumount-session** is run with X2Go user privileges and normally issued by an X2Go client application.

## ARGUMENTS

- FC**\<session\_id\>**F\[0\]

  Unmount shared folder(s) as registered for X2Go session ID \<session\_id\> in the X2Go session database.

- FC**\<local\_path\_on\_client\>**F\[0\]

  Optionally, you can name a local path name (path name as found on the client-side) here. If given, only the named folder is unshared from the X2Go session \<session\_id\>.

If this optional argument is omitted, then ALL session folders will be unshared (including spool folders for printing and MIME box).

## RETURN VALUES

## RETURN VALUES

By **x2goumount-session** nothing is reported on stdout or stderr.

As exitcode **x2goumount-session** return 0 on successful an umount action. If there is a failure during unmounting a shared folder a non-zero exit code is returned.

## SEE ALSO

[x2gomountdirs(8)](/x2gomountdirs/8.md)

## AUTHOR

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