00:12 | vagrantc has quit IRC | |
00:46 | alkisg has joined #ltsp | |
00:52 | alexqwesa has quit IRC | |
00:56 | alexqwesa has joined #ltsp | |
02:15 | gnunux has joined #ltsp | |
02:29 | dobber has joined #ltsp | |
02:35 | mikkel has joined #ltsp | |
03:02 | <gnunux> bonjour
| |
03:02 | sorry, hi
| |
03:03 | Hyperbyte has quit IRC | |
03:06 | alkisg has quit IRC | |
03:44 | litlebuda has joined #ltsp | |
03:45 | litlebuda has quit IRC | |
03:51 | vmlintu has quit IRC | |
03:56 | bobby_C has joined #ltsp | |
03:58 | alkisg has joined #ltsp | |
04:08 | ogra_ac has joined #ltsp | |
04:15 | alkisg has quit IRC | |
04:15 | alkisg has joined #ltsp | |
04:18 | Hyperbyte has joined #ltsp | |
04:18 | <Hyperbyte> mmm... morning!
| |
04:19 | alkisg has quit IRC | |
04:20 | alkisg has joined #ltsp | |
04:31 | ogra_ac has quit IRC | |
04:35 | ogra_ac has joined #ltsp | |
04:37 | Da-Geek has joined #ltsp | |
04:39 | mordocai has quit IRC | |
04:39 | mordocai has joined #ltsp | |
04:42 | ogra_ac has quit IRC | |
04:49 | sebd has joined #ltsp | |
05:09 | johnny has left #ltsp | |
05:11 | johnny has joined #ltsp | |
05:13 | otavio has quit IRC | |
05:13 | otavio has joined #ltsp | |
05:13 | otavio has joined #ltsp | |
05:13 | otavio has joined #ltsp | |
05:25 | daya has quit IRC | |
05:42 | ogra_ac has joined #ltsp | |
05:55 | artista_frustrad has quit IRC | |
06:20 | ogra_ac_ has joined #ltsp | |
06:21 | ogra_ac has quit IRC | |
06:28 | ogra_ac_ is now known as ogra_ac | |
06:34 | Blinny has joined #ltsp | |
06:57 | ogra_ac has quit IRC | |
06:59 | ogra_ac has joined #ltsp | |
07:04 | vmlintu has joined #ltsp | |
07:37 | robehend1 has joined #ltsp | |
07:57 | jimishol has joined #ltsp | |
08:02 | <jimishol> i hoped that an old pc 400Mhz CPU and 196Mb ram could connect to 10.10 ubuntu configured as ltsp server. A virtual machine on my laptop can do that wirelessly. The i386.img file in server is 500+Mb . Is this the reason PXE boot freezes from the real "slim" pc? I mean 500MB does n't fit in its 196Mb ram? txs
| |
08:03 | I gave as ram 196MB to virtual machine too
| |
08:03 | <robehend1> jimishol: I've used machines with 128mb ram fine. What is the unit doing?
| |
08:03 | mikkel has quit IRC | |
08:04 | <alkisg> The i386.img size doesn't matter, like it doesn't matter when you put a 1 Tb hard disk on a PC with 256 MB RAM.
| |
08:05 | <jimishol> i am not sure what you mean. txs anyway. i try to boot with gPXE cd cause "thin" pc does have PXE option in his bios
| |
08:05 | doesn't
| |
08:05 | <robehend1> have you tried using a boot floppy from Rom-o-matic?
| |
08:06 | <alkisg> gpxe is from rom-o-matic
| |
08:06 | <robehend1> my mistake then.
| |
08:06 | <alkisg> jimishol: it's not a RAM problem. What does the client do?
| |
08:06 | <jimishol> no. only the cd image. may be i should try it too
| |
08:06 | <alkisg> I.e. what is the last line that you see?
| |
08:07 | Gadi has joined #ltsp | |
08:09 | <jimishol> it can run hardly xubuntu now. i want it to have office apps and web browesing. nothing about 3d. it says "try to load some default file from some directory i cannt recall easily, after it has loaded pxlinux.0 i think, and there it freezes
| |
08:10 | so you say it in't the ram of the client. Then i have to keep trying
| |
08:10 | <alkisg> jimishol: what gpxe version did you download? I think 1.0.1 has some problems, try with 1.0.0 instead.
| |
08:12 | <jimishol> 1.0.1, if you give me try i will boot the client to write exactly its message
| |
08:13 | ...time i will try....
| |
08:13 | oh, oh ok. txs a lot
| |
08:17 | a last question now that i found a willing person :) :) If i manage to boot from client can i combine virtualgl with ltsp?
| |
08:19 | <robehend1> it's worth a shot, though i've never tried it.
| |
08:20 | <jimishol> if all goes well then maybe i'll try. now virtualgl is semiworking for my laptop. txs
| |
08:22 | <robehend1> if you do get it working, i'd be interested in seeing the documentation on how you did it, for my own curiosity!
| |
08:23 | <alkisg> Right, if you get it working send a message to the LTSP mailing list
| |
08:27 | <jimishol> i noted as reminder. i will first try the 1.0.0 version then ... the big shot. txs a lot. I have to go my kids to school now, in few hours i will check gpxe 1.0.0 then i 'll play with virtualgl. txs
| |
08:28 | jimishol has left #ltsp | |
08:33 | mgariepy has joined #ltsp | |
08:38 | ogra_ac_ has joined #ltsp | |
08:39 | ogra has quit IRC | |
08:39 | ogra_ac has quit IRC | |
08:40 | ogra_ac_ is now known as ogra_ac | |
08:46 | mikkel has joined #ltsp | |
08:51 | ogra has joined #ltsp | |
09:16 | lucascoala has joined #ltsp | |
09:24 | hahlo has quit IRC | |
09:24 | hahlo has joined #ltsp | |
09:40 | Pweg has joined #ltsp | |
09:41 | <mgariepy> morning
| |
09:41 | <sebd> here it's afternoon already :)
| |
09:42 | <mgariepy> sebd, unfortunatly here it still mondy morning ;)
| |
09:43 | <highvoltage> morning and afternoon to all
| |
09:48 | zz_evil_root is now known as evil_root | |
09:59 | sbalneav has joined #ltsp | |
09:59 | <sbalneav> Morning all
| |
10:00 | So, I did some preliminary playing around on the weekend with the pam_sshauth module.
| |
10:00 | sebd has quit IRC | |
10:01 | <sbalneav> What I got stymied on was the fact that I'll need the nss_* functions sooner rather than later.
| |
10:01 | So, I'll start work over the next couple of days on the libnss_sshauth module.
| |
10:10 | gnunux has quit IRC | |
10:11 | komunista has joined #ltsp | |
10:14 | staffencasa has joined #ltsp | |
10:20 | chupacabra has quit IRC | |
10:30 | gorkhaan has quit IRC | |
10:32 | gorkhaan has joined #ltsp | |
10:38 | Blinny has left #ltsp | |
10:49 | Da-Geek has quit IRC | |
10:52 | dobber has quit IRC | |
11:09 | litlebuda has joined #ltsp | |
11:42 | Wraithulek has joined #ltsp | |
11:42 | <Wraithulek> hello!
| |
11:43 | <robehend1> well hello there
| |
11:43 | lucascoala has quit IRC | |
11:45 | vagrantc has joined #ltsp | |
11:47 | <komunista> hi ;-)
| |
11:51 | <Wraithulek> i want to install ltsp on my PC to run my notebook without disk, cd-rom
| |
11:51 | <robehend1> flash drive my friend. It works great.
| |
11:52 | but as a warning, LTSP wont run over wireless.
| |
11:52 | <Wraithulek> Configure your spare interface for the thin clients to have the IP 192.168.0.1 (and make sure it is up and running).
| |
11:52 | i dont understand this
| |
11:52 | <robehend1> Wraithulek: Thats for servers with 2 interfaces. You use one to hook up to your internet connection, one for the thin clients. Probably a bit much for what your doing.
| |
11:53 | what distro are you using, Wraithulek?
| |
11:54 | https://help.ubuntu.com/community/UbuntuLTSP. Try that out. It walks you through quite a few things, and should give you an idea. And as always, best way to learn is to just try it out!
| |
11:54 | <Wraithulek> Ubuntu 10.10
| |
11:55 | i can use LTSP by router?
| |
11:55 | over*
| |
11:55 | <robehend1> Depending if the router allows passthrough, but I havent tried it. always done it via LAN
| |
11:57 | <alkisg> Wraithulek: https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP
| |
11:58 | That allows you to use 1 nic on the PC==server, and to use the router as the dhcp server
| |
11:58 | ==useful for typical home setups, or for small schools.
| |
12:09 | evil_root is now known as zz_evil_root | |
12:17 | Wraithulek has quit IRC | |
12:18 | Wraithulek has joined #ltsp | |
12:18 | zz_evil_root is now known as evil_root | |
12:19 | <Wraithulek> i tried network boot on other notebook
| |
12:20 | TFTP timeout
| |
12:27 | <stgraber> sbalneav: ping
| |
12:27 | <alkisg> Wraithulek: with what method? proxydhcp or normal?
| |
12:28 | <stgraber> sbalneav: I'd need the help of an old-timer ;) I'm currently looking at re-implementing the parser for lts.conf and want to make sure I think of everything.
| |
12:28 | sbalneav: I'll want it re-implemented in python as part of the ltsp-agent we're working on for ltsp-cluster (and hopefully, for ltsp itself)
| |
12:28 | <Wraithulek> normal
| |
12:28 | <stgraber> sbalneav: I looked at the .y and I guess I've got most of the use cases but want to make sure before I start implementing it
| |
12:30 | <ogra_ac> stgraber, is there a python ini parser ? that would be ideal, i think the original idea of lts.conf comes from .ini files
| |
12:30 | <alkisg> Wraithulek: what is your network setup?
| |
12:30 | ogra_ac: yes, there is a configparser module
| |
12:30 | <ogra_ac> yeah, that might parse .ini too
| |
12:30 | <alkisg> But if the lts.conf format is to be changed, it might as well become a plain shell file
| |
12:30 | <stgraber> ogra_ac: yes, I'm already using configobj in the daemon
| |
12:30 | <alkisg> ...i.e. each client gets only its section, so no other sections exist
| |
12:30 | <stgraber> ogra_ac: I just want to know the magic behind the inheriting based on partial mac address
| |
12:31 | <ogra_ac> the LIKE directive needs to work, i guess thats the hardest part
| |
12:31 | beyond that getltscfg just exports the contents
| |
12:31 | <stgraber> ogra_ac: IIRC you can have [11:22:33] with some options, then [11:22:33:44] with some more, so that if you're [11:22:33:44:55:66] you'll get both of them
| |
12:31 | <ogra_ac> hmm, i didnt know that part
| |
12:32 | <stgraber> once I've got the list of valid ini sections and in what order to look at them + inherit, it'll be really easy to re-implement using configobj
| |
12:33 | <Wraithulek> standard i think
| |
12:33 | i dont change anything in dhcp
| |
12:34 | i connect directly to notebook
| |
12:34 | <alkisg> Wraithulek: how many NICs on your server? One for internet and one for the client with a crossover cable?
| |
12:35 | <Wraithulek> cable is not crossover
| |
12:41 | <vagrantc> stgraber: the partial matching was implemented fairly recently
| |
12:42 | it also matches ip addresses or hostnames
| |
12:42 | http://bugs.debian.org/550989
| |
12:42 | that's where the patch came from
| |
12:42 | <Wraithulek> how to mark package as installed manually?
| |
12:52 | <sbalneav> stgraber: pong
| |
13:00 | <stgraber> vagrantc: oh, cool, some doc ;)
| |
13:00 | <Wraithulek> ahhhhhh
| |
13:01 | Wraithulek has quit IRC | |
13:06 | Wraithulek has joined #ltsp | |
13:07 | <Wraithulek> arghhh
| |
13:07 | <robehend1> no luck, Wraithulek?
| |
13:07 | <Wraithulek> i install this dhcp proxy and it stops on "dhcp
| |
13:07 | ofc on client
| |
13:07 | ya ;c
| |
13:09 | <stgraber> sbalneav,vagrantc: do you know if we only support the [11:22:*] kind of wildcard or if [11:22] does the same thing ?
| |
13:10 | * stgraber is trying to make the list of all possible use cases ;) seems quite long | |
13:10 | <vagrantc> stgraber: fairly certain it requires the *
| |
13:17 | <stgraber> ok, cool, one less thing to support ;)
| |
13:18 | it'd actually have been easier to support [11:22] and not [11:22:*] but well, I want to be backward compatible
| |
13:23 | alkisg has quit IRC | |
13:27 | <vagrantc> stgraber: why rewriting in python?
| |
13:29 | Wraithulek has quit IRC | |
13:29 | <stgraber> vagrantc, sbalneav: I need the parser in the ltsp-cluster/ltsp daemon that'll handle the caching, update, ... of the ltsp environment (amongst other things)
| |
13:31 | <vagrantc> i would be considerably more resource-intensive for thin-clients to run that parser in python...
| |
13:32 | <sbalneav> stgraber: I think vagrantc's right.
| |
13:32 | <stgraber> yes, though it'll only run it once instead of every time we source ltsp_config and will do it in the background, most of the time, we'll just get the cached value
| |
13:36 | so in the end, it'll only take the time to run ". /var/cache/ltsp/lts.conf" instead of the time necessary for "getltscfg -a"
| |
13:37 | the file itself will be refreshed every few minutes (or hours, depending on what the sysadmin wants) in the background, without blocking the user waiting for tftp or for the parser
| |
13:40 | Wraithulek has joined #ltsp | |
13:41 | ogra_ac has quit IRC | |
13:41 | <Wraithulek> HELP ME ;C
| |
13:42 | <robehend1> Wraithulek: We're more than happy to help, Wraith, but you havent given us all the data yet.
| |
13:42 | Wraithulek: Please explain, in detail, your enviroment, so we can work from there.
| |
13:42 | <Wraithulek> Ubuntu 10.10, one network card, configured DHCP
| |
13:42 | <robehend1> what is providing your dhcp server
| |
13:43 | is it a router, a ms box, a linux box, etc
| |
13:43 | <Wraithulek> dhcp3-server
| |
13:43 | <robehend1> alright. what is happening when you boot a client
| |
13:43 | <Wraithulek> TFTP Open Timeout
| |
13:43 | <robehend1> alright. is it finding the PXE file, or no?
| |
13:44 | <Wraithulek> no
| |
13:44 | <robehend1> ok. how did you install the LTSP server? which command did you use
| |
13:45 | <Wraithulek> sudo apt-get install ltsp-server-standalone openssh-server
| |
13:45 | sudo ltsp-build-client
| |
13:45 | <robehend1> alright. In the dhcp setup, what did you put
| |
13:46 | <Wraithulek> INTERFACES="eth0"
| |
13:46 | subnet 192.168.0.0 netmask 255.255.255.0 {
| |
13:46 | option routers 192.168.0.1;
| |
13:46 | option subnet-mask 255.255.255.0;
| |
13:46 | option domain-name-servers 77.65.128.2,82.160.2.3;
| |
13:46 | range 192.168.0.2 192.168.0.24;
| |
13:46 | default-lease-time 21600;
| |
13:46 | max-lease-time 86400;
| |
13:46 | }
| |
13:46 | installed by sudo apt-get install dhcp3-server
| |
13:47 | <Pweg> you have to restart the dhcp server after a change like that don't you?
| |
13:47 | <robehend1> if i'm not mistaken, doesnt LTSp-server-standalone come with dhcp3 installed? or am I backwards.
| |
13:47 | and yes, you do. I usually restart the LTSP box after setting it up, for good measure
| |
13:47 | sidarthaq has joined #ltsp | |
13:48 | <Wraithulek> ok, i restarted dhcp
| |
13:48 | <sidarthaq> Does anyone know how to remove compiz? I have a couple of clients that cant log in, and I think its causing the problem.
| |
13:49 | <robehend1> !disable_compiz
| |
13:49 | <ltspbot> robehend1: "disable_compiz" :: To disable compiz, try: sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/session/required_components/windowmanager metacity
| |
13:49 | <robehend1> Wraithulek: Alright, and what happens when you boot a client.
| |
13:49 | <sidarthaq> Thanks
| |
13:49 | sidarthaq has quit IRC | |
13:51 | Lrajt has joined #ltsp | |
13:51 | Wraithulek has quit IRC | |
13:52 | <Lrajt> TFTP open timeout
| |
13:52 | <Pweg> also: I think you're right about dhcp3 coming with LTSP-server-standalone, unless I'm totally kooky. http://packages.ubuntu.com/karmic/ltsp-server-standalone
| |
13:52 | <robehend1> Pweg: i'm 99% sure
| |
13:52 | Lrajt: was there anything else in your DHCP3 config?
| |
13:53 | <vagrantc> any errors in /var/log/syslog regarding DHCP?
| |
13:54 | <sbalneav> !disable_compiz_sbalneav
| |
13:54 | <ltspbot> sbalneav: Error: "disable_compiz_sbalneav" is not a valid command.
| |
13:54 | <sbalneav> hmmm. what did I call mine again?
| |
13:54 | <robehend1> !disable_compiz
| |
13:54 | <ltspbot> robehend1: "disable_compiz" :: To disable compiz, try: sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/session/required_components/windowmanager metacity
| |
13:54 | <Lrajt> no, its ok
| |
13:54 | <vagrantc> !topics
| |
13:54 | <ltspbot> vagrantc: "topics" :: To get a list of topics, type ltspbot: factoids search --values
| |
13:54 | <vagrantc> ltspbot: factoids search --values
| |
13:54 | <ltspbot> vagrantc: More than 100 keys matched that query; please narrow your query.
| |
13:54 | <vagrantc> oh boy
| |
13:55 | ltspbot: factoids search --values sbalneav
| |
13:55 | <ltspbot> vagrantc: 'manual', 'sbalneav-ppa', and 'sbalneav-ppa'
| |
13:55 | <robehend1> Lrajt: Anytime i've seen an tftp timeout, it's been a DHCP setup issue.
| |
13:55 | yanu has quit IRC | |
13:55 | <Lrajt> hm
| |
13:55 | <robehend1> was there anything else in your dhcp3 file? Cuz i'm not seeing any PXE declarations, unless i'm blind
| |
13:55 | <sbalneav> Ah
| |
13:55 | !disable-compiz-the-sbalneav-way
| |
13:55 | <ltspbot> sbalneav: "disable-compiz-the-sbalneav-way" :: apt-get purge compiz && remove-from-upstream-repo compiz && target-icbm-on-upstream-hosting-service compiz
| |
13:56 | <robehend1> sbalneav: nice naming ;)
| |
13:56 | <sbalneav> heh
| |
13:56 | * vagrantc joins sbalneav around the fire with a warm cup of curmudgeon tea | |
13:57 | <Lrajt> no
| |
13:57 | http://wklej.org/id/424274/
| |
13:58 | * vagrantc gives grub2 pxe support another whirl | |
13:58 | <Lrajt> it's mine dhcpd.conf file
| |
13:58 | <vagrantc> slow as all get-out
| |
13:58 | <robehend1> alright, that the problem, I believe. You dont have your PXE setup clarified.
| |
13:58 | so it has no idea what file to grab
| |
13:58 | <vagrantc> but how else am i going to boot DGKFBSDTSP
| |
13:59 | staffencasa has quit IRC | |
13:59 | <sbalneav> Compiz.... isn't exactly my favorite piece of software
| |
13:59 | <robehend1> Lrajt: Sadly, i'm using a windows dhcp, so am not sure what to fill in there. Anyone able to help him with his DHCP config to declare which tftp server it needs?
| |
14:00 | <sbalneav> vagrantc: You and I need to grow beards.
| |
14:00 | <robehend1> sbalneav: i thought beards were a requirement to work with linux
| |
14:00 | <sbalneav> Mu moustache is beginning to to grey.... so, if I let my beard grow in.
| |
14:00 | robehend1: I have a virtual beard.
| |
14:00 | I've met greybeard[0]!
| |
14:00 | <robehend1> sbalneav: I hope it's virtually luxurious
| |
14:01 | <sbalneav> It's virtually awesome!
| |
14:01 | ;)
| |
14:01 | <robehend1> !dhcp
| |
14:01 | <ltspbot> robehend1: "dhcp" :: http://wiki.ltsp.org/twiki/bin/view/Ltsp/DHCP
| |
14:01 | <robehend1> darn, broken link
| |
14:03 | <Pweg> http://ltsp.pastebin.comEatuj6LC is it the if/else statements?
| |
14:03 | staffencasa has joined #ltsp | |
14:04 | <Pweg> oops, totally typoed that link =\ sorry
| |
14:04 | http://ltsp.pastebin.com/Eatuj6LC
| |
14:05 | <Lrajt> anyone have standard dhcpd.conf file?
| |
14:05 | <robehend1> Lrajt: There you go. That should have hte files in there for ya. You'll just have to add your own ips
| |
14:05 | Lrajt: http://ltsp.pastebin.com/Eatuj6LC
| |
14:06 | <Pweg> yay I'm helpful!
| |
14:06 | <robehend1> celebratioN!
| |
14:06 | <vagrantc> sbalneav: my beard braid is almost to my belly-button if i slouch
| |
14:07 | but it's not a good old-fashioned unix beard, for sure.
| |
14:07 | <sbalneav> Oh yeah, that's right, you already DO have a beard.
| |
14:07 | So it's just me who needs to get his butt in gear.
| |
14:07 | <vagrantc> i've probably put at least 7-8 years on it...
| |
14:07 | <sbalneav> I've got at least 25 years on the moustache.
| |
14:07 | <vagrantc> i don't know what your butt has to do with a beard...
| |
14:08 | <sbalneav> I will not touch that potential joke with a 10 foot pole.
| |
14:08 | <Pweg> that's some epic face hair.
| |
14:09 | cpart has joined #ltsp | |
14:09 | <vagrantc> sbalneav: i've been trying to grow out my mustache, though i shave the middle pretty regularly
| |
14:09 | Lrajt has quit IRC | |
14:09 | * vagrantc always wanted a curly mustache | |
14:15 | robehend1 has left #ltsp | |
14:15 | <highvoltage> if someone wants me to grou a mustache they should notify me several months in advance.
| |
14:21 | Lrajt has joined #ltsp | |
14:22 | <Lrajt> now i cant start dhcp server
| |
14:22 | ;o
| |
14:23 | not configured to listen on any interfacws
| |
14:24 | <stgraber> vagrantc, sbalneav: Our dear parser but human readable: http://pastebin.com/1uDGaTLX
| |
14:24 | <Lrajt> oh
| |
14:24 | now it start
| |
14:24 | sweetpi has joined #ltsp | |
14:25 | Lrajcik has joined #ltsp | |
14:27 | * Gadi thinks stgraber is missing 'LIKE' | |
14:28 | <Lrajt> eh
| |
14:28 | still TFTP open timeout
| |
14:29 | <stgraber> Gadi: what's our implementation of LIKE doing ?
| |
14:29 | <Gadi> [foo]
| |
14:29 | a=b
| |
14:29 | [bar]
| |
14:29 | LIKE=foo
| |
14:29 | bar inherits a=b
| |
14:30 | <stgraber> ah, indeed, I'll add that quickly
| |
14:31 | Lrajcik has quit IRC | |
14:34 | yanu has joined #ltsp | |
14:34 | yanu has joined #ltsp | |
14:35 | <stgraber> Gadi: http://pastebin.com/u7T2dqwX
| |
14:35 | here you go with LIKE support
| |
14:36 | <vagrantc> does that allow LIKE to set the defaults, but override some? or is it dependent on order?
| |
14:36 | * vagrantc isn't sure how the C version behaves ... | |
14:36 | <vagrantc> i.e. [foo]
| |
14:36 | a=b
| |
14:36 | c=d
| |
14:37 | [bar]
| |
14:37 | LIKE=foo
| |
14:37 | c=x
| |
14:37 | or ..
| |
14:37 | [bar]
| |
14:37 | c=x
| |
14:37 | LIKE=foo
| |
14:37 | it gets really fun when you use wildcards...
| |
14:38 | <Gadi> I was thinking something similar
| |
14:38 | also, with LIKE, the code has to parse all of the sections first
| |
14:38 | then fill in the LIKEs
| |
14:39 | <vagrantc> LIKE is an excruciatingly useful one, though.
| |
14:39 | <Gadi> agreed
| |
14:39 | * Gadi uses it in his code for "Grouping" | |
14:39 | <vagrantc> gotta say, seeing that short bit of python is sure tempting...
| |
14:39 | <Gadi> :)
| |
14:40 | <Lrajt> still nothing T_T
| |
14:40 | <Gadi> oh, also, don't forget "none" as a reserved word
| |
14:40 | <Lrajt> any ideas
| |
14:40 | <vagrantc> aren't there ways to compile python ... cpython or something like that
| |
14:40 | <Lrajt> ?
| |
14:40 | <johnny> you could use lua instead of C..
| |
14:41 | lua is almost as fast as native C..
| |
14:41 | <Gadi> stgraber: you need a reserved word for inheritance killing
| |
14:41 | stgraber: currently, if you have:
| |
14:41 | [default]
| |
14:41 | <johnny> or rather, instead of python
| |
14:41 | <Gadi> XSERVER=via
| |
14:41 | [foo]
| |
14:41 | XSERVER=none
| |
14:41 | then, foo will clear the inherited value
| |
14:42 | (like unset XSERVER)
| |
14:42 | :)
| |
14:42 | <stgraber> Gadi: can't you set it to nothing ?
| |
14:42 | <Gadi> I don't think you can
| |
14:42 | XSERVER=
| |
14:42 | <stgraber> Gadi: did we have something for that in existing getltscfg ?
| |
14:42 | <vagrantc> that would be a nice featuer, though
| |
14:42 | <Gadi> yes
| |
14:43 | that's in current getltscfg
| |
14:43 | <vagrantc> FOO=none is in current getltscfg?
| |
14:43 | <Gadi> yup
| |
14:43 | anything=none
| |
14:43 | will unset
| |
14:43 | <vagrantc> but not FOO=
| |
14:43 | <Gadi> right
| |
14:43 | * vagrantc would prefer the latter, if it wasn't too difficult | |
14:43 | <Gadi> I believe FOO= is the same as not putting the line
| |
14:43 | or is a syntax error
| |
14:44 | I forget which
| |
14:44 | <johnny> seriously.. lua.. :)
| |
14:44 | <stgraber> ok, I can easily implement both
| |
14:44 | <vagrantc> johnny: seriously, write it.
| |
14:44 | <johnny> no.. i'm just trying to save ya'll time
| |
14:44 | i barrely even use ltsp
| |
14:44 | <stgraber> johnny: that piece of code is going to be a very small part of a much larger daemon used on thin clients to integrate with ltsp-cluster
| |
14:44 | <johnny> i'm only fat client now, got 3 2GB machines
| |
14:44 | <stgraber> johnny: if it was just for the config parser, I'd keep it in C
| |
14:44 | <johnny> 2GB ram
| |
14:45 | i think the hard part for me to get was the lexxer
| |
14:45 | <vagrantc> stgraber: probably shouldn't implement any different behavior from the C version
| |
14:45 | <johnny> i tried looking into this once, but didn't want to learn the machine of that .yy file
| |
14:46 | <vagrantc> stgraber: unless it does eventually obsolete teh C version
| |
14:46 | Wraithulek has joined #ltsp | |
14:46 | <Gadi> if(strcasecmp(curtuple->value,"NONE") != 0)
| |
14:46 | <johnny> stgraber, alkisg wanted to just serve up the already generated file from an http server
| |
14:46 | <Gadi> yup still in there
| |
14:46 | * Gadi just doublechecked | |
14:46 | <Gadi> :)
| |
14:46 | <johnny> or a modified tftp server even
| |
14:46 | <stgraber> vagrantc: it might eventually obsolete it, but for now I'll stick to what we have in the C version
| |
14:46 | Gadi: that means only uppercase NONE right ?
| |
14:47 | <Gadi> no - the code uppercases everything
| |
14:47 | I think
| |
14:47 | before is does the compare
| |
14:47 | so, it is case insensitive
| |
14:48 | <johnny> stgraber, so alkisg wanted to obsolete the current mechanism completely i think. and also provide some of the info that ldminfod does
| |
14:48 | atm, you don't really touch ldminfod until too late (at least when not using ubuntu)
| |
14:49 | so.. basicallly.. what you already do for cluster for the most part
| |
14:55 | johnny has quit IRC | |
15:07 | Lrajt has quit IRC | |
15:24 | Gadi has left #ltsp | |
15:27 | <stgraber> http://pastebin.com/DSE8LMXJ
| |
15:27 | LIKE working as it should (was a bit buggy earlier) and NONE should work fine
| |
15:30 | johnny has joined #ltsp | |
15:34 | ogra_ac has joined #ltsp | |
15:34 | mgariepy has quit IRC | |
15:41 | alkisg has joined #ltsp | |
15:49 | <stgraber> vagrantc, sbalneav: The python function takes: 0.000484943389893 seconds to run
| |
15:49 | as it's going to run as a daemon, it's going to be the time necessary for the getltscfg equivalent
| |
15:49 | with the C binary, it takes: 0.001s
| |
15:49 | as it needs to spawn the process and get the output
| |
15:49 | ogra_ac_ has joined #ltsp | |
15:50 | <stgraber> so it'd be around 10 times slower (0.01s vs 0.001s) if I needed to spawn the python interpreter
| |
15:50 | but as it's already running, it's not an issue
| |
15:51 | ogra_ac has quit IRC | |
15:52 | ogra has quit IRC | |
15:55 | <vagrantc> stgraber: and memory consumption?
| |
15:56 | my main concern is if this will supercede the C version at some point, we need to consider the resources... if it's just ltsp-cluster, who am i to say what it should be :)
| |
15:59 | ogra_ac__ has joined #ltsp | |
16:00 | ogra_ac__ is now known as ogra_ac | |
16:01 | ogra_ac_ has quit IRC | |
16:07 | <Wraithulek> goood night ;p
| |
16:08 | <stgraber> vagrantc: memory usage is certainly going to be higher than getltscfg. Hang on a sec, I'll give you how much ram the daemon uses when running 5 plugins for a week.
| |
16:09 | Wraithulek has quit IRC | |
16:11 | <stgraber> vagrantc: reserved memory is 20K, obviously python itself is using quite a lot more than that, but we already run it because of jetpipe and some other services
| |
16:13 | <crazed> if i change my LTSP server's default init level to 3, is that going to break anything
| |
16:13 | * alkisg waves goodbye to his 64MB RAM labs, and hopes he'll be able to still use the 128MB ones :D | |
16:13 | <ogra_ac> level 3 ?
| |
16:13 | <crazed> init 3
| |
16:13 | <ogra_ac> you mean to the third floor ??
| |
16:13 | <crazed> YES
| |
16:14 | lol
| |
16:14 | <ogra_ac> depends what distro you use ;)
| |
16:14 | <crazed> this is ubuntu
| |
16:14 | <ogra_ac> on debian based ones 3 is the same as 2-5
| |
16:14 | that would men no
| |
16:14 | *mean
| |
16:15 | it will neither break nor make any difference
| |
16:16 | <stgraber> alkisg: what version of Ubuntu are you running on that ?
| |
16:17 | <alkisg> stgraber: Lucid
| |
16:18 | Unfortunately we have lots of those...
| |
16:18 | * alkisg would prefer a slow python script than a memory hunrgy daemon.... | |
16:19 | <alkisg> How often does lts.conf need to get parsed anyway? Once per boot and once before login or after logout?
| |
16:19 | <ogra_ac> per boot
| |
16:19 | crazed has quit IRC | |
16:19 | <ogra_ac> it exports to env
| |
16:19 | so you have the values globally all the time
| |
16:19 | <alkisg> ogra_ac: I think ltsp-cluster calls it again before login to find out the best server to connect to
| |
16:20 | <ogra_ac> ah
| |
16:20 | <alkisg> Never used ltsp-cluster though, so not sure
| |
16:20 | crazed has joined #ltsp | |
16:20 | * ogra_ac neither ;) | |
16:20 | <crazed> i just want to save some resources by not having gdm, etc, running
| |
16:20 | <ogra_ac> gdm ?
| |
16:21 | are you using fat clients ?
| |
16:22 | <johnny> crazed, gdm doesn't run..
| |
16:22 | there is no gdm if you're not using fat clients
| |
16:22 | <crazed> on the ltsp server itself
| |
16:22 | it is running
| |
16:22 | <johnny> then just disable it from starting up in the startup manager
| |
16:22 | <crazed> because i installed ubuntu-desktop, kubuntu-desktop, etc
| |
16:22 | <johnny> don't try changing the run levels
| |
16:23 | <crazed> makes sense
| |
16:23 | i just disabled it actually
| |
16:24 | <ogra_ac> johnny, so did you buy an arm netbook yet ?
| |
16:25 | <johnny> ogra_ac, are there any good ones yet? :)
| |
16:25 | <ogra_ac> i'm typing on one, yes
| |
16:25 | <johnny> which one?
| |
16:25 | <ogra_ac> you could have touched it if you had been at BTS
| |
16:25 | <johnny> ogra_ac, but in any case.. i think i want a more shell style
| |
16:25 | <ogra_ac> toshiba ac100
| |
16:26 | <johnny> i heard that folks are working on a laptop shell that you just plug your phone into
| |
16:26 | that's what i want :)
| |
16:26 | but i'll look into that
| |
16:26 | ogra_ac, but first.. i need a whole new laptop
| |
16:26 | <ogra_ac> also called dynabook in japan
| |
16:26 | chupacabra has joined #ltsp | |
16:26 | * ogra_ac stopped using a laptop | |
16:26 | <ogra_ac> well, i still use it, buut only remotely from the ac100
| |
16:53 | alkisg has quit IRC | |
16:53 | <Pweg> I've always had issues with keyboards that small
| |
17:00 | chupacabra has quit IRC | |
17:06 | chupacabra has joined #ltsp | |
17:06 | <Pweg> is there any good documentation for a ltsp firefox kiosk? the ones I'm finding are outdated or are pretty thin on content
| |
17:15 | <johnny> because not a lot of content is rquired, just use the --kiosk argument
| |
17:15 | if it still works..
| |
17:15 | otherwise you'd have to use fat client setups
| |
17:16 | <Pweg> does that cause any issues if I've already built a regular thin client environment?
| |
17:16 | <johnny> it makes the setup more complicated
| |
17:16 | <Pweg> figured =\
| |
17:16 | <johnny> because you'd have 2 seperate chroots, so you'd have to add some dhcp magic or whatnot to point em in the right place
| |
17:17 | i just use an all fat client setup.. butit depends on how much ram your machines have
| |
17:18 | <Pweg> right now nothing is set in stone, but since we're going for maybe 3-4 clients max I would have thought fat clients might be a bit overkill.
| |
17:20 | <vagrantc> you can run fat and thin clients from the same chroot
| |
17:22 | <Pweg> time to get my hands dirty, if I break it I'll just start over :)
| |
17:23 | <johnny> Pweg, they are ony overkill if you can't support them with your hardware
| |
17:23 | so .. can you?
| |
17:26 | <Pweg> Well, right now I'm experimenting on an old notebook with.. 256mb ram? Ultimately though it's more of a, see what works and build around that, none of what we plan to use has actually been purchased yet.
| |
17:28 | The use they're going to see is predominantly web browsing though, which is why I figured thin client would be more applicable
| |
17:30 | ogra_ac_ has joined #ltsp | |
17:33 | ogra_ac has quit IRC | |
17:35 | mikkel has quit IRC | |
17:35 | mistik1_ has joined #ltsp | |
17:37 | mistik1 has quit IRC | |
17:37 | mistik1_ is now known as mistik1 | |
17:41 | komunista has quit IRC | |
17:58 | <johnny> Pweg, thin clients are only applicable if you don't have the hardware imo
| |
17:58 | good hardware
| |
17:58 | because flash sucks
| |
17:58 | so you're still going to want to trun to run firefox and flash locally anyways
| |
17:58 | and most of the ram used comes from those apps
| |
18:09 | <Pweg> Hmm, alrighty. I'll do my research tomorrow :) Thanks for your insight.
| |
18:11 | Hometime for me, have a lovely day/evening.
| |
18:12 | Pweg has quit IRC | |
18:18 | ogra has joined #ltsp | |
18:18 | ogra has joined #ltsp | |
18:33 | litlebuda has quit IRC | |
18:38 | vagrantc has quit IRC | |
18:39 | staffencasa has quit IRC | |
18:55 | bobby_C has quit IRC | |
19:04 | <moldy> my thin clients use about 70 mb of ram total, with firefox+flash running locally
| |
19:06 | oh btw, the dhcp magic is rather simple, afaik
| |
19:12 | evil_root is now known as zz_evil_root | |
19:42 | <johnny> uhmm.. firefix itself takes up more than that with a couple pages loaded and a deep history..
| |
19:42 | and flash.. are you kidding? not sure which magic flash version you have..
| |
19:42 | i couldn't get the thing working in anything less than 512.. and even though it was going OOM
| |
20:05 | ogra has quit IRC | |
20:11 | ogra has joined #ltsp | |
20:13 | shogunx has quit IRC | |
20:14 | shogunx has joined #ltsp | |
20:37 | MorningSon has quit IRC | |
21:18 | daya has joined #ltsp | |
21:18 | daya has joined #ltsp | |
21:33 | ball has joined #ltsp | |
22:29 | mistik1 has quit IRC | |
22:29 | mistik1 has joined #ltsp | |
22:40 | daya has quit IRC | |
22:46 | alkisg has joined #ltsp | |
22:54 | daya has joined #ltsp | |
23:42 | alkisg has quit IRC | |
23:42 | alkisg has joined #ltsp | |
23:46 | ball has quit IRC | |