Dear Terje,<br><br><div class="gmail_quote">On Tue, Mar 17, 2009 at 11:51 PM, Terje Andersen <span dir="ltr"><<a href="mailto:terander@guard.zapto.org">terander@guard.zapto.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, 17 Mar 2009 19:16:59 +0100<br>
Art <<a href="mailto:grenander@gmail.com">grenander@gmail.com</a>> wrote:<br>
<br>
> I am running freenx server (0.7.3+teambzr102-0freenxteam1~hardy1) on Ubuntu.<br>
> It works extremely well and has made my life a lot easier.<br>
><br>
> I have a problem with one application. When I start MATLAB on a session on<br>
> the server machine with a Mac OS NoMachine client, the client dies and every<br>
> time I try to reconnect to the server, it crashes. I assume this has<br>
> something to do with fonts. Matlab does all sort of weird things wherever I<br>
> run it so it could be something else. Was wondering if someone you could<br>
> help. I have Matlab on both machines.<br>
><br>
<br>
</div>You need to look (or supply the logs), in node.conf:<br>
<br>
NX_LOG_LEVEL=5<br>
SESSION_LOG_CLEAN=0<br>
</blockquote><div><br>I did this and restated the freenx-server.<br> <br>I repeated the matlab crash but I am not sure the logs are informative. This is the only time I have had a problem with a freenx after much use and abuse. As a result, I know almost nothing about how it works.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Then connect and start matlab, look at the logs, serverside:<br>
/var/log/nxserver.log<br>
~/.nx/<session-id>/session (and error)<br>
look at the client at the same place as the last one above this line (or c:\documents and settings\username\.nx\<session-id>\session/error)<br>
<br>
If you can't figure out the error, return here with the logs.</blockquote><div> <br>The client logs are as follows:<br><br>error:<br><br>Auth: WARNING! Generating a fake cookie for X authentication.<br>Auth: WARNING! Failed to read data from the X auth command.<br>
<SNIP repeats><br>Auth: WARNING! Generating a fake cookie for X authentication.<br>Auth: WARNING! Failed to read data from the X auth command.<br>Auth: WARNING! Generating a fake cookie for X authentication.<br>Loop: WARNING! Could not retrieve the X server authentication cookie.<br>
<br>session:<br><br>Info: Proxy running in client mode with pid '4355'.<br>Session: Starting session at 'Wed Mar 18 00:45:13 2009'.<br>Info: Connection with remote proxy completed.<br>Warning: Failed to read data from the X auth command.<br>
Warning: Generated a fake cookie for X authentication.<br>Info: Using ADSL link parameters 512/24/1/0.<br>Info: Using cache parameters 4/4096KB/16384KB/16384KB.<br>Info: Using pack method 'adaptive-7' with session 'gnome'.<br>
Info: Using ZLIB data compression 1/1/32.<br>Info: Using ZLIB stream compression 4/4.<br>Info: Using cache file '/Users/art/.nx/cache-gnome/S-BB873EC0A1DB14547727A69E64<br>584438'.<br>Info: Forwarding X11 connections to display '/tmp/launch-E9kXuZ/:0'.<br>
Info: Listening to font server connections on port '11000'.<br>Session: Session started at 'Wed Mar 18 00:45:15 2009'.<br>Info: Established X server connection.<br>Info: Using shared memory parameters 1/4096K.<br>
Session: Terminating session at 'Wed Mar 18 00:46:58 2009'.<br>Session: Session terminated at 'Wed Mar 18 00:46:58 2009'.<br><br>options:<br><br>nx/nx,cookie=15171b941245cc8145bcfa9570f23300,shmem=1,shpix=1,font=1,encryption=<br>
1,session=session,id=broc-1000-7351FA976CEF06CEE71A7BC9CAFC23C3:1000<br><br></div></div>The server log is as follows (possibly including a prior session and my stopping the server after the crash):<br><br>Info: Using fds #4 and #3 for communication with nxnode.<br>
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.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: art<br>NX> 102 Password: <br>NX> 103 Welcome to: broc user: art<br>NX> 105 listsession --user="art" --status="suspended,running" --geometry="1920x1200x32+render" --type="unix-gnome"<br>
NX> 127 Sessions list of user 'art' for reconnect:<br><br>Display Type             Session ID                       Options  Depth Screen         Status      Session Name<br>------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------<br>
<br><br>NX> 148 Server capacity: not reached for user: art<br>NX> 105 startsession  --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="broc" --type="unix-gnome" --geometry="1024x768+427+205" --client="macosx" --keyboard="query" --screeninfo="1024x768x32+render" <br>
<br>Info: Using /etc/nxserver/nxacl to change session parameters or deny session.<br>NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)<br>NX> 700 Session id: broc-1000-7351FA976CEF06CEE71A7BC9CAFC23C3<br>
NX> 705 Session display: 1000<br>NX> 703 Session type: unix-gnome<br>NX> 701 Proxy cookie: 15171b941245cc8145bcfa9570f23300<br>NX> 702 Proxy IP: 127.0.0.1<br>NX> 706 Agent cookie: 15171b941245cc8145bcfa9570f23300<br>
NX> 704 Session cache: unix-gnome<br>NX> 707 SSL tunneling: 1<br>NX> 1009 Session status: starting<br>NX> 710 Session status: running<br>NX> 1002 Commit<br>NX> 1006 Session status: running<br>NX> 105 bye<br>
Bye<br>NX> 999 Bye<br>NX> 1009 Session status: terminating<br>Info: Closing connection to slave with pid 8012.<br>1001 Bye.<br>NX> 1001 Bye.<br>Info: Closing connection to slave with pid 8012.<br><br><br>