pyhoca-gui(1)
pyhoca-gui(1) Β· X2Go Application π¦
β¨ NAME β¨
pyhoca-gui β graphical X2Go client applet written in Python π
π SYNOPSIS π
pyhoca-gui [ options ]
π DESCRIPTION π
okay so bestie, pyhoca-gui is a cross-platform (Windows, MacOS X, Linux) graphical X2Go client applet, and the whole vibe is that it docks to your desktop's system tray. main character energy, but polite about it. π«Ά
From your desktop's system tray you can start / resume / share pre-configured X2Go sessions. You can also manage all your pre-configured session profiles in the X2Go profile manager, and configure the basic setup of pyhoca-gui itself. it's giving "one little icon, so much power" π
pyhoca-gui uses the same set of config files (settings, printing and sessions in ~/.x2goclient) as the original X2Go Client application (by Heinz-M. Graesing and Oleksandr Schneyder) does. bestie behaviour, sharing the closet. π―
On Windows systems pyhoca-gui uses the same set of Windows registry keys and values as the original X2Go Client application. no cap.
See the included README and TODO for further information on pyhoca-gui. π
π COMMON OPTIONS π
pyhoca-gui accepts the following common options:
-h,--helpβ Display a help with all available command line options and exit. β¨-V,--versionβ Output version information and exit.-d,--quietβ No output tostdoutat all! Use this option on Windows!!! π€« (fr fr, on Windows use it)-d,--debugβ Enable debugging output. π--libdebugβ Enable debugging code of the unterlying Python X2Go module.--libdebug-sftpxferβ Enable debugging code of Python X2Go's sFTP server code (very verbose, and it may even reveal promiscuous data). π
yes,-dreally is listed twice up there, once for--quietand once for--debug. that's the original's whole thing. i don't make the rules, i just relay them π
π₯ SESSION RELATED OPTIONS π₯
-P,--session-profileβ The name of the session profile to be used to make the connection. You can actually pass a komma-separated list of session profile names to this option. π--remember-usernameβ For profiles with interactive authentication, remember the last-used username. π§--non-interactiveβ Run in non-interactive mode. This option requires the--session-profileoption. It also sets the following options to true automagically:--restricted-trayicon--single_session_profile--start-on-connect--resume-all-on-connect--exit-on-disconnect--disconnect-on-suspend--disconnect-on-terminate
--auto-connectβ Connect sessions via SSH public key authentication on application startup, if possible. π--show-profile-metatypesβ Show descriptive meta information on session profiles in menus (NOTE: this makes menus appear a bit more sluggish, use it mostly for debugging). π’--single-session-profileβ Disable support of handling multiple session profiles. Use together with the--session-profilecmdline parameter.--tray-icon<your-logo> β Define an alternative system tray icon file (PNG files only, leave out file extension here, size 22x22 on Linux, 16x16 on Windows). π¨--tray-icon-connecting<your-logo-while-connecting> β Define an alternative system tray icon file while connecting to a server (PNG files only, leave out file extension here, size 22x22 on Linux, 16x16 on Windows). πΈ--restricted-trayiconβ Restrict functionality ofpyhoca-gui's main session manager icon that is shown in the notification area / system tray. This switch limits the icon 's functionality to a right-click menu that allows one to raise theAboutwindow and exit the application. On left-click only a minimal session menu is shown. π--add-to-known-hostsβ Automatically add host key fingerprint to.ssh/known_hostsin case of "authenticity of server can't be established" (without user interaction).
Handle this option with care: Using it lessens the security/integrity of your SSH client setup. β οΈ bestie please, be careful with this one.
--start-on-connectβ DEPRECATED: Start a session directly after authentication (only if no suspended sessions are available). This switch is now fully controlled from within the session profiles. This option itself remains here for compatibility with older versions of PyHoca-GUI. π΅--exit-on-disconnectβ Exitpyhoca-guicleanly once a session has been disconnected. π--resume-on-connect,--resume-newest-on-connectβ DEPRECATED: After authentication directly auto-resume the newest available running/suspended session. This switch is now fully controlled from within the session profiles, resuming the newest session is the hard-coded default. However, you can influence the resuming behaviour with the next two command line options. This option itself remains here for compatibility with older versions of PyHoca-GUI. π΅--resume-oldest-on-connectβ After authentication directly auto-resume the oldest available running/suspended session. π§--resume-all-on-connectβ After authentication directly auto-resume all available running/suspended session. π₯--disconnect-on-suspendβ Disconnect from a server if a session on that server has been suspended. π€--disconnect-on-terminateβ Disconnect from a server if a session on that server has been terminated. πͺ¦--display<hostname>:<screennumber> β Set theDISPLAYenvironment variable to<hostname>:<screennumber>. π₯οΈ
π BROKERAGE OPTIONS π
In case you want to retrieve X2Go session profiles from an X2Go Session Broker use the following options:
--broker-url=<URL>β Specify the<URL>of the X2Go Session Broker.pyhoca-guican accesshttp(s)://andssh://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).
As a special <URL> you can type HTTP or SSH and then the application will provide a login window with a pre-formatted / schematic URL. β¨
--broker-password<password> β Session broker password for retrieving session profiles from the X2Go Session Broker. The cleartext password that has been specified at the command line will be masqueraded in the systems process list (Linux, MacOS). On Windows systems the usage of the--broker-passwordoption is forbidden. π«--broker-name<broker-name> β Provide a human readable name for the session broker. This name overrides the default broker name ("X2Go Session Broker") in the application's menus and notification bubbles. π¬--broker-cacertfileCACERT_FILEβ Forhttps://brokers with SSL certificates that have been signed against a self-signed root-CA, use this command line option to point to the self-signed root-CA certificate file. π--broker-autoconnectβ If this command line option is given the session broker authentication dialog will appear on application startup. π
π BRANDING OPTIONS π
The pyhoca-gui provides some features that allow one to easily brand its appearance. Here are some options for tweaking the pyhoca-gui appearance and behaviour. β¨
--splash-image<your-splash-image> β Define an alternative splash image that gets shown on application startup (PNG files only, full path or filename as found in<share>/img). πΌοΈ--about-image<your-about-window-image> β Define an alternative image for the application'sAboutwindow (PNG files only, full path or filename as found in<share>/img). For those who distribute a customized version of this application: As PyHoca-GUI and its backend Python X2Go are licensed under AGPL, theAboutwindow is a good place for placing the download location of your modified version of the source code. π--disable-splashβ Do not show the application's splash screen. π--disable-optionsβ Grey-out theOptionsmenu item and thus disable the client configuration window. π©Ά--disable-printingprefsβ Grey-out thePrinting Preferencesmenu item and thus disable the client's printing preferences window. π¨οΈ--disable-profilemanagerβ Grey-out the profile manager menu items and thus disable all profile management functionalities. ποΈ--disable-notificationsβ Disable all applet notifications. π--logon-window-position<x-pos>x<y-pos> β Give a custom position for the logon window, use negative values to position relative to right/bottom border. π--published-applications-no-submenus<number> β The number of published applications that will be rendered without submenus. π’
Oh and bestie, before we get into this next bit β you already know about the branding stuff. Now we're getting into the deep config machinery. Buckle up. π
β¨ BACKEND OPTIONS β¨
okay so this is the part where pyhoca-gui gets β¨flexibleβ¨ β it supports transparent use of different data backends. For configuration, three backends are common: FILE, GCONF (Linux only) and WINREG (Windows only). And rn, the default backend is FILE on every single platform. No cap.
For client-server communication, the only backend implemented so far is the STDOUT backend β because X2Go server commands print their execution results to /dev/stdout. (But other communication backends might be possible in the future... π not me manifesting.)
Same energy with the current NX3 agent/proxy tool: we're focusing on a successor. A change in the proxy backend will also be implemented as a backend. growth mindset fr fr π
--backend-controlsession<CONTROLSESSION_BACKEND>β Force usage of a certainCONTROLSESSION_BACKEND. (do not use this unless you know exactly what you are doing) π--backend-terminalsession<TERMINALSESSION_BACKEND>β Force usage of a certainTERMINALSESSION_BACKEND. (do not use this unless you know exactly what you are doing) π--backend-serversessioninfo<SERVERSESSIONINFO_BACKEND>β Force usage of a certainSERVERSESSIONINFO_BACKEND. (do not use this unless you know exactly what you are doing) π--backend-serversessionlist<SERVERSESSIONLIST_BACKEND>β Force usage of a certainSERVERSESSIONLIST_BACKEND. (do not use this unless you know exactly what you are doing) π--backend-proxy<PROXY_BACKEND>β Force usage of a certainPROXY_BACKEND. (do not use this unless you know exactly what you are doing) π--backend-sessionprofiles<SESSIONPROFILES_BACKEND>β Use the given backend for accessing session profiles. Available backends on Linux:FILES,GCONF; on Windows:FILES,WINREG. π--backend-clientsettings<CLIENTSETTINGS_BACKEND>β Use the given backend for accessing the client settings configuration. Available backends on Linux:FILES,GCONF; on Windows:FILES,WINREG. π--backend-clientprinting<CLIENTPRINTING_BACKEND>β Use the given backend for accessing the client printing configuration. Available backends on Linux:FILES,GCONF; on Windows:FILES,WINREG. π
Notice how those last three are chill and helpful, and the first five are like "bestie put that down" ππ The difference is real.
π§³ PORTABLE OPTIONS π§³
For when you want your stuff to live somewhere else entirely. Main character relocation energy. π¦
--client-rootdir<CLIENT_ROOTDIR>β Define an alternative location where to find plain text config files (default:<HOME>/.x2goclient). This option will set,,--backend-profiles FILE'',,,--backend-clientsettings FILE''and,,--backend-clientprinting FILE''. three-for-one slay β¨--sessions-rootdir<SESSIONS_ROOTDIR>β Define an alternative location for session runtime files (default:<HOME>/.x2go).--ssh-rootdir<SSH_ROOTDIR>β Define an alternative location for user SSH files (default:<HOME>/.ssh). π
πͺ WINDOWS OPTIONS πͺ
There are some options that are only available on Windows, bestie: π
--start-xserverβ Start an XServer (if available) before starting pyhoca-gui. The application will detect the best suitable XServer automatically if more than one XServer is installed on your system (currently known:Xming,Cygwin-X). π--preferred-xserver<XSERVER_NAME>β Start either of the currently supported XServers:Xming,Cygwin-XandVcXsrvβ make sure your preferred XServer is actually installed on your system (default and recommended isVcXsrv). β--start-pulseaudioβ Start the PulseAudio server before starting pyhoca-gui. This option is needed to get X2Go audio working. However, it is not enabled by default. π--lang [en|de|nl|es]β Select the GUI language. π
π SEE ALSO π
/usr/share/doc/pyhoca-gui
yeah that's it, go read the docs bestie π
π AUTHOR π
This manual has been written for the X2Go project by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>. π«Ά
and that's the whole page, bestie!! πβ¨ This lil' icon is Version 0.6.1.1, dated Jan 2020, and it lives in section pyhoca-gui(1). Go forth and configure responsibly π
π
π¦ where this page comes from
- debian bookworm: pyhoca-gui 0.6.1.1-1 Β· AGPL-3.0-or-later
- epel 9: pyhoca-gui 0.6.1.1-5.el9 Β· AGPLv3+
- fedora 43: pyhoca-gui 0.6.1.1-25.fc43 Β· AGPL-3.0-or-later
- fedora 44: pyhoca-gui 0.6.1.1-26.fc44 Β· AGPL-3.0-or-later
- ubuntu jammy: pyhoca-gui 0.6.1.1-1 Β· AGPL-3.0-or-later
- ubuntu noble: pyhoca-gui 0.6.1.1-1 Β· AGPL-3.0-or-later
- ubuntu resolute: pyhoca-gui 0.6.1.1-2 Β· AGPL-3.0-or-later
- ubuntu stonking: pyhoca-gui 0.6.1.1-2 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms