|00:47||andygraybeal has left IRC (email@example.com, Ping timeout: 255 seconds)|
|00:55||telex has left IRC (firstname.lastname@example.org, Remote host closed the connection)|
|00:56||telex has joined IRC (email@example.com)|
|01:00||andygraybeal has joined IRC (firstname.lastname@example.org)|
|01:36||Fenuks has joined IRC (Fenuks!~Fenuks@gate.ifmieo.nspu.ru)|
|01:39||ternarybit has joined IRC (email@example.com)|
Howdy. Just wondering if someone can point me to some resources for how to better understand how LTSP fat clients interact with the server (NBD, NFS, etc). Haven’t found what I’m looking for in the official docs or manpages.
Also wondering if there is a way to create a fully standalone kiosk client that, after booting, does not depend on the LTSP server at all.
i did implement some support for loading the whole image into ram at one point
ternarybit: what sort of interaction are you looking for, exactly?
ternarybit: fat clients get their root filesystem from the server (NFS/NBD/AoE), and use the server to authenticate users (ssh), and mount homedirs off the server (sshfs or NFS)
So, like I have SCREEN_07 set to kiosk mode running chromium, nothing else, as a fat client. What’s going in between the booted kiosk client and the server in the background?
they also download their kernel from the server (tftp) and typically get their network settings from the server (dhcp)
What was your experience loading the whole image to RAM?
ternarybit: with SCREEN_07=kiosk, the only thing once it's booted would either be NFS or NBD for the root filesystem
ternarybit: it was just a proof of concept, but loading the whole image worked fine in ram.
ok, so it’s still dependent on the server, that’s what I wanted to know.
care to elaborate or point me to some resources for how to do a standalone/ram approach? :)
ternarybit: yes, though if you used the feature i proof-of-concepted it will probably work fine
I’m very curious, and grateful. do tell
LTSP_NBD_TO_RAM=true ... somewhere. heh.
it's in /usr/share/initramfs-tools/scripts/init-bottom/ltsp
the code that handles that, anyways
well, in the client's filesystem ... so /opt/ltsp/i386/usr/share...
it was a surprisingly simple patch to test it
from the look of it, the LTSP_NBD_TO_RAM=true should go in the /var/lib/tftproot/ltsp/<arch>/lts.conf?
i'm not sure lts.conf is read at that point
hmm. maybe the kiosk config in screen.d?
no, much earlier than that
it's hard to remember, i implemented this in january 2013 ... hard to believe it was that long ago
you could try lts.conf...
could it be in ltsp_build_client.conf?
no ... might have just been in initramfs-tools/conf.d/
ok. and do you say this is implemented, or do I need a manual patch?
it's been in ltsp since january of 2013 ...
but it was never really fleshed out
great, and thank you for that contribution.
I assume it imposes a startup penalty as it’s copying everything to ram. any ideas on what it may require for a basic webkiosk?
yeah, it'll spend a little longer booting, but not absurdly so
|01:58||* vagrantc checks a setup with a webbrowser kiosk|
found it: https://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/revision/2431/client/Debian/share/initramfs-tools/scripts/init-bottom/ltsp
i did make the assumption you're using debian or ubuntu
you assumed correctly
but in theory you should be able to usethe concept with any distro
in your testing approx how much ram did the nbd image require? my machines are likely adequate, just curious (as i’m not in front of my test box now)
|02:02||* vagrantc is logging in to find out|
ok, so, i've got an install that takes around 950MB uncompressed
i bet squashfs can compress that down to about 300-400MB
so, probably assume 512MB for the image
this is debian wheezy on armel with firefox
you might get different numbers with a different release/distro/architecture
but it gives a ballpark idea
There are probably lots of ways of pruning that down, too.
you could add a bunch of stuff to ltsp-build-client.excludes
I’ll need to poke around the chroot to see what comes stock
normally, i wouldn't recommend the bother, but with loading the whole image into ram it'd make a noteable difference
both on boot speed and on ram useage ...
all I care about is a fully functional chromium browser, everything else is a non-issue
although i seem to remember when implementing that feature, excluding quite a bit made a nominal difference in the image size.
though my memory of that is pretty vague, never really ended up using it
well, ~400MiB transfers at 100Mbit in a little over 30 seconds. Add in other bootstrapping and time to interact is like 120 seconds from bootup. certainly doable, especially for the payof
i'd test out the model before bothering to trim it down
since that's just a matter of adding stuff to ltsp-update-image.excludes
yeah, if the base image is in that ballpark I won’t bother much.
and thanks for the excludes tip
I don’t suppose we can serve tftp over multicast ...
i *think* placing LTSP_NBD_TO_RAM=true in one of the /opt/ltsp/i386/etc/initramfs-tools/*conf*.d/*.conf files might enable it...
i should rethink how to enable that ... make it a boot prompt option... i don't think we parse lts.conf from initramfs anymore.
according to some irc logs where you mentioned LTSP_NBD_TO_RAM you say to put it here: /opt/ltsp/i386/usr/share/initramfs-tools/scripts/init-bottom/ltsp
I would love to see the feature fully developed, although I will give the current implementation a solid go-around.
Looks like multicast tftp made it to experimental: https://tools.ietf.org/html/rfc2090
well, that's where the code already is now ...that's where it needed to be patched before it was included.
oh i see
as far as multicast, you'll need multicast enabled NBD
or more feature development to download the image via tftp instead.
oh I see, the image is transferred via NBD. Not terribly familiar with it, yet.
so, ten 100mbps clients would temporarily saturate a 1Gbps LTSP server with the copy to ram option.
yeah, it might
well, that’s the tradeoff
you could just do some sort of staggered boot delay or something, if that were really an issue
so… compare that to the current way, where clients maintain NBD connections but don’t copy everything to ram. how many clients can a 1Gbps server typically handle? I know fat clients execute everything locally.
just as kiosks? no idea. quite a few.
a few hundred?
don't have the experience to say for sure.
i guess we can find out :)
this solution makes use out of otherwise useless machines, so nobody will complain.
most of my installs have been under 25 clients
if you really wanted, you could probably set up multiple servers
I’m looking at a school district with probably a few hundred clients, ideally served by a central/unified VM server
are you talking about ltsp-cluster? i seem to recall that in passing
the disk usage would be fairly minimal, other than boot
ternarybit: not ltsp-cluster specifically, but that might implement something along those lines
interesting, good to know it’s an option. In all likelihood we will test it with ~30 clients for a while.
one other question: in kiosk mode, there is a significant blank screen delay after loading the kernel (?) where I assume X is intializing and whatnot. any way to give it a splash screen? didn’t see much online.
i haven't worked much with splash screens, but yeah, you could configure plymouth or maybe install one of the theme packages
on debian there's the plymouth-themes package
just something basic, like the district logo or even just “loading”
I will look into plymouth. glanced at it, wasn’t sure if it was the right tree to bark up
not sure either ... i usually am developing ltsp, so i want to see whatever deugging i can get
sure. do you know specifically what’s going on in the blank interval between loading the kernel and launching the browser?
too many things to give you a meaningful answer
it's all the bootup stuff
same as any OS boot, really, not too much LTSP-specific there
hmm. found something here: https://www.redhat.com/archives/k12osn/2011-November/msg00032.html
I’ll just tinker. I guess what’s concerning is that it does not appear that *any* splash screen is displayed, as opposed to the normal ubuntu/debian splash screen when loading ldm
so I’m not confident that a custom plymouth theme would show.
well hey, thanks for the valuable insight. I will goof off with it over a few weeks and report back.
|02:44||ternarybit has left IRC (firstname.lastname@example.org, Quit: ternarybit)|
|02:54||Fenuks|2 has joined IRC (Fenuks|2!~Fenuks@gate.ifmieo.nspu.ru)|
|02:57||Fenuks has left IRC (Fenuks!~Fenuks@gate.ifmieo.nspu.ru, Read error: Connection reset by peer)|
vagrantc, will test out your changes soon, thanks :)
|05:15||bauerski has joined IRC (email@example.com)|
|06:03||vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)|
|06:31||adrianorg has left IRC (firstname.lastname@example.org, Ping timeout: 272 seconds)|
|06:33||adrianorg has joined IRC (email@example.com)|
|06:35||mealstrom has left IRC (mealstrom!~Thunderbi@126.96.36.199, Ping timeout: 264 seconds)|
|06:38||mealstrom has joined IRC (mealstrom!~Thunderbi@188.8.131.52)|
|07:11||mealstrom has left IRC (mealstrom!~Thunderbi@184.108.40.206, Ping timeout: 260 seconds)|
|07:56||mealstrom has joined IRC (mealstrom!~Thunderbi@220.127.116.11)|
|08:01||Arshpreet has joined IRC (Arshpreet!caa43575@gateway/web/freenode/ip.18.104.22.168)|
Which Open-Suse arch should I use for LTSP-server ? 64 bit or 32-bit?
Arshpreet, get http://download.opensuse-education.org/~cyberorg/openSUSE-Edu-li-f-e-gnome-classic.x86_64-13.1.3.iso
ok Thanks. is it pre-configured?
follow this https://en.opensuse.org/SDB:LTSP_quick_start_12.2_Edu
ltsp is pre installed in that image
Sure, Thanks. :)
it has mate and gnome desktops available, mate works well on thinclients, gnome is bit hit and miss
you want to use thinclient or fat clients?
We have 4 server and 200 thin-clients
Am I on right path for my setup?
|08:09||Grembler has joined IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net)|
depends on what exactly you want to do, how powerful are the servers, do you have common authentication, shared storage etc...
also what is your client specs?
Clients wants only load balancing
he wants every client should be able to login every Server
first client will go to server1 if it is already full then it should go for server 2 and so on. if all are full then return a message like <Server Busy>
we have four dual-core servers with 4 GB of RAM each. we only need to run 50 at once.
students only run simple C++ programs on clients
|08:16||adrianorg has left IRC (firstname.lastname@example.org, Ping timeout: 260 seconds)|
Presently they are using this kind of setup with Windows. http://www.techrepublic.com/article/create-a-scalable-thin-client-solution-with-terminal-server-farms/
Please let me know if you need more information about Setup and Hardware from my side
you need about 256M ram per client on the server
|08:18||adrianorg has joined IRC (email@example.com)|
|08:18||NeonLich1 is now known as NeonLicht|
ok. Can I reduce Ram requirements? or 256M is least?
for load balancing, add MY_SERVER_LIST=ip addresses of your servers
you can install xfce4-session, that may reduce it a bit, but not much
you need shared storage, and ldap authentication set up for all servers
How about Openbox or Python This client? http://opensource.mtier.org/mtc.html
never used it so no idea
ok I will report on Mailing list as well as here after my successfull setup.
Do i need to know anything else or Do's and Don't's ?
well you should start with modest single server setup and be extremely familiar with linux system administration first before attempting clustering
Yes i have some Linux experience with Rocks Cluster ;)
|09:08||Arshpreet has left IRC (Arshpreet!caa43575@gateway/web/freenode/ip.22.214.171.124, Ping timeout: 246 seconds)|
|09:26||dsugar100 has left IRC (firstname.lastname@example.org, Quit: dsugar100)|
|09:26||dsugar100 has joined IRC (email@example.com)|
|09:31||femur has joined IRC (femur!29ce0101@gateway/web/freenode/ip.126.96.36.199)|
hi good morning in here
im kinda new to linux
i installed an LTSP Edubuntu server and i need to add multiple users
doing it from the GUI is quite stressfull
i need a script that can help me add multiple users with passwords
please can anyone in here help me with that?
il be most grateful
|09:56||khildin has joined IRC (firstname.lastname@example.org)|
maybe you can help with my problem
im kinda new to linux.. i installed an LTSP Edubuntu server and i need to add multiple users, doing it from the GUI is quite stressfull.. i need a script that can help me add multiple users with passwords.. please if you can help me with that, il be most grateful
femur, google user add script
cyberorg, i have done alot of googling and nothing seems to be working right for me
http://www.cyberciti.biz/tips/howto-write-shell-script-to-add-user.html was the first on the list, you can adapt if it does not seem right for your need
like that there are many more scripts in google result, all mostly working
|10:36||femur has left IRC (femur!29ce0101@gateway/web/freenode/ip.188.8.131.52, Ping timeout: 246 seconds)|
|10:46||Fenuks|2 has left IRC (Fenuks|2!~Fenuks@gate.ifmieo.nspu.ru, Ping timeout: 255 seconds)|
|11:02||telex has left IRC (email@example.com, Remote host closed the connection)|
|11:04||telex has joined IRC (firstname.lastname@example.org)|
|11:17||adrianorg has left IRC (email@example.com, Ping timeout: 250 seconds)|
|11:19||adrianorg has joined IRC (firstname.lastname@example.org)|
|11:26||shawnp0wers has left IRC (shawnp0wers!~spowers@linuxjournal/staff/shawnp0wers, Ping timeout: 260 seconds)|
|11:28||freedomrun has joined IRC (freedomrun!~freedomru@unaffiliated/freedomrun)|
|11:32||shawnp0wers has joined IRC (email@example.com)|
|11:32||shawnp0wers has joined IRC (shawnp0wers!~spowers@linuxjournal/staff/shawnp0wers)|
|12:00||bauerski has left IRC (firstname.lastname@example.org, Quit: Leaving.)|
|12:41||khildin has left IRC (email@example.com, Ping timeout: 255 seconds)|
|12:45||championofcyrod1 has left IRC (firstname.lastname@example.org, Ping timeout: 240 seconds)|
|12:53||khildin has joined IRC (khildin!~khildin@D57C747A.static.ziggozakelijk.nl)|
|13:00||championofcyrodi has joined IRC (email@example.com)|
|13:19||FrankBlues has joined IRC (FrankBluesfirstname.lastname@example.org)|
|13:50||cryptrat has joined IRC (cryptrat!32c3bb3e@gateway/web/freenode/ip.184.108.40.206)|
Hello, I have a question: I have had between 2-4 thin clients running off one server for about 2 weeks now, the first week was fine without any problems and now i am having issues where firefox seems to stop resolving dns, where they have to refresh to get the page back
any ideas what might be the cause or an idea of what direction to go in
either server side or client side?
is it just firefox or can you not resolve using DNS in the terminal either?
well all they use right now is firefox, and if they hit refresh the page comes back up, so its kinda like it times out... i could try another browser
i've even tried setting google dns in the resolv.conf on the server.... thinking maybe it was a comcast issue...
the server seems to resolve fine
|14:10||Grembler has left IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net, Quit: I Leave)|
|14:12||khildin has left IRC (khildin!~khildin@D57C747A.static.ziggozakelijk.nl, Quit: I'm gone, bye bye)|
that doens't sound like a dns issue, that sounds like a firefox bug
|14:20||adrianorg has left IRC (email@example.com, Ping timeout: 250 seconds)|
|14:21||adrianorg has joined IRC (firstname.lastname@example.org)|
Maybe clear everything in firefox: Control-Shift-Delete will kill all personal data, history, and cache
|14:44||mealstrom has left IRC (mealstrom!~Thunderbi@220.127.116.11, Ping timeout: 245 seconds)|
yeah cleared everything, rebooted server and clients, still had issues with firefox so i just installed chromium in hopes that it is just a firefox bug
what makes you think it's dns? some error on the FF console?
|14:53||khildin has joined IRC (email@example.com)|
|14:57||ncom0pl has left IRC (firstname.lastname@example.org, Ping timeout: 245 seconds)|
well maybe not dns but some FF bug, we use a web based customer database software and it keeps freezing while using that system
and they have to refresh and it doesn't always keep what they entered... so not good for productivity
|14:59||Fenuks has joined IRC (Fenuks!~Fenuks@18.104.22.168)|
|15:02||mealstrom has joined IRC (mealstrom!~Thunderbi@22.214.171.124)|
|16:08||khildin has left IRC (email@example.com, Ping timeout: 260 seconds)|
same thing on chromium eventually it just seems to time out on that site.... just on the thin clients
not the rest of the normal pcs here... so i'll keep looking
|16:19||khildin has joined IRC (firstname.lastname@example.org)|
what's the error from the console?
are the normal PC's running the same version of the same distro with the same DE?
|16:38||andygraybeal has left IRC (email@example.com, Ping timeout: 250 seconds)|
|16:55||andygraybeal has joined IRC (firstname.lastname@example.org)|
|17:00||vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)|
|17:05||FrankBlues has left IRC (FrankBluesemail@example.com, Remote host closed the connection)|
|17:16||FrankBlues has joined IRC (FrankBluesfirstname.lastname@example.org)|
|17:22||adrianorg has left IRC (email@example.com, Ping timeout: 250 seconds)|
|17:24||adrianorg has joined IRC (firstname.lastname@example.org)|
|17:42||championofcyrodi has left IRC (email@example.com)|
|17:44||ben_nabiy has left IRC (ben_nabiy!~bennabiy@unaffiliated/bennabiy, Remote host closed the connection)|
|17:48||telex has left IRC (firstname.lastname@example.org, Remote host closed the connection)|
|17:50||telex has joined IRC (email@example.com)|
|18:09||Fenuks has left IRC (Fenuks!~Fenuks@126.96.36.199, Ping timeout: 240 seconds)|
|19:01||vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)|
sorry for the delay, its just a website basically, the windows pc's mainly use IE or chrome and don't have this trouble
|19:35||freedomrun has left IRC (freedomrun!~freedomru@unaffiliated/freedomrun, Remote host closed the connection)|
i am using dnsmasq, could that be part of the problem?
unless you're getting "host not found" errors, it's not DNS
|19:54||jammcq has joined IRC (firstname.lastname@example.org)|
stgraber: BTS-2014 Oct 23-26, hope you guys can make it.
ogra_: ready for a trip to Maine ?
|19:56||cryptrat has left IRC (cryptrat!32c3bb3e@gateway/web/freenode/ip.188.8.131.52, Ping timeout: 246 seconds)|
|19:59||khildin has left IRC (email@example.com, Quit: I'm gone, bye bye)|
|20:02||cryptrat has joined IRC (cryptrat!32c3bb3e@gateway/web/freenode/ip.184.108.40.206)|
|20:13||klausade has left IRC (firstname.lastname@example.org, Ping timeout: 260 seconds)|
|20:15||adrianorg has left IRC (email@example.com, Ping timeout: 250 seconds)|
|20:17||adrianorg has joined IRC (firstname.lastname@example.org)|
|20:24||dsugar100 has left IRC (email@example.com, Quit: dsugar100)|
|21:07||vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)|
|21:14||vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Ping timeout: 245 seconds)|
|21:45||ncom0pl has joined IRC (firstname.lastname@example.org)|
|21:46||boospy has joined IRC (email@example.com)|
|21:46||boospy has left IRC (firstname.lastname@example.org)|
|21:51||vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)|
|21:58||vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Ping timeout: 240 seconds)|
|22:05||uXus has left IRC (uXus!~uXus@220.127.116.11, Ping timeout: 255 seconds)|
|22:05||uXus has joined IRC (uXus!~uXus@18.104.22.168)|
|22:36||||cw has left IRC (||cw!~chris@phpgroupware/cw, Ping timeout: 240 seconds)|
|22:43||cryptrat has left IRC (cryptrat!32c3bb3e@gateway/web/freenode/ip.22.214.171.124, Quit: Page closed)|
|22:50||||cw has joined IRC (||cw!~chris@phpgroupware/cw)|
|22:55||vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)|
|23:16||vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Ping timeout: 250 seconds)|
|23:22||vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)|
|23:35||vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Ping timeout: 250 seconds)|
|23:42||vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)|
|23:49||vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Ping timeout: 260 seconds)|
|23:55||boospy has joined IRC (email@example.com)|
|23:58||boospy has left IRC (firstname.lastname@example.org)|