NX Client for Puppy 2.03CE

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
Alex Black
Posts: 2
Joined: Wed 18 Oct 2006, 16:54

NX Client for Puppy 2.03CE

#1 Post by Alex Black »

I have managed to set up nx client on puppy 2.03 CE
I used the debian installer and the packages for NX client 1.5 at http://free.linux.hp.com/~brett/seveas/freenx breezy-seveas freenx
instructions to be found at http://www.urbanpuddle.com/articles/200 ... pper-drake

You must also install xauth using pb installers.
I did this to allow an education puppy client to be able to access all the extra software and a samba server on an edubuntu server. This is for a partner school in Nepal.

I used 2.03 CE as the basis and added skype, gperiodic, chemtool, wink, gimp, cmaptools (a concept mapping tool from http://cmap.ihmc.us/), irfan view running under wine, scribus, wikipedia sfs, etc etc.

I got a lot of dorpups at http://dotpups.de


This all fitted on a 1GB flash as hda on a machine (made in Taiwan I would like to know if it can be bought from there directly) put together by a Swiss company called http://www.easyweb.com (It comes with WinXPe with next to no software skype and MSN and office viewers) we can buy them here in Manor a Department store for 566 sFr approx 460 US dollars with wireless LAN, built in 17 inch LCD 1GHz via CPU 512 Ram, keyboard, web cam skype microphone headset etc. a superb machine no moving parts and 93 Watts power consumption.

This could be a gold mine to sell as a puppy full office or education machine if it could be set up in Taiwan. There is also a 2GB flash version for 100 sFr more. This could dual boot a bilingual puppy system with exactly the same (or different) if needed software and etwork nsetting e.g wireless desktop samba NX links etc. If any one could find out the original makers there could be a fantastic business and/or education aid developmnent opportunity. Not quite the 100 dollar laptop but these terminals only have one power cable and a flexible community wireless mesh could be made and solar power driven. We have a quote from a Nepali solar power firm to make an installation to allow 20 clients and a small server to operate for approx 13000 dollars with work and batteries and everything

Anyone interested in more details mail me

Cheers Alex

LND
Posts: 1
Joined: Tue 07 Nov 2006, 18:41
Location: Forres, UK

Puppy NXClient

#2 Post by LND »

Hi all,

Prompted by Alex's success, I decided to have a go at installing the freenx / NXClient.

After much messing around finding dependencies, and borrowing xauth from one of my debian/sarge servers I've got NXClient running.

Anyone one else wants to have a go, I'd be glad to help out.

I've also got to agree with Alex, puppy installed on a USB stick with FreeNX pre-installed would make a great low-cost thin-client.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#3 Post by sunburnt »

Or if the client PCs can PXE boot, make them diskless clients... no USB drive!

Or even if they can't, I got 10 used 3COM 3c905c-tx-m NICs for $28, $2.80 each!
They PXE boot just the way they are, some Intel NICs do PXE boot also.

A boot server isn't all that hard to setup, you need Debian: DHCP3, Xinet, & tftp-hpa.

I'm currently trying to finish LanPuppy2, just some testing & I think it'll be ready.
Too many interuptions... it's taking alot longer than I'd hoped.
It'll have login, more admin. utilities, & a common /.usr install dir.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

No doubt

#4 Post by raffy »

there could be a fantastic ... education aid developmnent opportunity
- Very likely, Alex, and an education event will be held soon in this part of the world and I guess the players that you mentioned will be there (or if not there, will be listening closely).

Please make a presentation for possible exhibit in this event, so you can further test your ideas. I will exhibit it.

Cheers!
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

The Major
Posts: 47
Joined: Thu 10 Nov 2005, 06:58
Location: UK
Contact:

Cheaper silent solution

#5 Post by The Major »

Somewhere in the forum there's a reference to a Taiwanese company that makes a similar machine for USD 150. Check www.ewayco.com

Ian

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#6 Post by sunburnt »

If Alex Black or LND would post here a list of ALL the required files & dependancies.

Links to download the major files & perhaps dependancies would be GREAT!
OR... a link to the FreeNX package, & then Gzip & post the dependancies.


I've looked at FreeNX & it looks great, but I'm sure it increases the LAN load.
For LanPuppy this could be a problem for a slow LAN, or if there's lots of clients.
However... I could be wrong about how much of a LAN load it creates.

teledyn
Posts: 28
Joined: Thu 29 Mar 2007, 21:58

getting closer

#7 Post by teledyn »

Here's my process so far:
  • downloaded the debian packages from NoMachine Downloads and installed them with the Puppy 2.14 dpkg using the -F depends switch to forgive the dependencies; I had to create new directories for /var/lib/dpkg/status and /var/lib/dpkg/info before I could use dpkg -- looking at instructions elsewhere on the forum for obtaining xauth for puppy, should I have used the dpkg or should I have used undeb? I used dpkg because there are scripts which need to be run after the installation.

    Using LD_LIBRARY_PATH=/usr/NX/lib ldd /usr/NX/bin/nxclient
    seems to confirm that I now have all the libraries required by the program, but I'm only guessing. I checked nxssh (which is called by nxclient) and there again, I appeared to have a match for all the needed libs.

    I copied xauth from a mandriva machine; the forum instructions say to undeb the debian package or unrpm an rpm and just copy the binary into /usr/bin

    nxssh will now work if given the LD_LIBRARY_PATH -- I did add /usr/NX/lib to /etc/ld.so.conf but I couldn't find the Puppy ldconfig command; how do I tell Puppy to reload the library search path?

    but nxclient still does not work. I have tested the machine by using the installation of that same set of debian packages on an Ubuntu machine, and I can successfully open the openoffice application as a custom connection, but using the same connection config from puppy gives a server log as follows:

    Sep 27 23:50:48 luna sshd[16368]: Accepted publickey for nx from 192.168.10.4 port 3489 ssh2
    Sep 27 23:50:51 luna sshd[16415]: Accepted password for kmip from 127.0.0.1 port 3353 ssh2
    Sep 27 23:50:51 luna NXSERVER-3.0.0-63[16381]: User 'kmip' logged in from '192.168.10.4'. 'NXLogin::set'
    Sep 27 23:50:52 luna NXSERVER-3.0.0-63[16381]: Selected node host:localhost with port:22 'main::selectNode'
    Sep 27 23:50:52 luna NXSERVER-3.0.0-63[16381]: Current selected node: localhost is in status: running 'main::selectNode'
    Sep 27 23:50:52 luna NXSERVER-3.0.0-63[16381]: Selected session type: unix-desktop allowed in the profile of user: kmip 'NXShell::Static'
    Sep 27 23:50:52 luna sshd[16421]: Accepted publickey for kmip from 127.0.0.1 port 3354 ssh2
    Sep 27 23:50:59 luna NXNODE-3.0.0-76[16424]: ERROR: NX> 596 ERROR: NXNODE Ver. 3.0.0-76 (Error id e456089) [e456089] Logger::log nxnode 2813
    Sep 27 23:50:59 luna NXNODE-3.0.0-76[16424]: ERROR: NX> 596 ERROR: Thu Sep 27 23:50:58 2007 running as user: 'kmip' (uid: 504) on '' [e456089] Logger::log nxnode 2813
    Sep 27 23:50:59 luna NXNODE-3.0.0-76[16424]: ERROR: NX> 596 ERROR: in node start session: create session: run commands [e456089] Logger::log nxnode 2813
    Sep 27 23:50:59 luna NXNODE-3.0.0-76[16424]: ERROR: NX> 596 ERROR: execution of last command failed [e456089] Logger::log nxnode 2813
    Sep 27 23:50:59 luna NXNODE-3.0.0-76[16424]: ERROR: NX> 596 last command:
    /bin/bash --login -c 'xauth -v source /home/kmip/.nx/C-luna.dyndns.org-1008-358829E5BD4527A4D2382C446E394BAF/scripts/authority' [e456089] Logger::log nxnode 2813
    Sep 27 23:50:59 luna NXNODE-3.0.0-76[16424]: ERROR: NX> 596 exit value: 1 [e456089] Logger::log nxnode 2813
    Sep 27 23:50:59 luna NXNODE-3.0.0-76[16424]: ERROR: NX> 596 stdout: [e456089] Logger::log nxnode 2813
    Sep 27 23:50:59 luna NXNODE-3.0.0-76[16424]: ERROR: NX> 596 stderr: xauth: /home/kmip/.Xauthority not writable, changes will be ignored [e456089] Logger::log nxnode 2813
    Sep 27 23:50:59 luna NXNODE-3.0.0-76[16424]: ERROR: NX> 596 . [e456089] Logger::log nxnode 2813
    Sep 27 23:50:59 luna NXNODE-3.0.0-76[16424]: ERROR: NX> 596 init: stdin arguments:
    user=kmip,userip=192%2e168%2e10%2e4,uniqueid=358829E5BD4527A4D2382C446E394BAF,display=1008,license=%28None%29,subscriptionid=None,productid=LFE,reconnect=1,balance_host=localhost,balance_host_realip=192%2e168%2e10%2e3,encryption_mode=1,connection=local,images=64M,cache=16M,client=linux,media=0,backingstore=1,strict=0,clipboard=both,shpix=1,rootless=1,composite=1,application=%2fusr%2fbin%2fooffice,session=luna%2doowriter,shmem=1,type=unix%2ddesktop,virtualdesktop=1,screeninfo=800x600x16%2brender,keyboard=pc102%2fus,link=wan Logger::log nxnode 2813
    Sep 27 23:51:00 luna NXNODE-3.0.0-76[16424]: getting agent pid: cannot read pid file
    '/home/kmip/.nx/C-luna.dyndns.org-1008-358829E5BD4527A4D2382C446E394BAF/pids/agent'.
    Exiting. main::get_agent_pid nxnode 8371
    Sep 27 23:51:00 luna NXNODE-3.0.0-76[16424]: directory
    '/home/kmip/.nx/C-luna.dyndns.org-1008-358829E5BD4527A4D2382C446E394BAF'
    moved into
    '/home/kmip/.nx/F-C-luna.dyndns.org-1008-358829E5BD4527A4D2382C446E394BAF'
    for investigation Logger::log nxnode 8428
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A) NX> 596 ERROR: NXNODE Ver. 3.0.0-76 (Error id e456089)
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A) NX> 596 ERROR: Thu Sep 27 23:50:58 2007 running as user: 'kmip' (uid: 504) on ''
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A) NX> 596 ERROR: in node start session: create session: run commands
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A) NX> 596 ERROR: execution of last command failed
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A) NX> 596 last command: /bin/bash --login -c 'xauth -v source /home/kmip/.nx/C-luna.dyndns.org-1008-358829E5BD4527A4D2382C446E394BAF/scripts/authority'
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A) NX> 596 exit value: 1
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A) NX> 596 stdout:
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A) NX> 596 stderr: xauth: /home/kmip/.Xauthority not writable, changes will be ignored
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A) NX> 596 init: stdin arguments:
    user=kmip,userip=192%2e168%2e10%2e4,uniqueid=358829E5BD4527A4D2382C446E394BAF,display=1008,license=%28None%29,subscriptionid=None,productid=LFE,reconnect=1,balance_host=localhost,balance_host_realip=192%2e168%2e10%2e3,encryption_mode=1,connection=local,images=64M,cache=16M,client=linux,media=0,backingstore=1,strict=0,clipboard=both,shpix=1,rootless=1,composite=1,application=%2fusr%2fbin%2fooffice,session=luna%2doowriter,shmem=1,type=unix%2ddesktop,virtualdesktop=1,screeninfo=800x600x16%2brender,keyboard=pc102%2fus,link=wan
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A) NXNodeExec::exec('startsession',
    'user=kmip&userip=192%2e168%2e10%2e4&uniqueid=358829E5BD4527A4D23...', 'localhost', 22) called at handlers/nxserver.pl line 3189
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A)
    NXShell::handler_session_start('--rootless="1" --virtualdesktop="0" --application="/usr/bin/ooff...') called at NXShell.pm line 373
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A)
    NXShell::handle_command('startsession', '--rootless="1" --virtualdesktop="0" --application="/usr/bin/ooff...') called at NXShell.pm line 145
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A)
    NXShell::run() called at nxserver.pl line 4297
    Sep 27 23:51:00 luna NXSERVER-3.0.0-63[16381]: ERROR: (exception id 68399B1A) eval {...} called at nxserver.pl line 4256

    any of that make any sense to anyone? I checked .Xauthority and it was owned by root, but changing it to be owned by the user didn't help.
Last edited by teledyn on Fri 28 Sep 2007, 04:38, edited 1 time in total.

teledyn
Posts: 28
Joined: Thu 29 Mar 2007, 21:58

AHA! (Solved it!)

#8 Post by teledyn »

Ah the sweet view of success: the problem was the .nx directory had wrong permissions; I deleted it and ran the test again, and there it is, open office over NX seen on a machine far to small to be running openoffice.

Only now there is a new problem: the fonts are so bad, the document loaded in with 12pt Times-Roman looks like the output of my old typewriter just after it had tumbled down a flight of stairs :( "Illegible" does not even begin to describe the creative spacing (many letters overtyping others, then followed by oversized spaces) -- is this something solvable on the puppy side?

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#9 Post by edoc »

Three years later ...

Anyone have this working in Puppy, please?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

hgh
Posts: 1
Joined: Wed 24 Nov 2010, 10:20

nx client on puppy 4.2

#10 Post by hgh »

download from http://www.nomachine.com the tar package of the client.

mv nxclient-X.Y.Z-W.i386.tar.gz /usr

cd /usr
tar xvzf nxclient-3.4.0-7.i386.tar.gz

where my client was -3.4.0-7

to start the client from console

/usr/NX/bin/nxclient

This way of installation make no icons on the desktop or entry in the menues. You have to do it yourself.

Post Reply