lost and found ( for me ? )

How to install FreeNX on CentOS 5.5

How to install FreeNX on CentOS 5.5

freenx
http://freenx.berlios.de/

freenx is alternative to VNC.

You can install freenx  via yum.
freenx is included in extras repository.

At first I wanted to install x2go server instead of freenx , however I can’t find rpm/source code of freenx :(
X2go alternative to FreeNX :)

[ how to install FreeNX Server ]

# cat /etc/redhat-release
CentOS release 5.5 (Final)
# uname -r
2.6.18-194.32.1.el5

# yum list | grep -i freenx
freenx.x86_64                              0.7.3-6.el5.centos          extras

install freenx via yum
# yum install freenx.x86_64

set up a key for an authentication ( don’t use my own custom key pair )
# nxsetup --install
------> It is recommended that you use the NoMachine key for
       easier setup. If you answer "y", FreeNX creates a custom
       KeyPair and expects you to setup your clients manually.
       "N" is default and uses the NoMachine key for installation.

Do you want to use your own custom KeyPair? [y/N] N
Setting up /etc/nxserver ...done
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nx/nxserver.log ...done
Adding user "nx" to group "utmp" ...done
Setting up known_hosts and authorized_keys2 ...done
Setting up permissions ...done
Setting up cups nxipp backend ...done

----> Testing your nxserver configuration ...
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
Warning: Invalid value "APPLICATION_LIBRARY_PRELOAD=/usr/lib/libX11.so.6.2:/usr/lib/libXext.so.6.4:/usr/lib/libXcomp.so.2:/usr/lib/libXcompext.so:/usr/lib/libXrender.so.1.2". /usr/lib/libX11.so.6.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_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.
Error: Could not find 1.5.0 or 2.[01].0 or 3.[01].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012].0 backend is needed for this version of FreeNX.

 Warnings occured during config check.
 To enable these features please correct the configuration file.

<---- done

----> Testing your nxserver connection ...
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: not detected)
<--- done

Ok, nxserver is ready.

PAM authentication enabled:
 All users will be able to login with their normal passwords.

 PAM authentication will be done through SSH.
 Please ensure that SSHD on localhost accepts password authentication.

 You can change this behaviour in the /etc/nxserver/node.conf file.
Have Fun!


start freenx server
# /etc/init.d/freenx-server start
freenx-server を起動中:                                    [  OK  ]


check the status of freenx ( it’s running )
# nxserver --status
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: not detected)
NX> 110 NX Server is running
NX> 999 Bye


[ FreeNX Client Setup ]

just download n’ Install freenx client for windows ( very easy ! )
http://www.nomachine.com/download-client-windows.php

launch freenx client n’ access to freenx server.


thx for reading :)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.