<br><tt><font size=2>freenx-knx-bounces@kde.org wrote on 29/07/2013 07:10:50:<br>
</font></tt>
<br><tt><font size=2>[SNIP]</font></tt>
<br>
<br><tt><font size=2>We got to PASSDB with <br>
&link=adsl&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&media=0&session=vps&type=unix-gnome&geometry=1914x1138&client=winnt&keyboard=pc102/en_US&screeninfo=1914x1138x32+render&clientproto=3.2.0&user=user&userip=192.168.1.101&uniqueid=C520276F85462929964FED92A22793AE&display=1000&host=127.
0.0.1</font></tt>
<br><tt><font size=2>ssh</font></tt>
<br><tt><font size=2>user</font></tt>
<br><tt><font size=2>127.0.0.1</font></tt>
<br><tt><font size=2>45559</font></tt>
<br><tt><font size=2>/usr/bin</font></tt>
<br><tt><font size=2>--startsession</font></tt>
<br><tt><font size=2>and login method PASSDB <br>
> NX> 1004 Error: Session did not start. <br>
</font></tt>
<br>
<br>
<br><tt><font size=2>*** I see ***</font></tt>
<br><tt><font size=2>This hasn't given the usual</font></tt>
<br><tt><font size=2> Permission
denied (publickey, gssapi-keyex, gssapi-with-mic)</font></tt>
<br><tt><font size=2>error message.</font></tt>
<br>
<br><tt><font size=2>Where was that written to before?? Was it present
this time ??</font></tt>
<br><tt><font size=2>[SNIP] <br>
> Strange, should I try a compelte and clean reinstall? <br>
</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>Might fix things. Will freshen/simplify your NXsetup
anyway . . . </font></tt>
<br>
<br>
<br>
<br>
<br>
<br><tt><font size=2>Just before you try that, run a couple more things
tho'</font></tt>
<br>
<br><tt><font size=2>On the NX server</font></tt>
<br>
<br><tt><font size=2> su -l nx -s /bin/bash</font></tt>
<br>
<br><tt><font size=2>again to</font></tt>
<br><tt><font size=2> user nx
running /bash</font></tt>
<br>
<br><tt><font size=2>as you did before</font></tt>
<br><tt><font size=2>and</font></tt>
<br><tt><font size=2> run ssh etc as
before</font></tt>
<br><tt><font size=2>but</font></tt>
<br><tt><font size=2>this time with the nxnode command at the end,
and echo "parameters" | ssh</font></tt>
<br><tt><font size=2>i.e this command ( Watch the line wrap again
after that echo)</font></tt>
<br>
<br>
<br><tt><font size=2>echo "&link=adsl&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&media=0&session=vps&type=unix-gnome&geometry=1914x1138&client=winnt&keyboard=pc102/en_US&screeninfo=1914x1138x32+render&clientproto=3.2.0&user=user&userip=192.168.1.101&uniqueid=C520276F85462929964FED92A22793AE&display=1000&host=127.
0.0.1" | ssh -l "user"
127.0.0.1 -p 45559 -x -2
-i /etc/nxserver/client.id_dsa.key -o 'PubkeyAuthentication
yes' -o 'RSAAuthentication yes' -o 'RhostsAuthentication
no' -o 'PasswordAuthentication no' -o 'RhostsRSAAuthentication
no' -o 'StrictHostKeyChecking no' /usr/bin/nxnode --startsession</font></tt>
<br>
<br>
<br>
<br>
<br><tt><font size=2>** ALSO** </font></tt>
<br>
<br><tt><font size=2> (big ooops here) I missed putting in</font></tt>
<br>
<br><tt><font size=2> $NX_ETC_DIR/users.id_dsa
</font></tt>
<br>
<br><tt><font size=2>in the "echo line" you added to nxserver,
so we should just check nxserver is actually finding the private key file</font></tt>
<br><tt><font size=2>else</font></tt>
<br><tt><font size=2> we would get such
an error . . .</font></tt>
<br><tt><font size=2>so</font></tt>
<br><tt><font size=2>if you kept the modified nxsever, you could run it
again</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>This time add the following line near 933<br>
<br>
echo -e "We got to PASSDB with\n$@\n$COMMAND_SSH\n$USER\n$NODE_HOSTNAME\n$SSHD_PORT\n$NX_ETC_DIR/users.id_dsa\n$PATH_BIN\n$CMD\nand
login method $LOGIN_METHOD\n"|log_tee <br>
<br>
. . . just before the echo.</font></tt>
<br>
<br>
<br><tt><font size=2>*** ALSO ***</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>I notice that</font></tt>
<br><tt><font size=2> $COMMAND_SSH</font></tt>
<br><tt><font size=2>contains</font></tt>
<br><tt><font size=2> "ssh"</font></tt>
<br><tt><font size=2>without the path</font></tt>
<br>
<br>
<br><tt><font size=2>Do you have another ssh anywhere, a wrapper script
maybe ???</font></tt>
<br>
<br><tt><font size=2>what do the commands</font></tt>
<br>
<br><tt><font size=2> file `which ssh`;
. nxloadconfig; file `which ssh`</font></tt>
<br>
<br><tt><font size=2>produce.</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>And/or you could try adding</font></tt>
<br>
<br><tt><font size=2> COMMAND_SSH=/usr/bin/ssh</font></tt>
<br>
<br><tt><font size=2>to</font></tt>
<br><tt><font size=2> /etc/nxserver/node.conf</font></tt>
<br>
<br>
<br>