I just introduced a delay in the infinite loop and it seems to make a lot of difference. A sleep value of "10" brought the load average considerably < 0.5 levels. There's a side effect though. when u log out of the Desktop, the nxclient takes some time to come back up because of the delay. I tried using a smaller value 5 and seems to work much better with a little higher load average though.
Regards, Rahul On Thu, 04 Nov 2004 08:04:15 -0500, Gideon Romm <[EMAIL PROTECTED]> wrote: > Rahul- > > I shied away from an NFS share, because I am considering what happens when > you scale to many users, and I don't want to create more NFS traffic than is > absolutely necessary. > > At first, I tried using /tmp, but you have to make sure the RAMDISK_SIZE is > large enough. Evidently, there is a 4MB limit to each ramdisk, and the > default size of LTSP (1MB) was insufficient. Rather than interfere with the > available space of /tmp, which is used by countless other things, I chose to > just create a new one. > > I saw your post about modifying the infinite loop to reduce the load. Any > suggestions? Does your loop consume less? If so, please share. > There is also currently a limitation that only one NX screen script can be > run at a time, otherwise 1) the loop breaks and 2) the session.conf file > gets overwritten and the session settings of the first session are not > preserved. Maybe we can fix all these things in one shot? > > Talk to you soon, > > -Gideon > > > > On Thu, 2004-11-04 at 01:10, RahulKrishna Gupta wrote: > Hi Gideon, Had a look at your solution. I am doing pretty much the same > thing (infinite loop) for nxclient. However, instead of creating another > ramdisk for mounting /root , I have exported another NFS shared directory > where the NX client configuration is stored. I mount this share in "rw" > mode. I thought about using the existing ramdisk (/tmp) but then for some > reason (probably saving configuration changesI abandoned that idea and used > an NFS exported dir instead. Any particular reason why you don't use the > /tmp dir for storing the NX client configuration? Regards, Rahul On Wed, 03 > Nov 2004 11:07:17 -0500, Gideon Romm <[EMAIL PROTECTED]> wrote: > > Rahul, > > In case you didn't see my post, I uploaded my solution to: > > > http://sourceforge.net/project/showfiles.php?group_id=110959 > > (It's > already at v0.3 ;) ). Anyhow, please have a look and see how it > compares > to what you did. I can think of a few areas that need improvement > already. > Maybe we can work together on this? > > Regards, > > -Gideon > > > > On Tue, > 2004-11-02 at 09:28, RahulKrishna Gupta wrote: > I got the NX client working > too, using more or less the same work around as > you (infinite loop!!). > still some refinements to be done. would love to see > your screen script. > used nxclient ver 1.3.2-7 (available from nomachine.com) > which has the > LTSP cookie bug resolved. strange that the 1.4 version still > carries this > bug (maybe because it's a CVS snapshot) Regards, Rahul On Tue, > 02 Nov 2004 > 08:34:58 -0500, Gideon Romm <[EMAIL PROTECTED]> > wrote: > Hi. > > > I got NX completely working as a screen script option. I am > in the midst > > of polishing everything up a bit so that session specifics > can be > configured > via lts.conf, but everything is functional. > > The > basic > approach was to: > > 1. grab the client code and put it in the > ltsp_tree > > 2. Resolve library dependencies by copying appropriate dynamic > libraries > to > the ltsp_tree > 3. write the screen script to cleverly set up > the > "user" paths for the > files that nxclient creates > 4. write a wrapper > > script to nxclient to work around the "nxclient can't > run in the root > > window" issue (FYI: This issue arises because "nxclient" > is just a wrapper > > to spawn nxssh and nxproxy processes, which, once spawn, > causes nxclient > > to terminate, which if it is run as the root window (xinit > application) > > causes X to terminate along with it, killing the NX connection) > > My > > implementation of #4 is kindof hacking, running an infinite loop, but it > > > works well. Don't know what it does to the thin client CPU usage, but this > > > is a working first pass. > > As I say, give me a little while to package > it > all up and wrap it with a > bow, and I will post all of my scripts.... > Just > know that it is doable and > has been done (if only at a first pass > degree > of completeness). > > Cheers, > > -Gadi > > > > On Fri, 2004-10-29 > at 11:46, > RahulKrishna Gupta wrote: > Hi guys, I have managed to get > nxclient working > as a local app under LTSP > using a screen script. I used > the rdesktop > screen script as a base to create > this one. But I am > currently stuck up > with a problem. The nxclient gives an > error "Unable > to create cookie to > accept remote X connection" and is not > able to > connect to the X server. I > searched around and fount that this is a > bug > in the nxclient which was > supposed to be fixed. I am using ver 1.4.0-57 > > of the nxclient. Has anyone > tried this and got this working? -Rahul On > Thu, > 7 Oct 2004 13:41:46 +0200 > (CEST), Daniel Hedblom > > <[EMAIL PROTECTED]> wrote: > I just > installed the binaries > > from NX own server to try it out. Didnt have > to > do anything besides > adding > users. > > NX is a nice addition to LTSP for me > since it makes it > possible > to open up > the server to outside users. This > way my students > can access > their own > desktops from home with nxclient > for windows. =) > > > /cheers > > > Has anybody managed or tried to get NX > working with > LTSP? Or is there > > a > plan to do so? > > > > I am planning > to > implement this. Can somebody point > me towards > > documentation which > > could help me in getting started. > > > > > Thanks. > > > > Regards, > > -- > > > > RahulKrishna Gupta > > > ----------------------- > > Get onto Gmail. > > It's really great > > > > > > > > > ------------------------------------------------------- > > This SF.net > > > email is sponsored by: IT Product Guide on ITManagersJournal > > Use IT > > > products in your business? Tell us what you think of them. Give us > > Your > > > Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > > > more > > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > > > _____________________________________________________________________ > > > > > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > > > > > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > > For > additional > > LTSP help, try #ltsp channel on irc.freenode.net > > > > > > > -- > > > ------Disclaimer----- > The expressions in this mail are my own. > > > Daniel > > Hedblom > Network Admin Mobile +46 70-383 72 44 > Nipan School > District > Work > +46 620-68 26 38 > Sweden > > > -- > > -------------------------------------------------------- Gideon Romm | > > > Product R&D [EMAIL PROTECTED] Symbio Technologies o:(914) > > > 576-1205 134 North Ave, Suites E&F f:(914) 576-0944 New Rochelle, NY 10801 > > > c:(914) 774-4691 www.symbio-technologies.com www.thesymbiont.com > -- > -------------------------------------------------------- Gideon Romm | > > Product R&D [EMAIL PROTECTED] Symbio Technologies o:(914) > > 576-1205 134 North Ave, Suites E&F f:(914) 576-0944 New Rochelle, NY 10801 > > c:(914) 774-4691 www.symbio-technologies.com www.thesymbiont.com > -- -------------------------------------------------------- Gideon Romm | > Product R&D [EMAIL PROTECTED] Symbio Technologies o:(914) > 576-1205 134 North Ave, Suites E&F f:(914) 576-0944 New Rochelle, NY 10801 > c:(914) 774-4691 www.symbio-technologies.com www.thesymbiont.com -- RahulKrishna Gupta ----------------------- Get onto Gmail. It's really great ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
