Class for managing X2go sessions on a remote X2go server via
Paramiko/SSH. With the X2goTerminalSessionSTDOUT class you can start new X2go
sessions, resume suspended sessions or suspend resp. terminate currently
running sessions on a connected X2go server.
|
|
__init__(self,
control_session,
session_info=None,
geometry='800x600',
depth=24,
link='adsl',
pack='16m-jpeg-9',
cache_type='unix-kde',
keyboard='',
kblayout='null',
kbtype='null/null',
session_type='application',
snd_system='pulse',
snd_port=4713,
cmd=None,
rdp_server=None,
rdp_options=None,
xdmcp_server=None,
convert_encoding=False,
server_encoding='UTF-8',
client_encoding='UTF-8',
rootdir=None,
profile_name='UNKNOWN',
profile_id='20111212091209996419',
print_action=None,
print_action_args={},
info_backend=<class 'x2go.backends.info._stdout.X2goServerSessionInfoSTDOUT'>,
list_backend=<class 'x2go.backends.info._stdout.X2goServerSessionListSTDOUT'>,
proxy_backend=<class 'x2go.backends.proxy._nx3.X2goProxyNX3'>,
proxy_options={},
printing_backend=<class 'x2go.backends.printing._file.X2goClientPrintingFILE'>,
client_rootdir='/home/buildd/.x2goclient',
sessions_rootdir='/home/buildd/.x2go',
session_instance=None,
logger=None,
loglevel=56)
Initialize an X2go session. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
start_sshfs(self)
Initialize Paramiko/SSH reverse forwarding tunnel for X2go folder
sharing. |
source code
|
|
|
|
stop_sound(self)
Shutdown (pause) Paramiko/SSH reverse forwarding tunnel for X2go
sound. |
source code
|
|
|
|
stop_sshfs(self)
Shutdown (pause) Paramiko/SSH reverse forwarding tunnel for X2go
folder sharing. |
source code
|
|
|
|
start_printing(self)
Initialize X2go print spooling. |
source code
|
|
|
|
set_print_action(self,
print_action,
**kwargs)
STILL UNDOCUMENTED |
source code
|
|
|
|
stop_printing(self)
Shutdown (pause) the X2go Print Queue thread. |
source code
|
|
|
|
get_printing_spooldir(self)
Return the server-side printing spooldir path. |
source code
|
|
|
|
start_mimebox(self,
mimebox_extensions=[],
mimebox_action=None)
Initialize X2go mimebox handling. |
source code
|
|
|
|
set_mimebox_action(self,
mimebox_action,
**kwargs)
STILL UNDOCUMENTED |
source code
|
|
|
|
stop_mimebox(self)
Shutdown (pause) the X2go MIME box Queue thread. |
source code
|
|
|
|
get_mimebox_spooldir(self)
Return the server-side mimebox spooldir path. |
source code
|
|
|
bool
|
|
|
bool
|
|
|
bool
|
|
int
|
|
|
|
has_command(self,
cmd)
Verify if the command <cmd> exists on the X2go server. |
source code
|
|
|
tuple of str
|
|
|
bool
|
ok(self)
Returns True if this X2go session is up and running,
False else |
source code
|
|
|
bool
|
|
|
bool
|
|
|
bool
|
is_connected(self)
Returns True if this X2go session's Paramiko/SSH
transport is connected/authenticated, False else. |
source code
|
|
|
|
|
|
bool
|
|
|
bool
|
|
|
bool
|
|
|
|
|
|
|
post_terminate_cleanup(self)
STILL UNDOCUMENTED |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|