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 12:51]
sunweaver [Debugging X2Go Session Broker]
wiki:development:debugging [2018/03/15 11:40] (current)
ionic Nope, we mean hyphens, not dashes.
Line 12: Line 12:
 root@x2goserver:~$ tail -f /var/log/syslog | grep x2go root@x2goserver:~$ tail -f /var/log/syslog | grep x2go
 </code> </code>
 +
 +Other logging locations apart from the system's log are:
 +
 +  * X2Go Server: ''/var/log/syslog''
 +  * X2Go Client: stderr (use ''%%--debug%%'')
 +  * PyHoca-GUI: stderr (use ''%%--libdebug --debug%%'')
 +  * Xsession itself: ''$HOME/.xsession-x2go-errors''
 +  * NX (server-side): ''$HOME/.x2go/C-<sessionid>/session.*''
 +  * NX (client-side): ''$HOME/.x2go/S-<sessionid>/session.*''
  
 ===== Enable Debug Output ===== ===== Enable Debug Output =====
Line 60: 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 =====
wiki/development/debugging.1415796663.txt.gz ยท Last modified: 2014/11/12 12:51 by sunweaver