[FreeNX-kNX] freenx client crashes on starting Matlab
Art
grenander at gmail.com
Wed Mar 18 00:02:36 UTC 2009
Dear Terje,
On Tue, Mar 17, 2009 at 11:51 PM, Terje Andersen
<terander at guard.zapto.org>wrote:
> On Tue, 17 Mar 2009 19:16:59 +0100
> Art <grenander at gmail.com> wrote:
>
> > I am running freenx server (0.7.3+teambzr102-0freenxteam1~hardy1) on
> Ubuntu.
> > It works extremely well and has made my life a lot easier.
> >
> > I have a problem with one application. When I start MATLAB on a session
> on
> > the server machine with a Mac OS NoMachine client, the client dies and
> every
> > time I try to reconnect to the server, it crashes. I assume this has
> > something to do with fonts. Matlab does all sort of weird things wherever
> I
> > run it so it could be something else. Was wondering if someone you could
> > help. I have Matlab on both machines.
> >
>
> You need to look (or supply the logs), in node.conf:
>
> NX_LOG_LEVEL=5
> SESSION_LOG_CLEAN=0
>
I did this and restated the freenx-server.
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.
Then connect and start matlab, look at the logs, serverside:
> /var/log/nxserver.log
> ~/.nx/<session-id>/session (and error)
> 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)
>
> If you can't figure out the error, return here with the logs.
The client logs are as follows:
error:
Auth: WARNING! Generating a fake cookie for X authentication.
Auth: WARNING! Failed to read data from the X auth command.
<SNIP repeats>
Auth: WARNING! Generating a fake cookie for X authentication.
Auth: WARNING! Failed to read data from the X auth command.
Auth: WARNING! Generating a fake cookie for X authentication.
Loop: WARNING! Could not retrieve the X server authentication cookie.
session:
Info: Proxy running in client mode with pid '4355'.
Session: Starting session at 'Wed Mar 18 00:45:13 2009'.
Info: Connection with remote proxy completed.
Warning: Failed to read data from the X auth command.
Warning: Generated a fake cookie for X authentication.
Info: Using ADSL link parameters 512/24/1/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using pack method 'adaptive-7' with session 'gnome'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: Using cache file
'/Users/art/.nx/cache-gnome/S-BB873EC0A1DB14547727A69E64
584438'.
Info: Forwarding X11 connections to display '/tmp/launch-E9kXuZ/:0'.
Info: Listening to font server connections on port '11000'.
Session: Session started at 'Wed Mar 18 00:45:15 2009'.
Info: Established X server connection.
Info: Using shared memory parameters 1/4096K.
Session: Terminating session at 'Wed Mar 18 00:46:58 2009'.
Session: Session terminated at 'Wed Mar 18 00:46:58 2009'.
options:
nx/nx,cookie=15171b941245cc8145bcfa9570f23300,shmem=1,shpix=1,font=1,encryption=
1,session=session,id=broc-1000-7351FA976CEF06CEE71A7BC9CAFC23C3:1000
The server log is as follows (possibly including a prior session and my
stopping the server after the crash):
Info: Using fds #4 and #3 for communication with nxnode.
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
NX> 105 hello NXCLIENT - Version 3.2.0
NX> 134 Accepted protocol: 3.2.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: art
NX> 102 Password:
NX> 103 Welcome to: broc user: art
NX> 105 listsession --user="art" --status="suspended,running"
--geometry="1920x1200x32+render" --type="unix-gnome"
NX> 127 Sessions list of user 'art' for reconnect:
Display Type Session ID Options Depth
Screen Status Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: art
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"
Info: Using /etc/nxserver/nxacl to change session parameters or deny
session.
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
NX> 700 Session id: broc-1000-7351FA976CEF06CEE71A7BC9CAFC23C3
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 15171b941245cc8145bcfa9570f23300
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 15171b941245cc8145bcfa9570f23300
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 1
NX> 1009 Session status: starting
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
NX> 105 bye
Bye
NX> 999 Bye
NX> 1009 Session status: terminating
Info: Closing connection to slave with pid 8012.
1001 Bye.
NX> 1001 Bye.
Info: Closing connection to slave with pid 8012.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20090318/d2bc9abd/attachment.html>
More information about the FreeNX-kNX
mailing list