[04:13] Hey fellas. Is there a way to customize the login screen of Edubuntu clients? [04:13] on LTSP [05:21] roasted_: Sure, what would you like to do? === abhinav_ is now known as abhinav- [12:37] good morning [12:42] good morning [13:46] good morning everyone [15:30] doctormo: wouldn't roasted just be able to subnet the dhcp3 server on the ltsp box and be golden? [15:37] http://www.opennms.org/ - i'm curious, could this be used for thin/fat client monitoring? [16:02] Ahmuck-Sr: Yes, but dhcp is a funny old thing. [16:04] * Ahmuck-Sr really should get his CIS degree [17:09] whats up fellas [17:40] hi roasted [17:40] Hello Roasted [18:01] hey guys [18:01] trying to do that dhcp swap now [18:01] so is anyone feeling like fixing some edubuntu bugs today? [18:01] * highvoltage got one patch for nanny so far at least [18:02] so... little lost here. [18:02] if I'm adding LTSP and using a Windows DHCP environment, do I need the MAC of EACH machine that will be using LTSP, or just the MAC of the LTSP server? [18:03] Ah today is the bug day? [18:03] highvoltage: any specific requests? [18:03] Or we can just pick one we prefer? [18:03] Roasted: do you mind if you send the boot filename to all of your clients, ltsp or not? [18:03] If not, then you don't need any mac [18:04] is this just to limit which systems can pxe boot to LTSP? [18:04] Yup [18:04] like if I DONT do this, and I PXE boot all 500 systems in the building then they'll all probe the LTSP box? [18:04] So if you don't have a specific reason to limit them, just leave it for everyone [18:04] Yup [18:04] well, I don't want to limit it now, because if we set it up it may be nice to walk into any lab and fire one up for demonstration purposes to my boss. [18:05] alkisg: good question [18:05] Right, so don't specify any macs now [18:05] I was surprised. In my bench test yesterday I ran 10 systems off of my laptop. [18:05] core 2 duo, 4gb ram [18:05] alkisg: best would be if you could scratch your own itches [18:05] granted I maxed out my ram at nearly 3.8gb, but each system had gimp, open office, and firefox running with web browsing. [18:05] the proc was relatively calm too, with only occasional spikes. [18:05] alkisg: otherwise you could browse our buglist and find something that looks interesting... [18:06] https://bugs.edge.launchpad.net/~edubuntu-bugs/+packagebugs [18:06] Ty, I'll have a look [18:06] If I do this with the LTSP Box on the main network, we'll be on a 10.52 IP scheme instead of 192.168. As a result, I would need to change my static IP of the LTSP box. No problem, I can do that. My concern is I tried this yesterday and I wasn't able to PXE boot when I changed my static IP. Do I have to change a PXE entry anywhere to correspond with my new static IP? [18:06] cool :) [18:07] Roasted: you'll have to edit dhcpd.conf in /etc/ltsp (if you installed ltsp-server-standalone) or /etc/dhcp (if you didn't) [18:07] Roasted: your dhcp configuration in your windows server [18:08] highvoltage, I won't be runnign DHCP on the LTSP box, I'll be removing it here shortly. As a result, I would be editing /etc/dhcp, right? [18:08] And probably restart the windows dhcp service [18:08] you might also have to edit a few other files based on your configuration (wherever you had IPs listed) and at least /etc/hosts [18:08] highvoltage, what would I need to edit in hosts? just the IP? [18:08] Roasted: ah, then you don't need to be editing the dhcp file on the server [18:08] what [18:08] really [18:08] this ubuntu doc says I need to [18:08] https://help.ubuntu.com/community/UbuntuLTSP/LTSPWindowsDHCP [18:08] by adding those 3 entries to the DHCP service [18:09] that doc says to remove the dhcp server [18:09] on LTSP [18:09] then a few lines lower it says login to your windows server and load the DHCP config screen [18:10] then add those 3 entries [18:10] yes, that's on the windows dhcp server [18:10] right [18:10] oh wait [18:10] wait [18:10] wait [18:10] Roasted: ah, then you don't need to be editing the dhcp file on the server - you menat the LTSP server.... [18:10] if you use a windows dhcp server then you don't have to configure the dhcp server on your ubuntu machine [18:10] I thought you meant the windows server... [18:10] my apologies [18:10] Hmm that page isn't very good. Uninstalling dhcp3-server will make ltsp-server get uninstalled when apt-get --auto-remove is next used. [18:11] someone here linked me to it yesterday [18:11] *shrug* [18:11] That was me [18:11] :P [18:11] I thought so [18:11] But the page still isn't good :) [18:11] lol [18:11] that's reassuring [18:11] shall I follow thorugh with it? [18:11] See the other page I linked you to, with the proxy dhcp, and *only* follow the steps to uninstall dhcp from there [18:12] that one looks like its more of a headache [18:12] See the *only* part above [18:12] It's just 3 lines [18:12] the "only" part? [18:13] install dnsmasq, config dnsmasq, create a dnsmasq config file, adjust pxelinux.cfg/default.... [18:13] *only* follow the steps to uninstall dhcp from there [18:13] I think I like the other link more :P [18:13] oh [18:13] Not the dnsmasq, not pxelinux, not not not [18:13] so I use both guides? [18:13] just different parts of eahc? [18:13] Erm ok [18:13] I thought I'd save me some time [18:13] This takes longer [18:13] Here let me get you the 3 lines [18:14] sudo apt-get install ltsp-server # This may update ltsp-server instead [18:14] sudo apt-get install ltsp-server # So do it twice to be certain [18:14] sudo apt-get --yes --auto-remove purge ltsp-server-standalone [18:14] Those 3 lines remove the dhcp3-server part of the ltsp installation [18:14] okay [18:15] but I'd still be adding those 3 entries to the windows DHCP server, right [18:15] Right [18:15] gotcha [18:16] so these 3 lines, the 3 entries to windows dhcp, and aside from changing my LTSP server IP to something within the proper scope, we're done then [18:16] When you change your IP you also need to change your /etc/hosts, unless you change it from network manager [18:16] naw I'm using interface file [18:16] I didnt change it in /etc/hosts yesterday. I wonder if thats why I wasnt able to PXE boot. [18:17] Hmm no scratch that [18:17] The default installation doesn't contain the server IP in /etc/hosts [18:17] yeah I just did nano on it and didnt see... [18:17] wonder why I was failing to pxe boot then [18:17] With which dhcp serveR? [18:17] The ubuntu one? [18:17] yes [18:17] I changed my IP on it [18:17] and I wasnt able to PXE boot from there [18:17] You needed to change /etc/ltsp/dhcpd.conf then [18:17] oh [18:17] And restart dhcp [18:18] what am I changing, just the subnet range? [18:18] subnet 192.168.0.0 netmask 255.255.255.0 { [18:18] range 192.168.0.20 192.168.0.250; [18:19] I'd just change the range to 10.52.0.1 (start of windows dhcp scope) to 10.52.1.254 (end of windows dhcp scope) right? [18:20] You won't be needing this, you'll be using the windows server [18:20] I understand. I'm just trying to understand what I did wrong yesterday. [18:20] Then yes, you would just change the subnet [18:20] good deal [18:21] I'm going to test it now :P [18:21] just for sake of learning [18:21] But, beware, your windows clients will get an IP from that [18:21] So they won't have internet access etc etc [18:21] oh no, I'm on a secluded LAN with this setup [18:21] OK [18:22] here we go... [18:22] hahaha. bingo. [18:22] you're the man alkisg [18:22] if you ever come to PA, drinks are on me [18:23] alright, time to get this windows thing rolling and see how we do [18:24] Good luck :) [18:24] dumb question tho. even if I have 64 bit edubuntu installed, Im booting 32b images right [18:25] It depends on if you put `--arch i386` as a parameter to ltsp-build-client [18:25] what's LTSP's default behavior? [18:26] ls -l /opt/ltsp/images [18:26] If you see i386, you got i386 [18:26] If you see amd64... you know [18:26] gotcha. we're on 386. good deal. [18:26] The default behavior is chroot arch == server arch [18:26] hows that make sense... [18:26] Im on 64 bit... [18:26] on the server [18:27] Are you sure? [18:27] x86_64 is listed under uname -a [18:27] is that 64? [18:27] Yes [18:27] I mean it addresses 3.9gb of ram [18:27] so [18:28] I wonder how I got 386 for the clients yet 64 on the server [18:28] 32bit also addresses 4gb ram [18:28] With -pae extensions, on by default [18:28] oh [18:28] but if uname -a says Im on 64 bit... [18:28] So maybe you did put --arch i386 in your ltsp-build-client after all [18:29] I didn't even know that existed until you told me just now. [18:29] So I'm doubtful that I did. [18:29] How did you install LTSP? [18:29] I just wanted to make sure we were using 32b images since our hardware is older hardware. [18:29] Edubuntu 10.10 64 bit DVD [18:29] hit the checkbox for LTSP [18:29] ran through the installer [18:29] I have a 2nd box here with Edubuntu that I installed from the same DVD. I wonder what that says [18:29] Hmm maybe it has a 32bit chroot, I haven't done that as we're using localized chroots here [18:30] highvoltage would know :) [18:30] to be honest it makes sense to me to use 64b server, 32b clients [18:30] since people would be utilizing older hardware for thin clients in some cases [18:30] * highvoltage emerges [18:31] he awakens! [18:31] highvoltage: on edubuntu 64 bit, the chroot installed is 32 bit? [18:32] ah, yes. on edubuntu we always do 32bit ltsp chroots from the installer (64bit won't work on many thin clients, such as anything Atom based, and there's very rarely benefit with 64bit on clients) [18:32] Roasted: ^^^ [18:32] nice [18:32] thanks :) [18:33] if you use ltsp-build-client after installation, then it will use your current architecture as default, but for the edubuntu installer it made sense to always go for 32bit [18:33] off topic question [18:33] is there a way to edit the login screen [18:33] yes [18:33] the LDM themes are in /usr/share/ldm/themes in the thin client chroot [18:34] you can add a new one there and specify it in lts.conf [18:34] okay. I thought so. I replaced bg.png and put in a different image, also named bg.png, but it didnt take, so it confused me a little bit [18:35] Did you run ltsp-update-image? [18:35] probably not [18:35] as root? [18:36] With sudo, yes [18:36] Error: chroot /opt/ltsp/amd64 doesn't exist. [18:36] hmm [18:37] Roasted: yeah, the way you did it will be a bit risky because your changes will be over-written again if you install updates [18:37] well, I did it on my laptop, which is just a test-drive machine [18:37] I got my other box fired up here for real testing [18:37] Roasted: you might want to add a "-a i386" to let it know that it should update the i386 chroto and not a 64bit one [18:38] Roasted: since you have a different chroot arch than the server arch, you always need to add --arch i386 [18:38] I see [18:38] looks like its owrking [18:38] creating 4.0 file system [18:41] highvoltage, is there an official guide somewhere to changing the theme properly? [18:41] Roasted: nope [18:41] Roasted: but I'll answer any questions about it if you write us one :) [18:42] well if you tell me how to do it, I'll make a guide for it. :P [18:43] Don't forget to put your findings to the windows dhcp page as well :P :D [18:43] Roasted: I just have to look into a few other things too now but we can go through it a bit later [18:43] sounds good [18:50] seems as if I have tanked something badly [18:50] my login screen is all gray, no images whatsoever, and wont log any users in [18:51] thankfully its my laptop install which... doenst matter [18:51] still curious on what happened tho. it worked until I ran that command. lol... [18:51] that command builds the new squashfs image based on the changes you have made [18:52] the only change I made was the background image [18:52] maybe it doesnt like it [18:52] but theres also a button here, all white with a red X in the center, as if that didnt fly either [18:52] ah well, I wont be bothered by that for now. [18:56] is there by chance a way to revert it back to normal without reinstalling edubuntu? [18:57] Put the old background image? [18:57] And re-run ltsp-update-image/ [19:04] didnt work [19:05] Then you must have changed something else too [19:05] If you don't remember what, you can rebuild the chroot [19:05] I.e. sudo rm -rf /opt/ltsp && sudo ltsp-build-client --arch i386 [19:05] (will take some time) [19:12] is there a forum for LTSP so I can ask questions there instead of bugging you guys? [19:13] #ltsp [19:13] but most ppl here are in there too :) [19:14] thanks :) [20:01] well, what would be faster is: [20:01] sudo chroot /opt/ltsp/i386 apt-get --reinstall install ldm-themes [20:01] and then ltsp-update-image [20:02] already done :P [20:02] Im working on another issue at the moment [20:02] I just asked it in LTSP if you're curious at taking a gander. it has me stumped. [20:04] highvoltage: Have you had any thoughts about draft4? If you have no more concerns, then we can announce and release? [20:09] doctormo: nothing that jumps out at me yet, it's already in today's daily build :) [20:09] Fantastic, although I haven't produced all the sizes and aspects that might be required. === ogra is now known as Guest18809 === Guest18809 is now known as ogra_ [20:39] highvoltage: I had to do some editing to get it to fit widescreen, please review [20:42] doctormo: except for some changes in the hills I couldn't see any other changes, but it looks good [20:43] highvoltage: It's 1MB, just so a quick refresh [20:43] You should see the version with the pink guides [20:43] That show what each screen resolution would see [20:43] ok, I see the pink lines [20:44] I think it looks good [20:46] highvoltage: How do you ship it? just ship the widescreen version and set it to crop? [20:47] why would my users time out when trying to log in? all I did was add windows dhcp to the mix. [20:48] Roasted: If the windows dhcp isn't giving correct info and the machines are not online... that would be an issue. [20:48] I forget if ltsp does seconard network connections [20:48] doctormo, I would *assume* that by them coming to the login screen that it would have the proper info. [20:48] let me do a direct cat5 line from my server to a laptop and see if it does the same thing [20:48] one second [20:49] crap. I cant. I dont have dhcp on it. [21:22] doctormo: currently, it's just stretched over whatever screen you have [21:22] Roasted: heh, if you took a second to think about that you'd realise that before plugging it in. take it easy :) [21:24] Roasted: I haven't configured a windows DHCP server yet, but what is the information you put in there? (I thought it was in scrollback but I couldn't find it) [21:29] highvoltage, https://help.ubuntu.com/community/UbuntuLTSP/LTSPWindowsDHCP [21:30] theres 3 lines of info that was put in [21:30] I did not put it in, the network admin here did. He showed me how it works though, as we already have several other "rules" in place since we have VOIP here, and our VOIP phones require similar entries to be made. [21:30] highvoltage, it took him a matter of 20 seconds to do it. [21:38] Roasted: what did he use for the IP address? [21:38] of the LTSP box? [21:38] highvoltage, ^ [21:39] highvoltage, I'm still doing small scale testing. I just grabbed a DHCP IP and had him use that for the entry. [21:39] Roasted: no, on the Windows DHCP server [21:39] we're working now [21:39] ok [21:39] so technically my LTSP box is on DHCP. [21:40] but the box Im running it on isnt one Ill actually use in the classrooms. [21:40] when I do Ill certainly static it [21:40] highvoltage, my problem was when I changed the IP I had no idea I had to run the sshkeys command to update them or whatever. [21:40] that fixed my login hanging problem though. [21:40] highvoltage, aside from changing the IP and needing to run that command, is there any other instances where running the sshkeys command and image update command would be useful? [22:38] highvoltage: How much space do you have for the desktop wallpaper and is it packaged? [22:39] doctormo: 1.8GB give or take [22:40] that's how much we have left on the dvd [22:40] I could make an entire gallery of moving desktop backgrounds with that ;-) [22:42] doctormo: I thought that your moving backgrounds are svg and take up very little space :) [22:42] doctormo: it's in the edubuntu-artwork package [22:42] highvoltage: Ah those aren't moving, they're just evolving. [22:43] So the image @ 2560x1600 is ~1MB, that takes care of the biggest resolutions. [22:43] And it's at widescreen and I've checked that full screen should take. [22:43] We'll need to set it to not stretch [22:46] highvoltage: Testing says it should be set to "Zoom" in the xml configuration. [23:25] doctormo: ok, I'll update it