[root@localhost ~]# cat /etc/fedora-release Fedora release 18 (Spherical Cow) [root@localhost ~]# uname -ri 3.7.5-201.fc18.x86_64 x86_64 |
install freenx-server via yum.
[root@localhost ~]# yum install -y freenx-server |
configure freenx-server
[root@localhost ~]# nxsetup --install --setup-nomachine-key Setting up /etc/nxserver ...done Generating public/private dsa key pair. Your identification has been saved in /etc/nxserver/users.id_dsa. Your public key has been saved in /etc/nxserver/users.id_dsa.pub. 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_keys ...done Setting up permissions ...done ----> Testing your nxserver configuration ... Warning: Invalid value "COMMAND_FOOMATIC=/usr/bin/foomatic-ppdfile" Users will not be able to use foomatic. Warning: "/usr/lib/cups/backend/smb" is not executable. Users will not be able to enable printing. 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_XTERM=xterm" Users will not be able to request an xterm 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. Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need version 1.2. Users will not be able to enable printing. Ignore if you use cups > 1.2 Warnings occured during config check. To enable these features please correct the configuration file. <---- done ----> Testing your nxserver connection ... The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established. RSA key fingerprint is b3:a6:ef:05:65:a8:20:54:ed:07:67:41:7a:f2:31:87. Are you sure you want to continue connecting (yes/no)? Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts. HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0) <--- 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! |
node.cfg
back up
[root@localhost ~]# cd /etc/nxserver/ [root@localhost nxserver]# cp node.conf node.conf.org |
edit node.cfg like this:
[root@localhost nxserver]# cat node.conf ENABLE_PASSDB_AUTHENTICATION="0" ENABLE_SSH_AUTHENTICATION="1" ENABLE_CLIPBOARD="both" NX_LOG_LEVEL=4 NX_LOGFILE=/var/log/nx/nxserver.log COMMAND_MD5SUM="md5sum" |
start freenx-server
[root@localhost nxserver]# systemctl status freenx-server.service freenx-server.service - FreeNX Server Loaded: loaded (/usr/lib/systemd/system/freenx-server.service; disabled) Active: active (exited) since Thu 2013-02-14 19:15:37 JST; 10s ago Docs: http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ Process: 3945 ExecStart=/usr/libexec/nx/nxserver --start (code=exited, status=0/SUCCESS) Process: 3873 ExecStartPre=/usr/libexec/nx/nxserver --cleanup (code=exited, status=1/FAILURE) Process: 3870 ExecStartPre=/usr/libexec/nx/freenx-server-check-setup (code=exited, status=0/SUCCESS) Feb 14 19:15:37 localhost.localdomain systemd[1]: Starting FreeNX Server... Feb 14 19:15:37 localhost.localdomain systemd[1]: Started FreeNX Server. |
start freenx-server when booting up Fedora
[root@localhost nxserver]# systemctl enable freenx-server.service ln -s '/usr/lib/systemd/system/freenx-server.service' '/etc/systemd/system/multi-user.target.wants/freenx-server.service' |
prepare a NX client.
I installed NX client on LInux Mint 14.
mint hattori # tail -1 /etc/lsb-release DISTRIB_DESCRIPTION="Linux Mint 14 Nadia" mint hattori # uname -ri 3.5.0-23-generic x86_64 |
download NX client for Linux from http://www.nomachine.com/download-client-linux.php
mint hattori # ls *.deb nxclient_3.5.0-7_amd64.deb |
install nxclient
mint hattori # dpkg -i nxclient_3.5.0-7_amd64.deb mint hattori # chmod 755 /usr/lib/cups/backend/ipp |
start nxclient
mint hattori # /usr/NX/bin/nxclient |
connect to the NX server ( Fedora 18 ) from the NX client ( Mint )
Okay , I can connect to the NX server.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.