Remote Desktop Connection with Freenx Server

////////// Remote Desktop Connection with Freenx Server /////////

******** server configuration (on fedora 15,16) ************

[root@ccfedora nxserver]#yum install freenx*

[root@ccfedora nxserver]#cd  /etc/nxserver/

[root@ccfedora nxserver]#ls

node.conf.sample  node.conf

[root@ccfedora nxserver]# nxsetup

——> You did select no action.

       FreeNX guesses that you want to _install_ the server.

       Type “y” to abort the installation at this point in time.

       “N” is the default and continues installation.

       Use “/usr/sbin/nxsetup –help” to get more detailed help hints.

Do you want to abort now? [y/N] n

——> 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] nSetting 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.

The key fingerprint is:

9a:24:3f:fb:f8:31:78:69:b4:23:51:85:93:48:f9:52 root@ccfedora.com

The key’s randomart image is:

+–[ DSA 1024]—-+

|     ..o o.      |

|      o E.       |

|       o..       |

|      …        |

|    . o.S        |

|     + * o       |

|      B O        |

|       B +       |

|      ooo        |

+—————–+

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: 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.

/usr/libexec/nx/nxloadconfig: line 646: strings: command not found

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

/usr/libexec/nx/nxloadconfig: line 675: strings: command not found

Error: Could not find 1.5.0 or 2.[01].0 or 3.[0123].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[0123].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 …

The authenticity of host ‘127.0.0.1 (127.0.0.1)’ can’t be established.

RSA key fingerprint is 6b:f9:6a:b8:10:9e:16:74:ea:b0:ca:66:2c:aa:20:1a.

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: 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!

[root@ccfedora nxserver]# ls

client.id_dsa.key  node.conf.sample  passwords.orig         users.id_dsa node.conf passwords server.id_dsa.pub.key  users.id_dsa.pub

[root@ccfedora nxserver]#cat node.conf

#########################################################################

# Authentication / Security directives

#########################################################################

# This adds the passdb to the possible authentication methods

ENABLE_PASSDB_AUTHENTICATION=”1″

[root@ccfedora nxserver]# /usr/libexec/nx/nxserver –useradd bipin

NX> 100 NXSERVER – Version 3.2.0-74-SVN OS (GPL, using backend: not detected)

NX> 1000 NXNODE – Version 3.2.0-74-SVN OS (GPL, using backend: not detected)

NX> 716 Public key added to: /home/bipin/.ssh/authorized_keys2

NX> 1001 Bye.

NX> 999 Bye

[root@ccfedora nxserver]# /usr/libexec/nx/nxserver –passwd bipin

NX> 100 NXSERVER – Version 3.2.0-74-SVN OS (GPL, using backend: not detected)

New password:

Password changed.

NX> 999 Bye

[root@bipinpatel ~]#nxserver –adduser bipin123   (on fedora 15)

[root@bipinpatel ~]#nxserver –passwd bipin123    (on fedora 15)

[root@bipinpatel ~]#/etc/init.d/freenx-server restart     (on fedora 15)

******** client configuration ************

First Download     NX Client Products from below site:

http://www.nomachine.com/download.php

then put username,password and session

then click on configure

///server

and put in host 192.168.51.55      (remote host pc)

///desktop

unix        GNOME

then save it.

then login and take remote desktop

Advertisements

About bpn4it

Feel Free in Linux. Bipin Patel bpn4it@gmail.com Ahmadabad, Gujarat, India
This entry was posted in Bipin hands-on. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s