x2goclient(1)

NAME
x2goclient - Client application to launch server-side X2Go sessions.

SYNOPSIS
x2goclient <options>

DESCRIPTION
x2goclient is a GUI application for launching server-side X2Go sessions.

HELP AND DEBUG OPTIONS
x2goclient has the following help and debugging options:

\FC--help\F[]
    Show available command line options.

\FC--help-pack\F[]
    Show available pack methods and exit.

\FC-v, --version\F[]
    Output X2Go Client version to stderr.

\FC--debug\F[]
    Enable extensive console output for debugging X2Go Client.

\FC--changelog\F[]
    Show changelog file.

\FC--git-info\F[]
    Show Git commit history (not available on all X2Go Client builds).

GUI OPTIONS
The following options can be used for controlling the GUI behaviour:

\FC--no-menu\F[]
    Hide menu-/toolbar (default: false).

\FC--maximize\F[]
    Start client maximized (default: false).

\FC--hide\F[]
    Hide client (start hidden, default: false).

\FC--keep-trayicon\F[]
    Always keep the "accelerated X" icon in the system tray. Without this option the default behaviour is: Switch the tray icon to the session's icon on successful session startup/resumption.

\FC--tray-icon\F[]
    Show tray icon (default: false). This option overrides the global tray icon settings and also forces the tray icon to be shown in hidden X2Go Client mode.

\FC--hide-foldersharing\F[]
    Hide all elements in X2Go Client GUI that are related to folder sharing.

\FC--close-disconnect\F[]
    Close X2Go Client after a session got disconnected.

\FC--client-ssh-port\F[]
    Local ssh port (for filesystem export, default: 22).

\FC--autostart=<app>\F[]
    Launch <app> by session start in "published applications" mode. This parameter should go along with --session=<session-profile-name>, where the given session profile should be configured as a session profile of type "Published Applications".

\FC--support-menu=<html-file>\F[]
    Add a "Support..." submenu item to X2Go Client's "Help" menu. The support information is provided via a simple HTML file. Example:

            <html><body>
            <h1>IT-Support for X2Go</h1>
            DAS-NETZWERKTEAM | Mike Gabriel:<br />
            <a href="mailto:support@das-netzwerkteam.de">
                support@das-netzwerkteam.de
            </a><br />
            <br />
            Thanks for using X2Go...
            </body></html>

\FC--background=<svg-file|dir>\F[]
    Use a custom/branded background image (SVG format) for X2Go Client's main window (i.e. replace the blue gradient area in X2Go Client by some background of your own (business/workgroup/project). If a directory is given, will randomly pick an SVG file inside of it.

\FC--branding=<svg-file>\F[]
    Use a custom icon (SVG format) for additional branding to replace the default in the lower left corner of X2Go Client's main window.

MISCELLANEOUS OPTIONS
These options change X2Go Client's behavior globally. Some might not be available on all platforms.

\FC--xserver-start-limit=<num>\F[] (Windows-only)
    Limit the X.Org Server start count to at most <num> tries. Default: 3. If <num> is zero or a negative number, no limit is imposed. The limits for <num> are platform dependent. If the passed value is out of bounds, X2Go Client falls back to the default value.

SESSION PROFILE DEFAULTS
You can set certain defaults for session profiles via command line switches using the following options:

\FC--user\F[]
    Pre-selection of user at client startup (LDAP mode only).

\FC--command=<default-command>\F[]
    Default command for session startup.

\FC--ssh-port\F[]
    Use this default TCP/IP port for connection (default: 22).

\FC--ssh-key\F[]
    Use this SSH private key file by default.

\FC--autologin\F[]
    By default, search for standard SSH key file names or try using an SSH agent.

\FC--link\F[]
    Set default link type (modem,isdn,adsl,wan or lan, default: adsl).

\FC--pack\F[]
    Set default pack method (default: '16m-jpeg').

\FC--quality\F[]
    Set default image quality(0-9, default: 9).

\FC--set-kbd\F[]
    Overwrite current keyboard settings, no override by default.

\FC--kbd-layout\F[]
    Set keyboard layout (default: 'de').

\FC--kbd-type\F[]
    Set keyboard type (default: pc105/us, depend on our clients language setup, though).

\FC--clipboard=<both|client|server|none>\F[]
    Set default clipboard mode.

\FC--geometry=<W>x<H>|fullscreen\F[]
    Set default geometry, default '800x600'.

\FC--dpi=<dpi>\F[]
    set DPI of X2Go Agent to <dpi>, default set to same as local display.

\FC--sound\F[]
    Activate sound for session, not enabled by default.

\FC--sound-system\F[]
    Which soundsystem to use: arts, esd, pulse (default: pulse).

\FC--xinerama\F[]
    Use Xinerama by default.

\FC--session-icon=<128x128px-icon-png-file>\F[]
    Use a custom session icon by default.

THIN CLIENT OPTIONS
The following command line options are primarily interesting if x2goclient is used as a login manager on X2Go thin clients.

\FC--thinclient\F[]
    Let X2Go Client run without window manager.

\FC--sessionid=<session-profile-id>\F[]
    Pre-selection of a session profile (by its session profile ID) at client startup.

\FC--session=<session-profile-name>\F[]
    Pre-selection of a session profile (by its session profile name) at client startup.

\FC--no-session-edit\F[]
    Disable session editing.

\FC--pgp-card\F[]
    Use openPGP Card authentication (default: false).

\FC--external-login=<smartcard-logins>\F[]
    Authenticate via SMART card, path to login notification file.

\FC--add-to-known-hosts\F[]
    Add DSA/RSA host key fingerprint to .ssh/known_hosts in case of "authenticity of server can't be established".

\FC--read-exports-from\F[]
    Specifies a directory where some external mechanism (e.g. script) can notify x2goclient on new block devices (CD/DVDs, USB sticks, etc.).

\FC--haltbt\F[]
    Show a "Shutdown" button in the top left corner of X2Go Client. When pressed, X2Go Client will create the file $HOME/.halt. An external script has to watch for this file and trigger a thinclient shutdown once it appears.

PORTABLE OPTIONS
X2Go Client can be installed on a USB-Flashdrive as a portable applications. If installed that way, the following options support the portable setup of X2Go Client:

\FC--portable\F[]
    Start X2Go Client in "portable" mode. This implies... (TODO).

\FC--home=<dir>\F[]
    Set the users home directory. This is the directory where X2Go Client will store settings and cache files.

\FC--session-conf=<file>\F[]
    Path to alternative session profile config (default: $HOME/.x2goclient/sessions).

\FC--clean-all-files\F[]
    In portable mode, X2Go Client removes several directories it has created (and probably directories you don't want to have removed on a normal system):
            $HOME/.ssh
            $HOME/ssh
            $HOME/.x2go If --clean-all-files is used on the command line, also the directory containing the configuration files of X2Go Client gets removed:
            $HOME/.x2goclient

BROKER OPTIONS
In case you want to retrieve x2goclient session profiles from an X2Go Session Broker use the following options:

\FC--broker-url=<URL>\F[]
    Specify the <URL> of the X2Go Session Broker. X2Go Client can access http:// and ssh:// style URLs. Syntax of <URL> for HTTP brokerage: http(s)://<user>:<password>@<hostname>:<port>/path/to/broker Syntax of <URL> for SSH brokerage: ssh://<user>:<password>@<hostname>:<port>/usr/bin/x2gobroker (or any executable that provides the broker via SSH).

\FC--broker-cacertfile=</path/to/cafile.crt>\F[]
    Specify a special (self-signed) root-CACert file that shall get used when connecting to an X2Go Session Broker via https (SSL).

\FC--broker-noauth\F[]
    The X2Go Session Broker is accessible without authentication.

\FC--broker-krblogin\F[]
    Login to X2Go Session Broker via GSSAPI. Only supported with ssh:// broker URLs.

\FC--auth-id=<USERNAME>\F[]
    Use this <USERNAME> for authenticating against the X2Go Session Broker. This option mostly makes sense together with --broker-autologin or --broker-ssh-key.

\FC--broker-autologin\F[]
    For SSH based X2Go Session Brokers. If an SSH agent is available or default key files exist then try those for authentication against the X2Go Session Broker.

\FC--broker-autologoff\F[]
    Enforce re-authentication against X2Go Session Broker after a session has been suspended or terminated.

\FC--broker-ssh-key=<SSHPRIVKEY>\F[]
    For SSH based X2Go Session Brokers. Full path to a valid SSH private key file.

\FC--broker-name=<NAME>\F[]
    Sets the broker name to display in X2Go Client. This parameter is optional.

\FC--connectivity-test\F[]
    Run a connectivity test against X2Go Session Broker. Not supported by all broker implementations.

\FC--change-broker-pass\F[]
    Send a change-password request to an X2Go Session Broker. Not supported by all broker implementations.

\FC--broker-noauth-with-session-username\F[]
    Informs the broker to use the username you entered for X2Go Server authentication when selecting a server/session. Only has functionality if --broker-noauth is used.

\FC--broker-use-creds-for-session\F[]
    Use broker credentials as session user/password credentials when using broker mode with broker authentication. Currently only affects direct RDP sessions.

\FC--broker-logoutbt\F[]
    Show a "Logout" button in the top left corner of X2Go Client. When logged in to a broker, pressing this button X2Go Client lets you login to the broker again.

LDAP OPTIONS (deprecated)
NOTE: LDAP support won't be continued in X2Go Client 2 (next generation of X2Go Client).

A slightly different approach than X2Go Client's LDAP functionality is available via the X2Go Session Brokerage feature.

In case you want to control x2goclient via an LDAP server use the following options:

\FC--ldap=<host:port:dn>\F[]
    Start with LDAP support (disabled by default). Example: --ldap=ldapserver:389:o=organization,c=de

\FC--ldap1=<host:port:dn>\F[]
    Failover LDAP URI No. 1.

\FC--ldap2=<host:port:dn>\F[]
    Failover LDAP URI No. 2.

\FC--ldap-printing\F[]
    Allow client side printing in LDAP mode.

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