Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 16:29
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Remote control with nomachine NX
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
vampire666

Joined: 15 Nov 2007
Posts: 29

PostPosted: Thu 22 Nov 2007, 17:03    Post_subject:  Remote control with nomachine NX
Sub_title: How to install the nomachine server?
 

I wanted to take control of another computer on a LAN in my house.
I made some researches and I came up to nomachine NX (better then VNC)
http://www.nomachine.com/select-package-server.php?id=1&ids=2

But I don't know how to install the server on puppy.

Could someone help me? I know that this is a rather strange request, but I am very inexperienced in Linux.

I tried unpacking the TAR version of the file in the link in /usr , but then what?

This is the info in the page:

Quote:
Downloading and Installing

TAR.GZ version

* Download the TAR.GZs in the /usr directory
* Change your working directory to the location where you saved the package and install it by running from a console:

# cd /usr
# sudo tar zxvf nxclient-3.0.0-84.i386.tar.gz
# sudo tar zxvf nxnode-3.0.0-93.i386.tar.gz
# sudo tar zxvf nxserver-3.0.0-79.i386.tar.gz

* Run the setup script for installing the NX Node and NX Server software:

# sudo /usr/NX/scripts/setup/nxnode –-install
# sudo /usr/NX/scripts/setup/nxserver –-install

If you don't have the sudo utility installed, log on as superuser ("root") and run the commands without sudo.
Note: click here for detailed instructions on how to install the NX Client, NX Node and NX Server packages. The NX service can be controlled by the command /usr/NX/bin/nxserver --status|--start|--stop|--restart. Additional commands are available to configure the server. Try /usr/NX/bin/nxserver --help for more information. Please, don't forget to download and read the NX Server Administrator's Guide available here.
Back to top
View user's profile Send_private_message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Thu 22 Nov 2007, 17:28    Post_subject:  

If you have unpacked the files into /usr you should have the directory NX in there.
What you have to do is run the install scripts and to do this all you need to do is open a terminal and type in the instructions:

/usr/NX/scripts/setup/nxnode –-install

/usr/NX/scripts/setup/nxserver –-install

if you get error messages post them back here.

You may need to have the Puppy compiler installed or there might be some library dependancies.
Back to top
View user's profile Send_private_message 
vampire666

Joined: 15 Nov 2007
Posts: 29

PostPosted: Thu 22 Nov 2007, 17:42    Post_subject:  

Thanks a bunch for the reply. Smile

When I run "/usr/NX/scripts/setup/nxnode –-install" it says "bash: /usr/NX/scripts/setup/nxnode: No such file or directory"...in fact it isn't there.

This is what I get after I use the
"/usr/NX/scripts/setup/nxserver –-install"
Quote:
# /usr/NX/scripts/setup/nxserver --install

Usage: nxserver ACTION

Actions:

--install {SYSTEM} Run the NX server install procedure for the
specified system or distribuition

--update {SYSTEM} Run the NX server update procedure for the
specified system or distribution

--uninstall Run the NX server uninstall procedure for the
specified system or distribution

--pre-uninstall Disable access to new NX sessions, terminate
sessions and reset the session DBs.

--keygen Generate a new pair of SSH keys. After run-
ning this procedure, the NX clients will use
the key: /usr/NX/share/keys/default.id_dsa.key
to connect to this NX server.

--help Show this message

The specified SYSTEM must be one of the following operating systems,
or none. In the latter case the NX setup will try to autodetect the
system or will choose the layout that better resembles one of the
known systems.

redhat RedHat 7.3, 8.0, 9.0, AS, ES, etc.
suse SuSE 7.3, 8.x, 9.x, etc.
mandrake Mandrake 9.2 10.x, etc.
debian Debian Woody 3.0, Unstable, Ubuntu, etc.
solaris Sun Solaris 8.0, 9.0, 10.0, etc.
fedora Fedora Core 1, 2, 3, 4, 5, etc.
NX> 704 ERROR: Unable to autodetect the operating system type, please specify it
#


EDITED error corrected --> look at the above bold text.

Edited_times_total
Back to top
View user's profile Send_private_message 
vampire666

Joined: 15 Nov 2007
Posts: 29

PostPosted: Thu 22 Nov 2007, 17:49    Post_subject:  

I guess that at this point I have to put:

"/usr/NX/scripts/setup/nxserver –-install [debian]" but how to I insert those special paragraphs in linux puppy? I know ho to do it in windows, but in puppy I can't find out. Embarassed

EDIT: But a part from this, isn't it strange that the file nxnode isn't there?
Back to top
View user's profile Send_private_message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Thu 22 Nov 2007, 18:09    Post_subject:  

What is in the /usr/NX/scripts/setup directory.
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6688
Location: lisbon

PostPosted: Thu 22 Nov 2007, 18:17    Post_subject:  

Try /usr/NX/scripts/setup/nxserver –-install debian

Otherwise it might be easier to download the specific debian & install that.
Back to top
View user's profile Send_private_message 
Everitt

Joined: 19 Dec 2006
Posts: 331
Location: Leeds,UK or Birmingham, UK

PostPosted: Thu 22 Nov 2007, 18:18    Post_subject:  

vampire666 wrote:
I guess that at this point I have to put:

"/usr/NX/scripts/setup/nxserver –-install [debian]" but how to I insert those special paragraphs in linux puppy? I know ho to do it in windows, but in puppy I can't find out. Embarassed

EDIT: But a part from this, isn't it strange that the file nxnode isn't there?


As far as I can see the node setup is a seperate download, and the instructions are badly written generic install steps. It lists the commands for each part, and leaves it up to the user to decide which ones they actually need.
Back to top
View user's profile Send_private_message 
vampire666

Joined: 15 Nov 2007
Posts: 29

PostPosted: Thu 22 Nov 2007, 18:18    Post_subject:  

Ian wrote:
What is in the /usr/NX/scripts/setup directory.

There's only the nxserver file (I also checked if there where other hidden files). Confused
Back to top
View user's profile Send_private_message 
vampire666

Joined: 15 Nov 2007
Posts: 29

PostPosted: Thu 22 Nov 2007, 18:21    Post_subject:  

muggins wrote:
Try /usr/NX/scripts/setup/nxserver –-install debian

Otherwise it might be easier to download the specific debian & install that.


This is what I get:
Quote:

# /usr/NX/scripts/setup/nxserver --install debian
NX> 700 Installing: server at: Thu Nov 22 23:20:14 2007.
NX> 700 Autodetected system: debian.
NX> 700 Install log is: /usr/NX/var/log/install.
NX> 700 ERROR: Output: adduser: unrecognized option `--system'
BusyBox v1.6.1 (2007-08-26 04:52:27 MDT) multi-call binary

Usage: adduser [OPTIONS] user_name

Add a user to the system

Options:
-h DIR Assign home directory DIR
-g GECOS Assign gecos field GECOS
-s SHELL Assign login shell SHELL
-G Add the user to existing group GROUP
-S Create a system user (ignored)
-D Do not assign a password (logins still possible via ssh)
-H Do not create the home directory.
NX> 700 ERROR: Cannot add user: nx to the system.
Back to top
View user's profile Send_private_message 
vampire666

Joined: 15 Nov 2007
Posts: 29

PostPosted: Thu 22 Nov 2007, 18:26    Post_subject:  

Everitt wrote:
vampire666 wrote:
I guess that at this point I have to put:

"/usr/NX/scripts/setup/nxserver –-install [debian]" but how to I insert those special paragraphs in linux puppy? I know ho to do it in windows, but in puppy I can't find out. Embarassed

EDIT: But a part from this, isn't it strange that the file nxnode isn't there?


As far as I can see the node setup is a seperate download, and the instructions are badly written generic install steps. It lists the commands for each part, and leaves it up to the user to decide which ones they actually need.

Argh! You are right!!! I'm downloading the node now...I'll post immediately here after I try to install it.
Back to top
View user's profile Send_private_message 
vampire666

Joined: 15 Nov 2007
Posts: 29

PostPosted: Thu 22 Nov 2007, 18:31    Post_subject:  

So installing "/usr/NX/scripts/setup/nxnode --install debian" gives me this:

Quote:
# /usr/NX/scripts/setup/nxnode --install debian
NX> 700 Starting: install node operation at: Thu Nov 22 23:28:03 2007.
NX> 700 Autodetected system 'debian'.
NX> 700 Install log is '/usr/NX/var/log/install'.
NX> 700 Creating configuration in /usr/NX/etc/node.cfg.
/usr/NX/scripts/setup/nxnode: line 1373: cd: /etc/rc3.d: No such file or directory
/usr/NX/scripts/setup/nxnode: line 1375: cd: /etc/rc2.d: No such file or directory
/usr/NX/scripts/setup/nxnode: line 1377: cd: /etc/rc5.d: No such file or directory
/usr/NX/scripts/setup/nxnode: line 1379: cd: /etc/rc6.d: No such file or directory
/usr/NX/scripts/setup/nxnode: line 1381: cd: /etc/rc0.d: No such file or directory
NX> 700 Inspecting local CUPS environment.
NX> 700 Generating CUPS entries in: /usr/NX/etc/node.cfg.
NX> 700 Installation of version: 3.0.0-93 completed.
NX> 700 Bye.


Installing "/usr/NX/scripts/setup/nxserver --install debian" gives:

Quote:
# /usr/NX/scripts/setup/nxserver --install debian
NX> 700 Installing: server at: Thu Nov 22 23:29:58 2007.
NX> 700 Autodetected system: debian.
NX> 700 Install log is: /usr/NX/var/log/install.
NX> 700 ERROR: Output: adduser: unrecognized option `--system'
BusyBox v1.6.1 (2007-08-26 04:52:27 MDT) multi-call binary

Usage: adduser [OPTIONS] user_name

Add a user to the system

Options:
-h DIR Assign home directory DIR
-g GECOS Assign gecos field GECOS
-s SHELL Assign login shell SHELL
-G Add the user to existing group GROUP
-S Create a system user (ignored)
-D Do not assign a password (logins still possible via ssh)
-H Do not create the home directory.
NX> 700 ERROR: Cannot add user: nx to the system.

Do i have to add a username? Whatever I want? (I'm sorry to be so...inexperienced Rolling Eyes )
EDIT: Has this something to do with puppy authentication username (which I don't have set up)? Or is just the username used for the program?
Back to top
View user's profile Send_private_message 
vampire666

Joined: 15 Nov 2007
Posts: 29

PostPosted: Thu 22 Nov 2007, 19:16    Post_subject:  

Quote:
1.2 Prerequisites

Installation of the NX Client and NX Node packages is a prerequisite for installing NX Server. To install NX Client and NX Node, please follow the instructions reported in the correspondent Installation Instructions available at:

http://www.nomachine.com/documents/client/install.php
http://www.nomachine.com/documents/node/install.php

I find out this on another page: http://www.nomachine.com/documents/server/install.php

So it looks like I have to install before the client (although I won't have to use it on that machine as it will be the server). My bad. Now I don't hame much time so I'll try do to this and keep you posted on my success/un-success as soon as possible.

Thanks to all of you!
Back to top
View user's profile Send_private_message 
vampire666

Joined: 15 Nov 2007
Posts: 29

PostPosted: Fri 23 Nov 2007, 08:36    Post_subject:  

I installed the client and node, but when installing the server I get the same error about the user:

Quote:
# /usr/NX/scripts/setup/nxserver --install debian
NX> 700 Installing: server at: Fri Nov 23 13:34:47 2007.
NX> 700 Autodetected system: debian.
NX> 700 Install log is: /usr/NX/var/log/install.
NX> 700 ERROR: Output: adduser: unrecognized option `--system'
BusyBox v1.6.1 (2007-08-26 04:52:27 MDT) multi-call binary

Usage: adduser [OPTIONS] user_name

Add a user to the system

Options:
-h DIR Assign home directory DIR
-g GECOS Assign gecos field GECOS
-s SHELL Assign login shell SHELL
-G Add the user to existing group GROUP
-S Create a system user (ignored)
-D Do not assign a password (logins still possible via ssh)
-H Do not create the home directory.
NX> 700 ERROR: Cannot add user: nx to the system.
#

Anyone knows what should I do at this point?
EDIT: I found this:
http://nomachine.org/ar/view.php?ar_id=AR03E00451
Quote:
Why the installation of NX server could fail with error 'Cannot add user: nx' ?
It has been verified that when nscd (Name Server Cache Daemon) is running on the host machine, some delay in updating the cache can occur.

In this case, even if NX server has been previously correctly uninstalled, and the user nx removed from the system, the 'id nx' can still be present in the cache and
your next attempt to install NX server can fail with error:

NX> 704 ERROR: Cannot add user: nx. User: nx already exists.
NX> 704 ERROR: Please try to fix the problem by reinstalling the server.

In a similar way, it could also happen that the nx user has been created on the system during the NX Server installation, but the cache is still not updated. In this
case, the 'chown' command issued during the installation procedure could fail, for example with error:

NX> 700 ERROR: Output: chown: unknown user id nx.
NX> 700 ERROR: Cannot set ownership attributes for
'/usr/NX/etc/passwords.db.lock' to 'nx:root'

In order to solve both these issues, you may try to stop and restart the NSCD process:

# /etc/init.d/nscd stop
# /etc/init.d/nscd start


But is seams that there's no /etc/init.d/nscd in puppy. How can I do then?
Back to top
View user's profile Send_private_message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Fri 23 Nov 2007, 08:57    Post_subject:  

vampire666 wrote:
NX> 700 ERROR: Output: adduser: unrecognized option `--system'
BusyBox v1.6.1 (2007-08-26 04:52:27 MDT) multi-call binary

Usage: adduser [OPTIONS] user_name

looks like busybox's adduser might have problems
http://www.murga-linux.com/puppy/viewtopic.php?t=22543

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send_private_message 
vampire666

Joined: 15 Nov 2007
Posts: 29

PostPosted: Fri 23 Nov 2007, 09:16    Post_subject:  

Thanks HairyWill...but i don't know how to use that info for my advantage. Rolling Eyes I mean, do I have to install tinylogin and use that?

When I add the user (alain), it says that it's already in use:
# adduser alain
adduser: alain: group name already in use"
Question
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1012s ][ Queries: 12 (0.0040s) ][ GZIP on ]