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

# x2gocleansessions(8)

X2Go Server Cleanup Daemon

## NAME

x2gocleansessions - X2Go Server Cleanup Daemon

## SYNOPSIS

- **x2gocleansessions** **--help**\|**-h**\|**-?**

  - **x2gocleansessions** **--man**

  - **x2gocleansessions** \[**--debug**\|**-d**\]

  - **x2gocleansessions** \[**--nofork**\|**-d**\]

  ## DESCRIPTION

**x2gocleansessions** is run as a service on X2Go servers to handle the cleanup of stale sessions and synchronizing database state with on-disk state.

**x2gocleansessions** must be run (as a service) with root privileges.

## OPTIONS

- **--help**\|**-h**\|**-?**

  Print a brief help message and exits.

- **--man**

  Prints the manual page and exits.

- **--debug**\|**-d**

  Override debugging setting in global config; implies **--nofork**.

- **--nofork**\|**-n**

  Keep application in foreground instead of daemonizing.

## AUTHOR

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