<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Maybe I’m reading this wrong, but I think it may still be a quoting issue.  Here’s what I see.  In the following debug messages, it appears to be sending a command - “export HOSTNAME && x2golistsessions” - to the server, and processing its output.  When I run this from the command line, I get the following output:<div><br></div><div><div style="margin: 0px; font-family: Menlo;">X2GODATABEGIN:7542493b-a84b-418d-994c-d640b3d91ef5</div><div style="margin: 0px; font-family: Menlo;">X2GODATAEND:7542493b-a84b-418d-994c-d640b3d91ef5</div><div><br></div><div>This is just the session frame, with no text.  However, when the x2go client runs it, it seems to see the following between those two lines:</div><div><br></div><div><span style="font-family: Menlo;">; export PATH=/usr/local/bin:/usr/bin:/bin; export HOSTNAME</span></div><div><span style="font-family: Menlo;"><br></span></div><div><font face="Menlo">Unless I’m misinterpreting something, this is actually part of the command string, and not its output.  The relevant debug output it below.</font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo">Thanks!</font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo">David</font></div><div><br></div><div><br><div><br></div><div><div style="margin: 0px; font-family: Menlo;">x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 0: "export HOSTNAME && x2golistsessions"</div><div style="margin: 0px; font-family: Menlo;">x2go-DEBUG-../src/sshprocess.cpp:234> Evoking SSH command via SshProcess object 0: "ssh -o ServerAliveInterval=60  -K  -o GSSApiAuthentication=yes -o PasswordAuthentication=no -o PubkeyAuthentication=no -p 22 -l dritch <a href="http://dritch-cuda.dev.cyberpointllc.com">dritch-cuda.dev.cyberpointllc.com</a> "bash -c 'echo \"X2GODATABEGIN:7542493b-a84b-418d-994c-d640b3d91ef5\"; export PATH=\"/usr/local/bin:/usr/bin:/bin\"; export HOSTNAME && x2golistsessions; echo \"X2GODATAEND:7542493b-a84b-418d-994c-d640b3d91ef5\";'""</div><div style="margin: 0px; font-family: Menlo;">x2go-DEBUG-../src/sshprocess.cpp:494> SSH process exit code :0</div><div style="margin: 0px; font-family: Menlo;">x2go-DEBUG-../src/sshprocess.cpp:483> SSH finished: true - "; export PATH=/usr/local/bin:/usr/bin:/bin; export HOSTNAME</div><div style="margin: 0px; font-family: Menlo;">X2GODATAEND:7542493b-a84b-418d-994c-d640b3d91ef5;</div><div style="margin: 0px; font-family: Menlo;">" (0).</div><div style="margin: 0px; font-family: Menlo;">x2go-DEBUG-../src/onmainwindow.cpp:3458> "; export PATH=/usr/local/bin:/usr/bin:/bin; export HOSTNAME</div><div style="margin: 0px; font-family: Menlo;">X2GODATAEND:7542493b-a84b-418d-994c-d640b3d91ef5;</div><div style="margin: 0px; font-family: Menlo;">"</div><div style="margin: 0px; font-family: Menlo;">x2go-DEBUG-../src/onmainwindow.cpp:4289> No shadow session.</div><div style="margin: 0px; font-family: Menlo;">x2go-DEBUG-../src/onmainwindow.cpp:4312> "Decoding session string:; export PATH=/usr/local/bin:/usr/bin:/bin; export HOSTNAME"</div><div><br></div><div><div>On Jun 7, 2015, at 8:47 PM, Mihai Moldovan <<a href="mailto:ionic@ionic.de">ionic@ionic.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 08.06.2015 01:44 AM, David Ritch wrote:<br><blockquote type="cite">I was finally able to test this (had to work with IT department to have it<br>installed).  Unfortunately, it does not appear to fix the issue.  Now, when I<br>try to use Kerberos, I get a segfault.  I ran it with —debug, and captured the<br>output.  It’s here: <a href="https://dpaste.de/TOsT">https://dpaste.de/TOsT</a>.<br></blockquote><br>Thanks for your feedback!<br><br>The problem is that the returned string is halfway garbage. The client shouldn't<br>crash, but it looks like the parsing function isn't robust enough, that's a bug<br>of its own...<br><br>I'll have to setup a Kerberos test system to debug this.<br><br>The executed command(s) look alright and when I test manually on the command<br>line (changing PubkeyAuthentication=no to PubkeyAuthentication=yes and the<br>user/host values), it's executed flawlessly.<br><br><br><br>Mihai<br><br><br></blockquote></div><br></div></div></div></body></html>