[FreeNX-kNX] Problem connecting a freenx with debian etch/sid and possible solution

Leopold Palomo-Avellaneda lepalom at wol.es
Fri Sep 22 17:08:44 UTC 2006


Well,

after spent a lot of time trying to understand what happens, I have found some 
point.

First of all it's a good idea modify the node.conf file to make nxserver to 
log more verbose.

After doing that, I have found a good way to find problems:
http://mail.kde.org/pipermail/freenx-knx/2005-February/000815.html

Login into your NX server and enable SSH X11 Forwarding.

# ssh -X user at yourserver

a) If your FreeNX is in /usr/NX do the following:

    # LD_LIBRARY_PATH="/usr/NX/lib" /usr/NX/bin/nxagent :1000

b) Else if its in /usr/bin or some other FHS structure do just:

   # nxagent :1000


after do that I found that:

leo at ranganathan:~$ LD_LIBRARY_PATH="/usr/NX/lib" /usr/NX/bin/nxagent :1000
/usr/NX/bin/nxagent: /usr/NX/lib/libpng12.so.0: no version information 
available (required by /usr/lib/libXcomp.so.1)
/usr/NX/bin/nxagent: /usr/NX/lib/libpng12.so.0: no version information 
available (required by /usr/lib/libXcompext.so.1)
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

NXAGENT - Version 1.5.0

Copyright (C) 2001, 2005 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '16499'.
/usr/NX/bin/nxagent: symbol lookup error: /usr/NX/bin/nxagent: undefined 
symbol: NXUnsetLibraryPath


so, the nxagent program has some problem with the link libraries. I have found 
that this function is on:

/usr/lib$ grep NXUnsetLibraryPath *
Binary file libX11-nx.so matches
Binary file libX11-nx.so.6 matches
Binary file libX11-nx.so.6.2 matches


so, I have recompiled the freenx and all the libs in the way that the xlibs 
are provided by x11proto-core-dev package, and not any by xlibs-dev (xfree)

After recompiled the packages and reinstalled, now all is working. The only 
issue that I have found is:

leo at ranganathan:/usr/lib$ nxagent :1000
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root


But all is ok.

So, now I don't know that if it's a problem of the mixing packages betwend 
xorg 6 and xorg 7 in the etch/sid boxes or it's a problem of the packages 
that are compiled against xorg 6 and give some problem, etc.


Hope this could help to someone.

Regards,

Leo



A Dimecres 20 Setembre 2006 14:50, Leopold Palomo-Avellaneda va escriure:
> A Dimecres 20 Setembre 2006 13:54, Clive Eisen va escriure:
> > Leopold Palomo-Avellaneda wrote:
> > > Hi,
> > >
> > > I'm having a trouble getting nxclient(1.5.0 and 2.0.0) with a freenx
> > > server. This server was working perfect till the day that I try to
> > > install the nxserver of nomachine. After test it (only 2 users for the
> > > free edition) I would want to back to the free edition and I'm not be
> > > able to open a session.
> > >
> > > I'm using in the server a debian etch updated and the client a linux
> > > etch (but it's not important now, I think). I'm using the packages of
> > > kanotix. I have installed, purged, reinstalled several times, and
> > > nothing.
> > >
> > > I can do a connect, but when the session need to begin, I have this
> > > message in the client:
> > >
> > > NX> 148 Server capacity: not reached for user: leo
> > > NX> 105
> > > startsession --session="ranganathan" --type="unix-kde" --cache="32M"
> > > --images="128M" --cookie="******" --link="wan" --kbtype="pc105/es"
> > > --nodelay="1" --encryption="1" --backingstore="when_requested"
> > > --geometry="1024x768" --media="0" --agent_server="" --agent_user=""
> > > agent_password="******""  --screeninfo="1024x768x24+render"
> > >
> > > NX> 1000 NXNODE - Version 1.4.0-45-SVN OS (GPL)
> > > NX> 700 Session id: ranganathan-1009-92561680F326457D56305454C6BEFBFB
> > > NX> 705 Session display: 1009
> > > NX> 703 Session type: unix-kde
> > > NX> 701 Proxy cookie: e335d8c935d666448a247c1f988e5d79
> > > NX> 702 Proxy IP: 127.0.0.1
> > > NX> 706 Agent cookie: e335d8c935d666448a247c1f988e5d79
> > > NX> 704 Session cache: unix-kde
> > > NX> 707 SSL tunneling: 1
> > > NX> 1004 Error: Session did not start.
> > > NX> 504 Session startup failed.
> > > NX> 999 Bye
> > > Killed by signal 15.
> > >
> > > I have looked the faq, google, etc and no idea how to solve this. I
> > > have looked the process in the server and I have seen that the kde
> > > session begin to work, but in some moment, after a wait, this message.
> > >
> > > Please, could someone give me some idea to solve this?
> >
> > Does this help
> > http://mail.kde.org/pipermail/freenx-knx/2006-August/004026.html
>
> nops .... I have another server with sarge running a freenx. I have copied
> the nxnode file from one to another and the same problem.
>
> Regards,
>
> Leo
>
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/
>
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________



More information about the FreeNX-kNX mailing list