<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><blockquote type="cite" class="">   I have not been successful at getting x2go to work consistently on<br class="">machines I have upgraded to Ubuntu 17.04, oddly it works on some and not<br class="">others.  I have two machines on which it appears to work fine and two which it does not, one of those it just gives me a black screen and the other it<br class="">immediately exits.  On the machine that it immediately exits it prints some<br class="">error messages but the client exits too fast to read them.  I can't figure<br class="">out if and where x2go logs erros.  I do see some things in the syslog but<br class="">indicates it is starting the session successfully when obviously it is not.<br class=""></blockquote></blockquote></div><br class=""><div class="">Have you seen this page on how to enable debug logging? <a href="http://wiki.x2go.org/doku.php/wiki:development:debugging" class="">http://wiki.x2go.org/doku.php/wiki:development:debugging</a></div><div class=""><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">Other logging locations apart from the system's log are:</p><ul style="margin: 0px 0px 1.4em; padding: 0px 0px 0px 1.5em; list-style: square outside; color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><li class="level1" style="padding: 0px; margin: 0px 0px 0px 1.5em; color: rgb(170, 170, 170);"><div class="li" style="margin: 0px; padding: 0px; color: rgb(102, 102, 102);">X2Go Server: <code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">/var/log/syslog</code></div></li><li class="level1" style="padding: 0px; margin: 0px 0px 0px 1.5em; color: rgb(170, 170, 170);"><div class="li" style="margin: 0px; padding: 0px; color: rgb(102, 102, 102);">X2Go Client: stderr (use <code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">–debug</code>)</div></li><li class="level1" style="padding: 0px; margin: 0px 0px 0px 1.5em; color: rgb(170, 170, 170);"><div class="li" style="margin: 0px; padding: 0px; color: rgb(102, 102, 102);">PyHoca-<abbr title="Graphical User Interface" style="cursor: help; border-bottom-width: 1px; border-bottom-style: dotted;" class="">GUI</abbr>: stderr (use <code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">–libdebug –debug</code>)</div></li><li class="level1" style="padding: 0px; margin: 0px 0px 0px 1.5em; color: rgb(170, 170, 170);"><div class="li" style="margin: 0px; padding: 0px; color: rgb(102, 102, 102);">Xsession itself: <code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">$HOME/.xsession-x2go-errors</code></div></li><li class="level1" style="padding: 0px; margin: 0px 0px 0px 1.5em; color: rgb(170, 170, 170);"><div class="li" style="margin: 0px; padding: 0px; color: rgb(102, 102, 102);">NX (server-side): <code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">$HOME/.x2go/C-<sessionid>/session.*</code></div></li><li class="level1" style="padding: 0px; margin: 0px 0px 0px 1.5em; color: rgb(170, 170, 170);"><div class="li" style="margin: 0px; padding: 0px; color: rgb(102, 102, 102);">NX (client-side): <code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">$HOME/.x2go/S-<sessionid>/session.*</code></div></li></ul><div class=""><span style="color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">The default log levels for </span><code style="color: rgb(102, 102, 102); font-size: 1em; orphans: 2; widows: 2; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">x2goserver</code><span style="color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""> </span><span style="color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">and</span><span style="color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""> </span><code style="color: rgb(102, 102, 102); font-size: 1em; orphans: 2; widows: 2; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">cups-x2go</code><span style="color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""> </span><span style="color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">are set to</span><span style="color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""> </span><code style="color: rgb(102, 102, 102); font-size: 1em; orphans: 2; widows: 2; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">notice</code><span style="color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">. Available log levels are: emerg, crit, alert, err, warning, notice, info, debug.</span></div></div><div class=""><div class="level3" style="margin: 0px; padding: 0px; color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; widows: 2;"><p style="margin: 0px 0px 1.4em; padding: 0px;" class="">The <code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">x2goserver</code> log level can be set by editing:</p><pre class="file" style="margin-top: 0px; margin-bottom: 1.4em; padding: 0.7em 1em; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.5em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; overflow: auto; word-wrap: normal; border: 1px solid rgb(204, 204, 204);">root@x2goserver:~$ editor /etc/x2go/x2goserver.conf</pre><div class=""><h3 class="sectionedit6" id="debugging_x2go_session_broker" style="padding: 0px; color: rgb(85, 85, 85); line-height: 1.2; clear: left; font-size: 1.125em; margin: 0px 0px 0.888em; font-variant-ligatures: normal;">Debugging X2Go Session Broker</h3><div class="level3" style="margin: 0px; padding: 0px; font-variant-ligatures: normal;"><p style="margin: 0px 0px 1.4em; padding: 0px;" class="">The <code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">x2gobroker</code> debug mode can be enabled in:</p><pre class="file" style="margin-top: 0px; margin-bottom: 1.4em; padding: 0.7em 1em; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.5em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; overflow: auto; word-wrap: normal; border: 1px solid rgb(204, 204, 204);">root@broker:~$ editor /etc/default/python-x2gobroker</pre><p style="margin: 0px 0px 1.4em; padding: 0px;" class="">The log files normally get written to <code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">/var/log/x2gobroker/*.log</code></p><p style="margin: 0px 0px 1.4em; padding: 0px;" class="">You can also run</p><pre class="file" style="margin-top: 0px; margin-bottom: 1.4em; padding: 0.7em 1em; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.5em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; overflow: auto; word-wrap: normal; border: 1px solid rgb(204, 204, 204);">root@broker:~$ x2gobroker-daemon-debug</pre><p style="margin: 0px 0px 1.4em; padding: 0px;" class="">as user <code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">root</code>. This is equivalent to running the broker daemon provided by the package <code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 1em; direction: ltr; background-color: rgb(251, 250, 249); box-shadow: rgb(204, 204, 204) 0px 0px 0.3em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">x2gobroker-daemon</code>, but you will see all output piped to stderr while the X2Go Session Broker daemon runs in foreground mode.</p></div></div></div></div></body></html>