[FreeNX-kNX] Problems with 7.0.3 installation on debian
Chris Smith
chris at evib.net
Wed Sep 17 14:11:14 UTC 2008
Sorry. That was very sloppy of me to leave off the /lib
I also copied node.conf.sample to /usr/NX/etc/node.conf and it was
very useful for troubleshooting the missing library. I set
SESSION_LOG_CLEAN=0. Then I was able to see what the login failure
mode was by looking in $HOME/.nx/F-C-.../session This is where I found
that nxagent was unable to load libXcompshad.so.3
Building from the sources under RedHat EL5 was made more difficult as
RH no longer distribute imake as it is deprecated (in RHEL5). Luckily
the binary RPM for Fedora 9 installed without any dependency problems
(imake-1.0.2-6.fc9.i386.rpm). But I did find that running nxsetup --
install more than once threw up some strange messages. In the end I
made a complete build/load script and made a tarball of the resulting
directory tree /usr/NX so I could quickly do a fresh install if any
experiment went wrong!
Cheers
Chris
On 16 Sep 2008, at 23:31, jhonyl wrote:
> Thanks, I added /lib to the end of your suggestion for it to work:
>
> $ cp -a nxcompshad/libXcompshad.so* ${NXPREFIX}/lib
>
> and also disabled the slave mode in node.conf. BTW node.conf didn't
> exist anywhere so I had to do:
>
> $ cp freenx-server-0.7.3/node.conf.sample /usr/NX/etc/node.conf
> $ chown nx /usr/NX/etc/node.conf
>
>
> Now it succeeds to log on, and seems ok...
>
> ... but, on one of the failed attempts before,
> it has suggested me to do:
>
> $ ssh -X myserver; /usr/NX/bin/nxnode --agent
>
> and I did that, and got this warrning, or error regarding
> libpng12.so.0:
>
> $ ssh -X myserver; /usr/NX/bin/nxnode --agent
> ssh: myserver: Name or service not known
> NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.2.0)
> NX> 716 Starting NX Agent ...
> /usr/NX/bin/nxagent: /usr/NX/lib/libpng12.so.0: no version information
> available (required by /usr/NX/lib/libXcompext.so.3)
> Error: Aborting session with 'Server is already active for display 0
> If this server is no longer running, remove /tmp/.X0-lock
> and start again'.
> Session: Aborting session at 'Wed Sep 17 00:59:03 2008'.
> Session: Session aborted at 'Wed Sep 17 00:59:03 2008'.
> NX> 716 NX Agent exited with status: 1
> NX> 1001 Bye.
>
> ------------------------
>
> I would like to know if login in is faster in version 7.0.3 with slave
> mode disabled, and if there are problems in login in?
>
> TIA
>
> ------------------------
>
> -----Original Message-----
> From: Chris Smith <chris at evib.net>
> To: User Support for FreeNX Server and kNX Client <freenx-knx at kde.org>
> Sent: Tue, 16 Sep 2008 2:30 am
> Subject: Re: [FreeNX-kNX] Problems with 7.0.3 installation on debian
>
>
>
> On 16 Sep 2008, at 03:22, jhonyl wrote:
>
>> Hi
>>
>> I have been trying to install 7.0.3 on debian from source. I have
>> followed the instructions in INSTALL, and everything went fine up to
>> the point of nxsetup --install. Lots of WARNINGS were out there, and
>> eventually the testing your connection failed:
>>
>> ---------------------------------------
>> Warning: Could not find nxdesktop in /usr/NX/bin. RDP sessions won't
>> work.
>> Warning: Could not find nxviewer in /usr/NX/bin. VNC sessions won't
>> work.
>> Warning: Invalid value
>> "APPLICATION_LIBRARY_PRELOAD=/usr/NX/lib/libX11.so.6.2:/usr/NX/lib/
>> libXex
>> t.so.6.4:/usr/NX/lib/libXcomp.so:/usr/NX/lib/libXcompext.so:/usr/NX/
>> lib/l
>> ibXrender.so.1.2". /usr/NX/lib/libXrender.so.1.2 could not be found.
>> Users will not be able to run a single application in non-rootless
>> mode.
>> Warning: "/usr/lib/cups/backend/smb" is not executable.
>> Users will not be able to enable printing.
>> Warning: Invalid value "DEFAULT_X_SESSION=/etc/X11/xdm/Xsession"
>> Users might not be able to request a default X session.
>> Warning: Invalid value "COMMAND_START_KDE=startkde"
>> Users will not be able to request a KDE session.
>> Warning: Invalid value "COMMAND_START_CDE=cdwm"
>> Users will not be able to request a CDE session.
>> Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be
>> able
>> to use SAMBA.
>> Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be
>> able to use SAMBA.
>>
>> Warnings occured during config check.
>> To enable these features please correct the configuration file.
>>
>> <---- done
>>
>> ----> Testing your nxserver connection ...
>> Permission denied (publickey).
>> Fatal error: Could not connect to NX Server.
>>
>> Please check your ssh setup:
>>
>> The following are _examples_ of what you might need to check.
>>
>> - Make sure "nx" is one of the AllowUsers in sshd_config.
>> (or that the line is outcommented/not there)
>> - Make sure "nx" is one of the AllowGroups in sshd_config.
>> (or that the line is outcommented/not there)
>> - Make sure your sshd allows public key authentication.
>> - Make sure your sshd is really running on port 22.
>> - Make sure your sshd_config AuthorizedKeysFile in sshd_config
>> is set to authorized_keys2.
>> (this should be a filename not a pathname+filename)
>> - Make sure you allow ssh on localhost, this could come from some
>> restriction of:
>> -the tcp wrapper. Then add in /etc/hosts.allow: ALL:localhost
>> -the iptables. add to it:
>> $ iptables -A INPUT -i lo -j ACCEPT
>> $ iptables -A OUTPUT -o lo -j ACCEPT
>>
>> ----------------------------
>>
>> I have tried to login from shell via ssh, and got this error:
>>
>> ---------------------------
>> root at Server:/home/jhonyl/freenx.7.0.3/src/freenx-server-0.7.3# ssh -i
>> key nx at 10.0.0.1
>> HELLO NXSERVER - Version 3.2.0-73 OS (GPL, using backend: 3.2.0)
>> NX> 105 login
>> login
>> NX> 101 User: jhonyl
>> chaim
>> NX> 102 Password:
>> /usr/bin/nxserver: line 564: kill: (5651) - No such process
>> NX> 404 ERROR: wrong password or login
>> NX> 999 Bye
>> Connection to 10.0.0.1 closed.
>> ------------------------
>>
>> Please advise.
>>
>>
>> ________________________________________________________________
>> Were you helped on this list with your FreeNX problem?
>> Then please write up the solution in the FreeNX Wiki/FAQ:
>>
>>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject: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
>> ________________________________________________________________
>>
>
> Hi
>
> I had similar problems installing on RedHat EL5. It seems there is a
> line missing from the INSTALL script:
>
> cp -a nxcompshad/libXcompshad.so* ${NXPREFIX}
>
> Hope this helps.
>
> Cheers
>
> Chris
> ________________________________________________________________
> Were you helped on this list with your FreeNX problem?
> Then please write up the solution in the FreeNX Wiki/FAQ:
>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject: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
> ________________________________________________________________
>
> ________________________________________________________________
> Were you helped on this list with your FreeNX problem?
> Then please write up the solution in the FreeNX Wiki/FAQ:
>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject: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