User Tools

Site Tools


wiki:development:debugging

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
wiki:development:debugging [2014/11/12 13:59]
sunweaver [Log File Watching]
wiki:development:debugging [2024/07/01 17:36] (current)
uli42 [Debugging x2goclient on Windows]
Line 16: Line 16:
  
   * X2Go Server: ''/var/log/syslog''   * X2Go Server: ''/var/log/syslog''
-  * X2Go Client: stderr (use ''--debug''+  * X2Go Client: stderr (use ''%%--debug%%''
-  * PyHoca-GUI: stderr (use ''--libdebug --debug'')+  * PyHoca-GUI: stderr (use ''%%--libdebug --debug%%'')
   * Xsession itself: ''$HOME/.xsession-x2go-errors''   * Xsession itself: ''$HOME/.xsession-x2go-errors''
   * NX (server-side): ''$HOME/.x2go/C-<sessionid>/session.*''   * NX (server-side): ''$HOME/.x2go/C-<sessionid>/session.*''
Line 69: Line 69:
 ==== Python X2Go / PyHoca Debugging ==== ==== Python X2Go / PyHoca Debugging ====
  
-The PyHoca clients both have a ''--libdebug'' option. Run ''pyhoca-gui'' or ''pyhoca-cli'' from the command line with that option enabled and you get blasted with debug output.+The PyHoca clients both have a ''%%--libdebug%%'' option. Run ''pyhoca-gui'' or ''pyhoca-cli'' from the command line with that option enabled and you get blasted with debug output.
  
 ===== Customizing Debug Messages ===== ===== Customizing Debug Messages =====
Line 107: Line 107:
  
  
 +==== Debugging x2goclient on Windows ====
 +
 +This is a bit tricky. You need to run the debug version of x2goclient in a cmd window. The debug version is part of the xgoclient installation package for Windows and is called ''x2goclient.debug.exe''. If it is not available on you machine re-run the installer.
 +
 +Run ''<path_to_your_installation>\x2goclient --debug --libssh-debug --libssh-packetlog 2>logfile.txt'' (+ further options you might require) and run your session as usual. The session log file ''logfile.txt'' will be created in the current directory and can be opened e.g. with notepad.
 +
 +Run ''x2goclient --help'' for available options.
 +
 +<note important>important The options are always prefixed by two ''-'', your browser might display them as one!</note>
wiki/development/debugging.1415800794.txt.gz · Last modified: 2014/11/12 13:59 by sunweaver