x2go.backends.profiles.sshbroker module

x2go.backends.profiles.sshbroker.X2GoSessionProfiles class - managing X2Go Client session profiles obtained from an SSH based X2Go Session Broker.

x2go.backends.profiles.sshbroker.X2GoSessionProfiles is a public API class. Use this class in your Python X2Go based applications.

class x2go.backends.profiles.sshbroker.X2GoSessionProfiles(session_profile_defaults={'mimeboxextensions': '', 'print': False, 'directrdpsettings': '', 'display': 1, 'autostart': False, 'forwardsshagent': False, 'sessiontitle': '', 'rdpoptions': '-u X2GO_USER -p X2GO_PASSWORD', 'rdpport': 3389, 'iconvfrom': 'UTF-8', 'published': False, 'usesshproxy': False, 'host': ['server.mydomain'], 'rootless': True, 'soundsystem': 'pulse', 'sshproxyuser': '', 'xdmcpserver': 'localhost', 'rdpserver': '', 'directrdp': False, 'export': {}, 'width': 800, 'key': '', 'icon': ':icons/128x128/x2gosession.png', 'sound': False, 'iconvto': 'UTF-8', 'sshproxykeyfile': '', 'setsessiontitle': False, 'fstunnel': True, 'usekbd': True, 'pack': '16m-jpeg', 'applications': ['WWWBROWSER', 'MAILCLIENT', 'OFFICE', 'TERMINAL'], 'mimeboxaction': 'OPEN', 'command': 'TERMINAL', 'variant': '', 'autologin': True, 'maxdim': False, 'clipboard': 'both', 'useiconv': False, 'startsoundsystem': False, 'user': 'mike', 'sshport': 22, 'dpi': 96, 'sshproxytype': 'SSH', 'type': 'pc105/us', 'speed': 2, 'useexports': True, 'defsndport': True, 'sshproxyport': 22, 'layout': 'us', 'restoreexports': False, 'quality': 9, 'xinerama': False, 'fullscreen': False, 'sndport': 4713, 'krblogin': False, 'height': 600, 'name': 'NEW_PROFILE', 'usemimebox': False, 'multidisp': False, 'uniquehostkeyaliases': False, 'sshproxyautologin': True, 'soundtunnel': True, 'sshproxysamepass': False, 'autoconnect': False, 'setdpi': False, 'rdpclient': 'rdesktop', 'sshproxyhost': 'proxyhost.mydomain', 'sshproxysameuser': False}, logger=None, loglevel=56)[source]

Bases: x2go.backends.profiles.base.X2GoSessionProfiles

defaultSessionProfile = {'mimeboxextensions': '', 'print': False, 'directrdpsettings': '', 'display': 1, 'autostart': False, 'forwardsshagent': False, 'sessiontitle': '', 'rdpoptions': '-u X2GO_USER -p X2GO_PASSWORD', 'iconvfrom': 'UTF-8', 'published': False, 'usesshproxy': False, 'host': ['server.mydomain'], 'command': 'TERMINAL', 'setdpi': False, 'sshproxyuser': '', 'xdmcpserver': 'localhost', 'rdpserver': '', 'directrdp': False, 'export': {}, 'width': 800, 'clipboard': 'both', 'icon': ':icons/128x128/x2gosession.png', 'sound': False, 'rootless': True, 'uniquehostkeyaliases': False, 'sshproxykeyfile': '', 'setsessiontitle': False, 'sshproxyautologin': True, 'fstunnel': True, 'user': 'mike', 'pack': '16m-jpeg', 'applications': ['WWWBROWSER', 'MAILCLIENT', 'OFFICE', 'TERMINAL'], 'mimeboxaction': 'OPEN', 'usemimebox': False, 'variant': '', 'autologin': True, 'maxdim': False, 'key': '', 'useiconv': False, 'startsoundsystem': False, 'usekbd': True, 'sshport': 22, 'dpi': 96, 'sshproxytype': 'SSH', 'type': 'pc105/us', 'speed': 2, 'useexports': True, 'defsndport': True, 'sshproxyport': 22, 'restoreexports': False, 'quality': 9, 'xinerama': False, 'fullscreen': False, 'sndport': 4713, 'height': 600, 'name': 'NEW_PROFILE', 'rdpport': 3389, 'krblogin': False, 'multidisp': False, 'autoconnect': False, 'iconvto': 'UTF-8', 'soundtunnel': True, 'sshproxysamepass': False, 'soundsystem': 'pulse', 'layout': 'us', 'rdpclient': 'rdesktop', 'sshproxyhost': 'proxyhost.mydomain', 'sshproxysameuser': False}