# Python X2Go (Client) API Documentation (v0.6.1.4)

## x2go.x2go_exceptions module

Python X2Go exceptions.

exception x2go.x2go_exceptions.AuthenticationException

  Bases: `SSHException`

  Exception raised when authentication failed for some reason. It may be possible to retry with different credentials. (Other classes specify more specific reasons.)

  New in version 1.6.

exception x2go.x2go_exceptions.BadHostKeyException(hostname, got_key, expected_key)

  Bases: `SSHException`

  The host key given by the SSH server did not match what we were expecting.

  Parameters:

    - hostname (str) – the hostname of the SSH server

    - got_key (PKey) – the host key presented by the server

    - expected_key (PKey) – the host key expected

  New in version 1.6.

exception x2go.x2go_exceptions.PasswordRequiredException

  Bases: `AuthenticationException`

  Exception raised when a password is needed to unlock a private key file.

exception x2go.x2go_exceptions.SSHException

  Bases: `Exception`

  Exception raised by failures in SSH2 protocol negotiation or logic errors.

exception x2go.x2go_exceptions.WindowsError

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoBackendException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoBrokerConnectionException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoClientException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoClientPrintingException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoClientSettingsException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoControlSessionException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoDesktopSharingDenied

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoFwTunnelException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoHostKeyException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoMIMEboxActionException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoMIMEboxQueueException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoNotImplementedYetException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoPrintActionException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoPrintException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoPrintQueueException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoProfileException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoProxyException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoRemoteHomeException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoRevFwTunnelException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoSFTPClientException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoSSHProxyAuthenticationException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoSSHProxyException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoSSHProxyHostKeyException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoSSHProxyPasswordRequiredException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoSessionCacheException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoSessionException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoSessionRegistryException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoTelekinesisClientException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoTerminalSessionException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoTimeOutException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2GoUserException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goClientException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goClientPrintingException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goClientSettingsException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goControlSessionException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goDesktopSharingException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goFwTunnelException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goHostKeyException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goMIMEboxActionException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goMIMEboxQueueException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goNotImplementedYetException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goPrintActionException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goPrintException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goPrintQueueException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goProfileException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goProxyException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goRemoteHomeException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goRevFwTunnelException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goSSHProxyAuthenticationException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goSSHProxyException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goSSHProxyHostKeyException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goSessionCacheException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goSessionException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goSessionRegistryException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goTerminalSessionException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goTimeOutException

  Bases: `_X2GoException`

exception x2go.x2go_exceptions.X2goUserException

  Bases: `_X2GoException`