User Tools

Site Tools


wiki:advanced:x2gobroker:howitworks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:advanced:x2gobroker:howitworks [2013/03/28 10:30]
sunweaver [Session Profile Format]
wiki:advanced:x2gobroker:howitworks [2013/03/28 10:36]
sunweaver [No Auto-Resuming of Sessions]
Line 114: Line 114:
 ===== Selecting a Session Profile ===== ===== Selecting a Session Profile =====
  
-After login to the X2Go Session Broker a list of provided session profiles is shown in X2Go Client. The user can now choose one session profile from this list. The ID of chosen session profile will be sent to the broker and the broker sends the connection data back to X2Go Client. +After login to the X2Go Session Broker a list of provided session profiles is shown in X2Go Client. The user can now choose one session profile from this list. The ID of the chosen session profile will be sent to the session broker and the broker sends the connection data back to X2Go Client. 
  
  
-==== Generic function: listSessions ====+==== Generic function: selectSessions ====
  
 This is a generic example for the "selectSession" function in a Perl based X2Go Session Broker: This is a generic example for the "selectSession" function in a Perl based X2Go Session Broker:
Line 138: Line 138:
 If no other data is specified, a new X2Go session will be created. If no other data is specified, a new X2Go session will be created.
  
-The X2Go Session Broker can also send information back to client, that tells the client to resume a suspend session.+The X2Go Session Broker can also send information back to X2Go Client, that tells the client to resume a suspend session.
  
-In this case the X2Go Session Broker should also send a session information to X2Go Client (one of those lines as returned by the X2Go Server command x2golistsessions):+In the code example below, additionally to the X2Go Server hostname, X2Go Session Broker sends a session information line to X2Go Client. This session information line looks just the same as one of those lines that get returned by the X2Go Server command ''x2golistsessions'':
 <code perl> <code perl>
 sub selectSession sub selectSession
Line 162: Line 162:
 ==== No Auto-Resuming of Sessions ==== ==== No Auto-Resuming of Sessions ====
  
-If X2Go Client is running in broker mode, it will not verify if there are existing sessions on X2Go Server. +If X2Go Client is running in broker mode, it will not verify if there are existing sessions on the targeted X2Go Server. 
  
-It is the responsibility of the X2Go Session Broker. The X2Go Broker should also suspend sessions before providing session data to client if a session is still/already running.+Checking for running/suspended sessions is the responsibility of the X2Go Session Broker. The X2Go Session Broker should also suspend sessions before providing session data to X2Go Client if a candidate session is still/already running.
  
 ==== Providing Auto-Login via SSH Keys ==== ==== Providing Auto-Login via SSH Keys ====
wiki/advanced/x2gobroker/howitworks.txt ยท Last modified: 2013/03/28 10:46 by sunweaver