x2goruncommand(8)

x2goruncommand8

Launch command inside an x2go session

Usage

x2goruncommand <display> <agent_pid> <session_id> <command> <sound_system> <session_type>

Overview

x2goruncommand launches a(n X-based) command inside of a given X2Go session.

x2goruncommand is run with X2Go user privileges and normally executed by an X2Go client application.

Arguments

FC<display>F[0]

The X display number/port of the session this command is for.

FC<agent_pid>F[0]

The process ID (pid) of the x2goagent instance that the given session runs in.

FC<session_id>F[0]

The <session_id> is the unique identifier of the X2Go session that this command is intended for.

FC<command>F[0]

Execute command <command>. Full paths will be ignored, the command has to be in the server's $PATH.

Possible generic values for <command> are: WWWBROWSER, OFFICE, MAILCLIENT and TERMINAL.

FC<sound_system>F[0]

Either of the possible sound systems supported by X2Go: pulse, esd, arts (obsolete) or none.

FC<session_type>F[0]

Allowed values for <session_type> are: D (desktop) and R (rootless).

Return values

By x2goruncommand nothing is reported on stdout or stderr.

As exitcode x2goruncommand always returns 0.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10–12
  2. 13

Author

This manual has been written by Mike Gabriel <[email protected]> for the X2Go project (https://www.x2go.org).

From x2goserver 4.1.0.6-1.1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.