Ubuntu 10.10<br>Nomachine NX client 3.4.0.10<br>Freenx Server 0.7.3.git10032<br><br>I can do regular NX connections smoothly. But shadowing won't work.<br><br>Configured the client and the server according to<br><br><a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_HowtoShadow#An_example_nxshadowacl" target="_blank">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_HowtoShadow#An_example_nxshadowacl</a>:
<br><br>When connecting as Desktop > Shadow, no matter what Display resolution I choose, once I get the list of sessions available to shadow (attached screenshot) I get this message window:<br><br>"The NX client received an error from the server. Please check the details for more information"<br>
<br>The detailed error provided is below. I can see that the session connects and authenticates, and it evens prompts me to chose a session to shadow, but it fails. /var/log/nxserver.log is empty<br><br>The only things I modified from the instructions above, was the shell for the script. It says to use the she-bang header #!/bin/sh, but if I run it like that, it throws this error:<br>
<br>[: 6: 1: unexpected operator<br><br>So I changed the header to #/bin/bash and the error went away. I have node.conf set not to ask authorization from local user:<br><br>ENABLE_SESSION_SHADOWING_AUTHORIZATION=0<br><br>
Something else happens if I have ENABLE_INTERACTIVE_SESSION_SHADOWING=0, I can see that it actually connects and opens up the window as if it was already downloading the session but then it suddenly closes.<br><br>Finally, the only unexpeect behavior based on the tutorial, is when testing the script. If I do a<br>
./nxshadowacl user1; $?<br><br>Then I get:<br><br>0: Command not found.<br><br>Seems like it is returning the exit value accordingly but it concerns me the Command not found.<br><br>Here is the detail log:<br><br>NX> 203 NXSSH running with pid: 2256<br>
NX> 285 Enabling check on switch command<br>NX> 285 Enabling skip of SSH config files<br>NX> 285 Setting the preferred NX options<br>NX> 200 Connected to address: 10.198.29.69 on port: 22<br>NX> 202 Authenticating user: nx<br>
NX> 208 Using auth method: publickey<br>Linux uccg-server 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux<br>Ubuntu 10.10<br><br>Welcome to Ubuntu!<br> * Documentation: <a href="https://help.ubuntu.com/">https://help.ubuntu.com/</a><br>
<br>0 packages can be updated.<br>0 updates are security updates.<br><br>HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.4.0)<br>NX> 105 hello NXCLIENT - Version 3.2.0<br>NX> 134 Accepted protocol: 3.2.0<br>
NX> 105 SET SHELL_MODE SHELL<br>NX> 105 SET AUTH_MODE PASSWORD<br>NX> 105 login<br>NX> 101 User: willy<br>NX> 102 Password: <br>NX> 103 Welcome to: uccg-server user: willy<br>NX> 105 listsession --type="shadow"<br>
NX> 127 Sessions list of user '.*' for reconnect:<br><br>Display Type Session ID Options Depth Screen Status Session Name<br>------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------<br>
2000 unix-gnome 26929CEE4FC75CE9EC279D996186CD6B --D--PSA 32 1274x947 Running Ubuntu Server (willy) (Shadowed)<br>0 Local 8332C75EC2C8A37A5D3818BCBBA64C29 -------- Running X0 (Local)<br>
0 Local 0DB46FC6CB1D1BC759E33B4A3FB3DC54 -------- Running X0 (Local)<br><br><br>NX> 148 Server capacity: not reached for user: .*<br>NX> 105 listsession --type="shadow"<br>
NX> 127 Sessions list of user '.*' for reconnect:<br><br>Display Type Session ID Options Depth Screen Status Session Name<br>------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------<br>
2000 unix-gnome 26929CEE4FC75CE9EC279D996186CD6B --D--PSA 32 1274x947 Running Ubuntu Server (willy) (Shadowed)<br>0 Local 8332C75EC2C8A37A5D3818BCBBA64C29 -------- Running X0 (Local)<br>
0 Local 0DB46FC6CB1D1BC759E33B4A3FB3DC54 -------- Running X0 (Local)<br><br><br>NX> 148 Server capacity: not reached for user: .*<br>NX> 105 attachsession --link="lan" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="Shadow" --type="shadow" --client="winnt" --keyboard="pc102/us" --id="0DB46FC6CB1D1BC759E33B4A3FB3DC54" --display="0"<br>
<br>NX> 596 Could not find shadowed session 0DB46FC6CB1D1BC759E33B4A3FB3DC54. Session failed.<br>NX> 596 Sharing: <br>NX> 105 NX> 280 Exiting on signal: 15<br><br>Don't even have event viewer logs on this.<br>
<br>Thanks in advance,<br><br clear="all"> <b style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);"><font size="2"><font size="2"><span style="font-family: verdana,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;"><span style="font-family: verdana,sans-serif;">José </span></span></span></font></font></span></b><br>