01:08 | dlezcano has quit IRC | |
01:21 | dlezcano has joined #ltsp | |
01:52 | alkisg has joined #ltsp | |
02:02 | gnunux has joined #ltsp | |
02:04 | <gnunux> hi
| |
02:13 | <alkisg> Good morning
| |
02:44 | ogra has joined #ltsp | |
02:44 | ogra has joined #ltsp | |
02:45 | dobber has joined #ltsp | |
03:13 | Da-Geek has joined #ltsp | |
03:23 | alkisg has quit IRC | |
03:50 | alkisg has joined #ltsp | |
04:42 | alkisg has quit IRC | |
05:04 | artista_frustrad has joined #ltsp | |
05:15 | otavio has joined #ltsp | |
05:15 | otavio has joined #ltsp | |
05:28 | alexqwesa has quit IRC | |
05:34 | alexqwesa has joined #ltsp | |
05:53 | [GuS] has joined #ltsp | |
05:53 | [GuS] has joined #ltsp | |
06:07 | johnny has left #ltsp | |
06:07 | johnny has joined #ltsp | |
06:21 | artista_frustrad has quit IRC | |
06:33 | artista_frustrad has joined #ltsp | |
06:46 | artista_frustrad has quit IRC | |
06:56 | MorningSon has joined #ltsp | |
07:00 | artista_frustrad has joined #ltsp | |
07:17 | <muppis> Any dnsmasq -specialist around? Got mixed archs and want to use amd64 when known to work?
| |
07:17 | Yes, I'm using dnsmasq as dhcpd.
| |
07:18 | artista_frustrad has quit IRC | |
07:22 | robehend1 has joined #ltsp | |
07:26 | <knipwim> muppis: i'm using dnsmasq on my adm64 server
| |
07:27 | |GuS| has joined #ltsp | |
07:27 | |GuS| has joined #ltsp | |
07:27 | [GuS] has quit IRC | |
07:28 | <muppis> knipwim, I'm just thinking would it be easier to make mac specified default -files than try to adjust dnsmasq.
| |
07:39 | Yes, I'll do it that way.
| |
07:40 | <robehend1> random question. if using a Windows DHCP to provide the pxe info to clients, and I want to set a reservation for a test machine, so it boots to a different chroot than the rest of the clients..is this possible?
| |
07:41 | i've found how i can give it a reserved IP based on its Mac, of course, but changing the pxe options is being more difficult than I expected
| |
07:43 | wait, nvm, found it
| |
07:43 | <muppis> Selfsolving problems?
| |
07:44 | robehend1 has quit IRC | |
07:45 | robehend1 has joined #ltsp | |
07:49 | <robehend1> muppis: I try. though i'm still fighting with the --kiosk plugin and making it work, today
| |
07:51 | Faithful has joined #ltsp | |
08:12 | Gadi has joined #ltsp | |
08:17 | <muppis> Ended up making own pxelinux configs to point files created by ltsp software.
| |
08:19 | robehend1 has quit IRC | |
08:26 | robehend1 has joined #ltsp | |
08:31 | <robehend1> Gadi: Say, I had some difficulty with that --kiosk plugin, after you left. It appears that its failing to find the ltspkiosk user in the chroot, even after i chrooted into it and did a useradd ltspkiosk
| |
08:31 | Gadi: even changed the kiosk screen.d script to point to a different user I made, same result.
| |
08:32 | <m4xx> is the kisosk user suppose to be on the chroot?
| |
08:33 | <robehend1> m4xx: according to the kiosk script, yes. Unless I'm reading it wrong..
| |
08:33 | <m4xx> can you point me to what you're looking at?
| |
08:34 | <robehend1> /opt/ltsp/kiosk/usr/share/ltsp/screen.d/kiosk
| |
08:34 | replace /opt/ltsp/*/usr/share/ltsp/screen.d/kiosk with your own chroot name
| |
08:36 | <m4xx> lol
| |
08:36 | ok i guess it does clearly state you need the user on the chroot ;x
| |
08:36 | <robehend1> hence my confusion
| |
08:36 | <m4xx> so what's not working?
| |
08:36 | <robehend1> i added the user, made SCREEN_07 = kiosk , but when it loads, i get the "No ltspkiosk user
| |
08:37 | so it wont auto login, and therefore doesnt launch firefox, just sits at a terminal prompt
| |
08:37 | er terminal login
| |
08:37 | <muppis> Am I missing something or why nvidia boot agent doesn't try load mac based config?
| |
08:39 | <m4xx> did you update your image after adding the user?
| |
08:40 | <robehend1> yep
| |
08:40 | <m4xx> can you login with any user at that terminal?
| |
08:40 | <robehend1> i even added a different user, "billy", and changed the KIOSKUSER variable to read it
| |
08:40 | no, i cant. thats the weird part
| |
08:42 | espicially since when i go into the chroot and run getent passwd ltspkiosk, it returns ltspkiosk:x:1000:1000:,,,:/home/ltspkiosk:/bin/bash , prompting me to believe the user is created
| |
08:42 | <m4xx> what did you do to rebuild your image?
| |
08:42 | actually
| |
08:42 | when you changed it to billy
| |
08:43 | did it say "No billy user"
| |
08:43 | ?
| |
08:43 | <robehend1> no, it still said no ltspkiosk user. But thats a hardcoded echo
| |
08:43 | <m4xx> change it to that in the hardcode to make sure your actually rebuilding your image?
| |
08:44 | <robehend1> hmm, k
| |
08:44 | and i'm using ltsp-update-image --arch kiosk to update. I made the chroot named kiosk
| |
08:45 | <m4xx> try
| |
08:45 | ltsp-update-image --base kiosk
| |
08:45 | ?
| |
08:46 | n/m
| |
08:46 | i think i read that wrong
| |
08:46 | <robehend1> no go
| |
08:46 | bastek has joined #ltsp | |
08:47 | <bastek> hello
| |
08:48 | i have a problem with ltsp cluster
| |
08:48 | <m4xx> robhend1: yeah man says your absolutely right :[
| |
08:49 | <bastek> if anyone can help me?
| |
08:49 | <robehend1> bastek: whats going on?
| |
08:49 | <bastek> this channel is my last chance hehe
| |
08:50 | i want to create cluster on virtual box
| |
08:50 | i use ubuntu guide
| |
08:50 | https://help.ubuntu.com/community/UbuntuLTSP/LTSP-Cluster
| |
08:50 | and everthing goes right till i have launched thin client
| |
08:51 | i cant log in to thin client
| |
08:51 | it seems that root server dont cooperate with app server
| |
08:51 | <m4xx> did it boot to the greeter?
| |
08:52 | <bastek> if i turn off the app server everything is the same
| |
08:52 | on the app server when i going to the admin page in the logs nothing happend
| |
08:53 | so i dont have idea what is going wrong
| |
08:53 | m4xx what is greeter ?
| |
08:53 | |GuS| is now known as [GuS] | |
08:54 | <bastek> you mean login screen?
| |
08:54 | <m4xx> yes
| |
08:54 | <bastek> yes on thin client i see login screen
| |
08:54 | <m4xx> did you check the auth log file after the failed login?
| |
08:54 | robehend1 has quit IRC | |
08:55 | <bastek> but when i type login and user they say that no response from server
| |
08:55 | where is this file ?
| |
08:55 | <m4xx> i believe it will do that if the auth fails
| |
08:55 | i think /var/log/auth.log
| |
08:55 | maybe auth_log
| |
08:56 | <bastek> ok wait a moment i check this right now
| |
08:56 | <m4xx> try
| |
08:56 | tail -f /var/log/auth.log
| |
08:56 | <bastek> ok
| |
08:56 | <m4xx> on the server,
| |
08:56 | then try logging in on the thinclient
| |
08:56 | <bastek> ok
| |
08:58 | robehend1 has joined #ltsp | |
08:59 | <bastek> on app server i have standard user app
| |
09:00 | and i create student user and i try to log in on student account
| |
09:00 | should i check logs on the root server or app server ?
| |
09:01 | <m4xx> which ever server your auth to
| |
09:03 | bastek_ has joined #ltsp | |
09:03 | <bastek_> sory but my system crushed
| |
09:04 | one more time
| |
09:04 | <m4xx> <bastek> should i check logs on the root server or app server ?
| |
09:04 | <m4xx> which ever server your auth to
| |
09:05 | <bastek_> i want to login set up on app server so i check the app serv login
| |
09:05 | bastek has quit IRC | |
09:10 | <bastek_> i cant copy text from virtual machine so what is important ?
| |
09:11 | <m4xx> anyone have an opinion of ClearOS?
| |
09:13 | <robehend1> i've played with it, nothing to special
| |
09:13 | abeehc_ has quit IRC | |
09:17 | <bastek_> when i type login and password on thin client i get this in auth.log
| |
09:19 | ltsp-appserv01 CRON[6619]: PAM unable to dlopen (/lib/security/pam_encrypt.so) : /li/security/pam_encrypt.so: cannot open shared object file: No such file or directory
| |
09:20 | ltsp-appserv01 CRON[6619]: PAM adding faulty module /lib/security/pam_ecrypt.so
| |
09:20 | zz_evil_root is now known as evil_root | |
09:21 | <bastek_> ltsp-appserv01 CRON[6619]: pam_unix(cron:session) session opened for user root by (uid=0)
| |
09:22 | bobby_C has joined #ltsp | |
09:22 | <bastek_> ltsp-appserv01 CRON[6619]: pam_unix(cron:session) session closed for user root
| |
09:22 | and thats all
| |
09:23 | <m4xx> did have to set anything up in pam.d?
| |
09:23 | <bastek_> i did everything what was in tutorial
| |
09:24 | what should i check in pam.d ?
| |
09:25 | <m4xx> (/lib/security/pam_encrypt.so) : /li/security/pam_encrypt.so: cannot open shared object file: No such file or directory
| |
09:25 | that should be /lib/security/pam_encrypt.so not /li/security/pam_encrypt.so
| |
09:26 | did you type or copy that?
| |
09:26 | <bastek_> type
| |
09:26 | its lib
| |
09:26 | my mistake
| |
09:26 | <m4xx> ah
| |
09:27 | try apt-get install libpam-modules
| |
09:27 | <bastek_> ok moment
| |
09:27 | evil_root is now known as zz_evil_root | |
09:29 | <bastek_> i have it alredy
| |
09:29 | <m4xx> ls -al /lib/security/pam_ecrypt.so
| |
09:30 | <bastek_> i dont have this file
| |
09:30 | zz_evil_root is now known as evil_root | |
09:31 | <bastek_> strange
| |
09:32 | maybe i shouldnt add this line "session optional pam_ecryptfs.so unrwap"
| |
09:32 | to
| |
09:32 | etc/pam.d/common-session file
| |
09:33 | <robehend1> Gadi: You around, perchance?
| |
09:37 | abeehc has joined #ltsp | |
09:37 | <bastek_> in this tutorial is written
| |
09:37 | If ltsp-cluster-accountmanager is killing user sessions when using ldap authentication add the following to the /etc/pam.d/common-session file
| |
09:38 | <m4xx> need to find out which package supplies pam_encrypt.so if any
| |
09:38 | <robehend1> m4xx: it appears that it's not updating the Kiosk script. I changed the echo to "No billy user", and it's still saying no ltspkiosk user
| |
09:38 | weird..
| |
09:39 | <m4xx> bastek_: grep -R pam_encrypt.so /etc/pam.d/
| |
09:40 | <bastek_> nothing
| |
09:41 | <m4xx> idunno dude, try taking out that line and see if it still errors
| |
09:42 | <bastek_> its ecrypt
| |
09:42 | this file is not encrypt
| |
09:43 | <m4xx> robehend1: is there supposed to be a /var/lib/tftpboot/ltsp/kiosk directory if so do you have one?
| |
09:43 | <bastek_> i comment this line in common-session
| |
09:43 | <robehend1> m4xx: yep, its there. its where I put the lts.conf file, so it went SCREEN_07 = kiosk
| |
09:44 | <bastek_> and now nothing appears in auth.log if i try to log in on thin client
| |
09:45 | <m4xx> robehend1: did you set up your dhcp server to serve the right image to your kiosk client?
| |
09:45 | <robehend1> m4xx: yep, by mac address. it's booting into the kiosk directory
| |
09:45 | ls
| |
09:45 | oops
| |
09:46 | darn tab not going fast enough
| |
09:46 | <bastek_> but it still doesnt work :/
| |
09:47 | <m4xx> bastek_: i believe you should at least see an auth attempt failed or passed, not sure what to say =[
| |
09:48 | <bastek_> ok
| |
09:48 | ty for your help
| |
09:48 | it weird :/
| |
09:49 | in admin panel in terminal logs nothing shows up
| |
09:49 | and the legend say 1. terminal booting etc
| |
09:50 | but i have nothing in terminal logs
| |
09:53 | johnny has left #ltsp | |
10:13 | gnunux has quit IRC | |
10:13 | rjune has joined #ltsp | |
10:16 | <robehend1> m4xx: so, now its acting even more weird. I noticed in my lts.conf, for some reason i had SCREEN_01 = kiosk instead of 07, so I changed that. Now my clients get to the plymouth ubuntu screen, but never past that..
| |
10:19 | dobber has quit IRC | |
10:28 | staffencasa has joined #ltsp | |
10:28 | <robehend1> bah. even tried adding a ltspkiosk user to my active directory, thinking something was up with likewiseopen...no go
| |
10:32 | <m4xx> can you ctrl+alt+f1
| |
10:32 | login as root
| |
10:33 | and id kioskuser
| |
10:33 | or w/e
| |
10:35 | <robehend1> hmm lemme try
| |
10:36 | no such user
| |
10:36 | <m4xx> actually may need to do like
| |
10:36 | ltsp-localapp xterm
| |
10:36 | dunno if that will work though
| |
10:36 | <robehend1> weird..cuz i added it by going sudo chroot /opt/ltsp/kiosk , and then did adduser ltspkiosk , and then ltsp-update-image --arch kiosk
| |
10:37 | <m4xx> no i'm saying that may be checking the server, not the thinclient
| |
10:37 | <robehend1> oh no, its on the client. i logged in as my clients root user
| |
10:38 | <m4xx> grep ltspkiosk /etc/passwd
| |
10:38 | <robehend1> nothin
| |
10:42 | <m4xx> dunno dude, you'll have to ask the smart people ;x
| |
10:42 | <robehend1> yep, ill catch them eventually
| |
10:44 | now i'm trying to chroot into the kiosk chroot, change the kiosk plugin script there, and then update the image. see if that applies
| |
10:45 | nope. I changed "no ltspkiosk user" to "no awesome user", but i still get "no ltspkiosk user"
| |
10:45 | makes me wonder if its pulling the plugins from a different place
| |
10:45 | <evil_root> does... getent passwd | grep ltspkiosk .... give you anything
| |
10:46 | <robehend1> evil_root: can i run that in the chroot?
| |
10:46 | <m4xx> rob
| |
10:46 | after you updated teh image
| |
10:46 | did you reboot the client?
| |
10:46 | <robehend1> mhmm
| |
10:46 | evil_root: when i run that in the chroot, i get ltspkiosk:x:1000:1000:,,,:/home/ltspkiosk:/bin/bash
| |
10:46 | <evil_root> so your /etc/passwd is ok
| |
10:47 | are you getting a password error?
| |
10:48 | <robehend1> the kiosk script runs " if [ -z "$(getent passwd ${KIOSKUSER})" ; then echo "No ltspkiosk user"
| |
10:48 | and I keep getting that no ltspkiosk user echo, even though the KIOSKUSER variable is defined to be ltspkiosk..
| |
10:49 | <m4xx> did you reboot the client after updating the image?
| |
10:49 | <robehend1> m4xx: yep, every time
| |
10:49 | <evil_root> thats messed up
| |
10:49 | weird i should say
| |
10:50 | <robehend1> mhmm. way I understand it, it *should* be working..
| |
10:50 | <evil_root> agreed
| |
10:50 | <robehend1> the weird thing is that when i run ltsp-update-image, you know how it lists UIDS at the end? it doesn't list the ltspkiosk user..
| |
10:52 | http://ltsp.pastebin.com/ZQytmTBP
| |
10:57 | weird stuff
| |
10:59 | <m4xx> can you rename the kiosk image file
| |
10:59 | then do the update
| |
10:59 | <robehend1> m4xx: how would i go about doing that
| |
10:59 | <m4xx> is it in the ftp directory?
| |
10:59 | <robehend1> tftp?
| |
10:59 | <m4xx> yeah, sorry
| |
11:00 | <robehend1> m4xx: i can, but do i need to do the /opt/ltsp/kiosk file as well?
| |
11:01 | <m4xx> no
| |
11:01 | <robehend1> hmm, ok..
| |
11:01 | <m4xx> it uses that to update the image no?
| |
11:01 | <robehend1> i believe so, though i could be 100% wrong
| |
11:01 | <m4xx> as can i :P
| |
11:02 | <knipwim> muppis: i also use mac based dhcp in dnsmasq
| |
11:02 | <robehend1> so, i ran "mv /var/lib/tftpboot/ltsp/kiosk /var/lib/tftpboot/ltsp/kiosk2" and then ran the update
| |
11:03 | <knipwim> muppis: dhcp-host=00:B0:D0:ED:88:4A,ltsp-test,192.168.0.21,24h for example
| |
11:03 | <robehend1> m4xx: it doesnt recreate the "kiosk" file
| |
11:04 | <m4xx> oops
| |
11:04 | perhaps i'ts in /opt/ltsp/images
| |
11:04 | <robehend1> ya, thats where kiosk.img is, now lets see how it goes
| |
11:04 | it recreates
| |
11:05 | <m4xx> reboot and see if that made any difference
| |
11:05 | the client that is
| |
11:05 | <robehend1> doing that now, after i remembered to put my tftpboot back to kiosk instead of kiosk2..
| |
11:06 | <m4xx> yeah, sorry =[
| |
11:06 | <robehend1> no prob
| |
11:06 | come on, slow 10baseT connection. love working out of the back office
| |
11:07 | Faithful has quit IRC | |
11:09 | <robehend1> m4xx: still the no ltspkiosk user error
| |
11:10 | weird. if i login as root again, i get the message "bash: no job control in this shell"
| |
11:13 | bah. i run "id ltspkiosk" ad get the no such user
| |
11:13 | but if i run useradd ltspkiosk, i get "user ltspkiosk already exists
| |
11:13 | <m4xx> lol, maybe try re creating the whole env?
| |
11:13 | <robehend1> this is a brand new enviro, just for this :)
| |
11:15 | ha, and if i run id ltspkiosk when i'm just chrooted in, it finds it
| |
11:15 | <m4xx> well if you dont chroot in, it wont find it
| |
11:15 | <robehend1> exit
| |
11:15 | oops
| |
11:16 | when i do the id ltspkiosk on the server, it just finds the one in my active directory via likewise open
| |
11:17 | <m4xx> if you do chroot /opt/ltsp/kiosk && id ltspkiosk
| |
11:17 | it shows up unknown?
| |
11:17 | <robehend1> no, it gives me uid=1000(ltspkiosk) gid=1000(ltspkiosk) groups=1000(ltspkiosk)
| |
11:18 | BUT
| |
11:18 | Lns has joined #ltsp | |
11:18 | Lns has joined #ltsp | |
11:18 | <robehend1> when i'm on a client, and i've set screen_02 to a local shell, i run it there it sees nothing
| |
11:18 | <m4xx> when you built the client, you did ltsp-build-client --kiosk
| |
11:18 | right?
| |
11:18 | <robehend1> yes
| |
11:18 | ltsp-build-client --kiosk --chroot kiosk to be exact
| |
11:18 | <m4xx> i dont think you need tp specify the --chroot do you?
| |
11:19 | <robehend1> i wanted to give it a different name, so i'd be sure i knew which one i'm in
| |
11:19 | forgot, also had the --arch i386 in there, since the server is amd64
| |
11:22 | !kiosk
| |
11:22 | <ltspbot> robehend1: Error: "kiosk" is not a valid command.
| |
11:22 | <robehend1> darn
| |
11:41 | alkisg has joined #ltsp | |
11:42 | [GuS] has quit IRC | |
11:52 | <robehend1> m4xx: well, closest I could get was adding LDM_Session = /usr/bin/firefox to my lts.conf, but its not what I was looking for :(
| |
11:53 | <m4xx> i'm not sure that you're actually loading the kiosk image
| |
11:53 | <robehend1> as i'm loading up the pxe stack, it is going into /ltsp/kiosk , i made sure to catch that
| |
11:54 | but you know, it is odd. as it's using the same LDM theme as my normal chroot..
| |
11:54 | and i thought you had to make themes per chroot
| |
11:57 | johnny has joined #ltsp | |
11:57 | <m4xx> then i def dont think you're loading the kiosk image
| |
11:57 | try adding user to your i386 chroot and see if it's found
| |
11:58 | <robehend1> hmm. well, it'll have to wait till after lunch. Perhaps Gadi will be back then, and he can work his majesty..
| |
11:58 | m4xx: will do. just have to wait till other users arent on it, so i can run update and not screw with em.
| |
11:58 | bbiab
| |
12:28 | alrighty, adding the user to the i386 chroot, see if this works.
| |
12:31 | <m4xx> i dont believe it would effect them if they're not in the login screen
| |
12:33 | <alkisg> robehend1: it should already be there if you used the --kiosk plugin
| |
12:33 | If it isn't, then maybe that's not the correct chroot
| |
12:34 | Lumiere_ is now known as Lumiere | |
12:35 | Lumiere has joined #ltsp | |
12:36 | <alkisg> So if you set SCREEN_07=kiosk, what do you get?
| |
12:37 | RiXtEr has quit IRC | |
12:37 | RiXtEr has joined #ltsp | |
12:38 | <robehend1> alkisg: if i set Screen_07 =kiosk, i get a never booting client
| |
12:39 | if i set Screen 01 to kiosk, i get a client that thinks there is no ltspkiosk user
| |
12:39 | <alkisg> Don't use SCREEN_01, it's reserved for the boot messages etc, tty1
| |
12:39 | <robehend1> ah. ok.
| |
12:39 | <alkisg> Is there a ltspkiosk user if you try that getent command *on the client*?
| |
12:39 | <robehend1> no
| |
12:40 | if i chroot into the clients chroot, however, there is
| |
12:40 | and i've updated the image numerous times
| |
12:40 | <alkisg> Then you're serving the wrong plugin
| |
12:40 | Or updating the wrong one
| |
12:40 | *wrong chroot
| |
12:40 | Paste your configuration if you want help
| |
12:40 | <robehend1> which config? lts.conf?
| |
12:40 | <alkisg> I.e. grep nbd /etc/inetd.conf, dhcpd, and pxelinux.cfg/default
| |
12:40 | <robehend1> alrighty, lemme get the pastbins up
| |
12:41 | bastek_ has quit IRC | |
12:43 | <robehend1> heres the inetd.conf
| |
12:43 | http://ltsp.pastebin.com/Gkwfvyw0
| |
12:43 | <crazed> i have an interesting question, how do i make ltsp servers highly available? i don't need the ltsp-cluster and think that's overkill for the situation
| |
12:43 | by highly available, i mean if one goes doesn how do i make sure dhcp hands out the other ons address
| |
12:44 | <robehend1> and the pxelinux.cfg/default
| |
12:44 | <alkisg> You can either use dhcp balancing (isc dhcpd supports up to 2), or you can use a proxydhcp https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP
| |
12:44 | vagrantc has joined #ltsp | |
12:44 | <robehend1> http://ltsp.pastebin.com/2Fnjw1Yt
| |
12:45 | <alkisg> robehend1: don't use nano before pastebin as it only displays part of the file
| |
12:45 | use: grep nbd /etc/ined.conf
| |
12:45 | <robehend1> i was not aware of that. fixing
| |
12:46 | <alkisg> robehend1: btw, nbd_proxy-false should instead read nbd_proxy=false
| |
12:46 | (= instead of -)
| |
12:46 | <robehend1> hmm ok
| |
12:46 | <alkisg> Do you intent to server 2 different chroots? Now you're only serving a single one...
| |
12:46 | <robehend1> thats what i'm noticing as i look at this.
| |
12:46 | <alkisg> (unless you fix that from dhcpd.conf)
| |
12:46 | <robehend1> http://ltsp.pastebin.com/XaVMx4jG
| |
12:47 | whats weird, is that there is another chroot, kiosk, that isnt listed in that nbd listings
| |
12:47 | <alkisg> You need to fix all those files as the first step... what's your desired end configuration?
| |
12:48 | Have a pxe menu to allow the users to select what they want? Send a specific chroot to specific mac addresses?
| |
12:48 | <robehend1> i was hoping to be able to serve 1 chroot to my clients, for their normal use, and another chroot to one mac address, so i can use it for testing
| |
12:48 | <alkisg> One easy way to do that is from dhcpd.conf
| |
12:48 | Are you using dhcp3-server?
| |
12:48 | <robehend1> using windows dhcp, with no proxy setup yet
| |
12:48 | or dnsmasq, whatever its called
| |
12:49 | <alkisg> I think you can tell the windows dhcp server to send a different boot filename option to a specific mac/client, but I don't know how
| |
12:49 | <robehend1> ya, thats what i did
| |
12:49 | <alkisg> So which filename are you giving that client?
| |
12:49 | <robehend1> i setup the reservation and told i to send /opt/ltsp/kiosk to it, w hich it did, according to the pxe
| |
12:50 | kiosk. which i dont see on the inetd.conf setup, which i'm thinking is my problem
| |
12:50 | <alkisg> Nope, that's not right
| |
12:50 | Ah which distro/version again?
| |
12:50 | <robehend1> 10.04
| |
12:50 | <alkisg> OK, it's not right
| |
12:50 | The boot filename is the tftp path
| |
12:50 | Not the nfs root path
| |
12:50 | <crazed> hm dnsmasq as a dhcp proxy
| |
12:50 | <alkisg> tftp = relative to /var/lib/tftpboot
| |
12:51 | I.e. for all clients, it should send "/ltsp/i386/pxelinux.0", and for that specific client, "/ltsp/kiosk/pxelinux.0"
| |
12:51 | <robehend1> it is
| |
12:51 | https://help.ubuntu.com/community/UbuntuLTSP/LTSPWindowsDHCP
| |
12:51 | <alkisg> (08:50:05 PM) robehend1: i setup the reservation and told i to send /opt/ltsp/kiosk to it, w hich it did, according to the pxe
| |
12:51 | Not /opt/ltsp/kiosk
| |
12:51 | <robehend1> oh wait, now i get it
| |
12:52 | i always send the same root path, but different bootfile path
| |
12:52 | <alkisg> OK, the root path is irrelevant, it's for NFS booting
| |
12:52 | So you're sending the correct boot filename?
| |
12:52 | <robehend1> bootfile name is /ltsp/kiosk/pxelinux.0
| |
12:52 | <alkisg> OK
| |
12:53 | Pastebin your /var/lib/tftpboot/ltsp/kiosk/pxelinux.cfg/default
| |
12:54 | <robehend1> http://ltsp.pastebin.com/2Fnjw1Yt
| |
12:54 | same one that had the nbd_proxy screwup in it, thats the /var/lib/tftpboot/ltsp/kiosk/pxelinux.cfg/default
| |
12:54 | <alkisg> That nbdport=2000 specifies the image to send, and should correspond to the kiosk entry in /etc/inetd.conf
| |
12:54 | <crazed> alkisg: how would a proxy dhcp server help with high availability?
| |
12:55 | <robehend1> which there isnt one. thats whats screwing me up, i think
| |
12:55 | <alkisg> robehend1: So change that to e.g. 2004, and put an entry in /etc/inetd.conf for that port
| |
12:55 | <robehend1> alkisg: alright, thanks. let me try that here..
| |
12:55 | <alkisg> robehend1: so you're now serving the same nbd file as to the other clients...
| |
12:57 | crazed: here's the "formal" way: https://wiki.edubuntu.org/EdubuntuDHCPload-balancingFailover
| |
12:57 | I.e. a way to have failover with 2 dhcp servers
| |
12:58 | The proxydhcp method requires that you have a "stable" dhcp server, (whatever, even a router), and any number of proxydhcp servers / ltsp servers around it
| |
12:59 | <crazed> i understand that part
| |
12:59 | but how would the stable dhcp server properly balance between the others?
| |
13:00 | <alkisg> Load balancing and failover are not the same thing
| |
13:00 | If you want load balancing, you can e.g. use multiple LDM_SERVER entries, and let ldminfod select the one with the lower load
| |
13:01 | <crazed> hm
| |
13:01 | right now i have multiple LDM_SERVER entries
| |
13:01 | but it's not load balancing, just brining you to the first one
| |
13:01 | <alkisg> Is ldminfod running on both of them?
| |
13:02 | Something like that: $ grep ldm /etc/inetd.conf
| |
13:02 | 9571 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/ldminfod
| |
13:02 | (depending on your distro)
| |
13:02 | <crazed> 9571 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/ldminfod
| |
13:02 | looks like it is
| |
13:03 | doesn't appear in the process list though
| |
13:03 | (this is ubuntu 10.04)
| |
13:04 | <alkisg> It's ok, it's started from inetd
| |
13:04 | So in the client, do you get two files, one for each server, under /var/run/ldm?
| |
13:05 | <crazed> yes
| |
13:05 | i see both under there
| |
13:05 | by hostname
| |
13:08 | <robehend1> alkisg: do i need to restart a service after adding the line to my inetd.conf file? I'm getting a "error: failed to connect to NBD server" at client boot
| |
13:08 | <alkisg> robehend1: sudo invoke-rc.d openbsd-inetd restart
| |
13:08 | <vagrantc> i don't think ltsp load-balances by default
| |
13:08 | <robehend1> thankee
| |
13:09 | <vagrantc> and i don't think it should
| |
13:09 | <crazed> basically two offices, one ltsp in each, i want dhcp to fail over to the one not in that office if things go bad
| |
13:11 | <alkisg> Both on the same subnet?
| |
13:14 | shogunx has quit IRC | |
13:16 | <crazed> yeah
| |
13:17 | they share a dhcp server
| |
13:17 | <alkisg> And how do you separate clients? With mac?
| |
13:17 | <crazed> currently yes, each one basically gets a static ip via mac
| |
13:18 | <alkisg> And that dhcp server is one of the ltsp servers? Or a different machine?
| |
13:18 | shogunx has joined #ltsp | |
13:18 | <crazed> different machine
| |
13:18 | it's the nfs server that has the home dirs
| |
13:19 | bobby_C has quit IRC | |
13:21 | <alkisg> So currently if the first LDM_SERVER is down, LTSP doesn't connect to the second one?
| |
13:21 | <crazed> i really don't know, i haven't been able to test that
| |
13:21 | systems are in use 24/7 too hard to just shut one down
| |
13:22 | oh it wouldnt' anyway
| |
13:22 | cuz dhcp points to one of the servers
| |
13:22 | if that servers down, pxe boot will fail
| |
13:22 | <robehend1> alkisg: hmm. Now the client is just hanging on the plymouth "ubuntu" screen
| |
13:23 | <alkisg> robehend1: remove "quiet splash" from kiosk/pxelinux.cfg/default
| |
13:24 | crazed: well... since ltsp doesn't support it out of the box, I'd use a proxy dhcp for the pxe boot so that pxe works even if one of the servers are down, and then make a small script that selects the server with the lower load
| |
13:25 | I.e. dhcp/nfs server = doesn't send a boot filename, server1 = sends a proxy offer, server2 = sends a proxy offer
| |
13:26 | That would work even if one of them is down, so you next need a script for load balancing
| |
13:26 | That would query with nc both of the servers, and use the one with the lower load
| |
13:26 | <crazed> i understand the proxy offer part, but how would i make sure server1 responds first for X range vs Y range
| |
13:26 | <alkisg> Randomly, you don't care about the pxe boot, it's got a very low overhead
| |
13:27 | If you use an initramfs load balancer, then you select the server with the lower load very early
| |
13:27 | <crazed> i guess the main issue is latency
| |
13:27 | i'd rather have those in office1 get the server in that office
| |
13:27 | <alkisg> You can do anything with the script
| |
13:28 | <crazed> oh
| |
13:28 | i think i see what you're saying
| |
13:28 | don't care which pxe server is used, then have ldm do the choosing of which server should be logged into
| |
13:28 | with a script
| |
13:29 | that's not a bad solution
| |
13:29 | <alkisg> No, not ldm
| |
13:29 | Before that, to also do nbd balancing
| |
13:29 | I.e. a client loads the kernel+initrd
| |
13:29 | <crazed> hm
| |
13:29 | <alkisg> The initrd contains a load balancing script
| |
13:30 | And selects the nbd server you want, with an algorithm you defined
| |
13:30 | I.e. "prefer the office server, or fall back to the other one if it's down"
| |
13:30 | <robehend1> alkisg: i'm getting alot of " INFO task **** blocked for more than 120 seconds" messages.
| |
13:30 | <alkisg> So when the client reaches ldm, it'll already be in the correct server
| |
13:30 | robehend1: before that
| |
13:31 | <robehend1> console: switching to colour frame buffer device 128x48
| |
13:31 | <alkisg> Any error messages before? E.g. something for eth0?
| |
13:31 | <robehend1> before that was more, but the screen cleared itself to just that before i could type it all down
| |
13:31 | <alkisg> robehend1: try replacing (the deleted) quiet splash with "break=bottom"
| |
13:31 | <robehend1> kk
| |
13:33 | alkisg: ok, weird. did that, and it loads up fast again, goes to the colour error, and now a busybox shell
| |
13:33 | <alkisg> robehend1: ls /root
| |
13:33 | Does it have anything there?
| |
13:33 | Colour error?
| |
13:34 | <robehend1> er, my bad, colour frame switch
| |
13:34 | and ls /root gives me all the normal usr srv root mnt home etc
| |
13:34 | <alkisg> OK, nbd root was mounted, press ctrl+d to continue...
| |
13:35 | <robehend1> i do see a "hangup" message
| |
13:35 | hangup [3.330471[ nbd0:negotiation: ..size = 569132kb bs=1024 sz=569132
| |
13:36 | then "unknown partition table" folleod by Begin: Running /scripts/nfs-bottom ... done. done.
| |
13:36 | <alkisg> Hm, not sure about that hangup
| |
13:36 | Are you using nbd-proxy?
| |
13:36 | <robehend1> i believe so
| |
13:37 | <alkisg> So after all that, you're getting the nbd blocked errors?
| |
13:37 | <robehend1> wait, no. since nbd_proxy=false in pxelinux.cfg/default
| |
13:37 | <alkisg> Is that correctly written?
| |
13:37 | <robehend1> is it supposed to be nbd-proxy=false?
| |
13:37 | <alkisg> nbd_proxy=false
| |
13:37 | But you had nbd_proxy-false
| |
13:38 | <robehend1> ya, i fixed that
| |
13:38 | and yes, now i'm getting task blocked errors, this time Modprobe
| |
13:38 | <alkisg> OK, reboot again, and again with the break=bottom parameter
| |
13:38 | On busybox, do: ps -ef|grep nbd
| |
13:38 | And see if nbd-proxy is loaded
| |
13:39 | <robehend1> alright. thanks for all the help, by the way. i'd be lost without it
| |
13:39 | it does see the nbd-proxy as the right server and port
| |
13:40 | also has nbd-client as 127.0.0.1 which makes sense..
| |
13:40 | <alkisg> If you disabled nbd-proxy, it wouldn't be there though
| |
13:40 | cat /proc/cmdline
| |
13:41 | And pastebin kiosk/pxelinux.cfg/default
| |
13:41 | <robehend1> ro initrd=initrd.img break=bottom nbd_proxy=false nbdport=2004 BOOT_IMAGE=vmlinuz
| |
13:42 | <alkisg> Hmmm ah you have 10.04
| |
13:42 | You need to apply the patch
| |
13:42 | https://bugs.launchpad.net/ltsp/+bug/589034
| |
13:42 | <robehend1> oh?
| |
13:42 | <alkisg> Yeah nbd-proxy was causing problems for us too so I added an option to disable it, but that didn't get into lucid on time, it's maverick +
| |
13:42 | <robehend1> ah, i see your post
| |
13:43 | <alkisg> So for lucid a patch is needed
| |
13:43 | <robehend1> see, i'm remembering you helping me with this on my i386 chroot, makes sense i'd have to do it here too..
| |
13:44 | * alkisg wishes nbd-proxy was only enabled for cluster setups... it doesn't help on normal setups, just causes problems :( | |
13:44 | <alkisg> E.g. part of an ltsp-cluster package
| |
13:44 | <robehend1> but then you wouldnt get this question 4 times amonth
| |
13:44 | <alkisg> :D
| |
13:46 | <robehend1> almost finished here. dislike working with only 1 monitor
| |
13:47 | <m4xx> then why not run 2
| |
13:47 | <robehend1> all pci slots full on this mobo
| |
13:48 | <m4xx> get a new card with 2 outputs =P
| |
13:48 | unless you're using onboard right now and all slots are full
| |
13:48 | <robehend1> i'm using the intregrated, sadly
| |
13:48 | and all slots are full :(
| |
13:48 | <m4xx> that sucks ;[
| |
13:48 | <robehend1> meh, i've been wanting a reason to build a better station
| |
13:49 | espicially with Sandybridge now..
| |
13:50 | alkisg: applied the path, rebooted the client, and now am faced with a pure black screen.
| |
13:50 | <alkisg> robehend1: what was the last thing you saw?
| |
13:50 | <robehend1> ooo wait! i must have mistyped the nbd_proxy=false in the ltsp-update-image file, as it went back to that. rebooting
| |
13:53 | hmm, no luck
| |
13:54 | alkisg: last thing i saw was the pxestack loading initrd.img
| |
13:54 | GodFather has joined #ltsp | |
13:56 | <alkisg> robehend1: erm, this takes too long... :-/ if you don't find what went wrong (maybe update-initramfs?), I could help with a shared console or vnc session to solve this faster...
| |
13:57 | <robehend1> more than happy to do that, if its possible
| |
13:57 | <alkisg> Sure, gimme 5' to end another chat...
| |
13:57 | <robehend1> not a problem at all.
| |
14:02 | alkisg: new update. with "quiet splash" removed, i'm getting a kernel panic - not syncing: attempted to kill init! message
| |
14:03 | <alkisg> robehend1: Maybe you didn't apply the patch correctly?
| |
14:03 | OK let's try vnc...
| |
14:03 | <robehend1> alrighty
| |
14:03 | <alkisg> sudo apt-get install x11vnc
| |
14:04 | x11vnc -connect alkisg.dyndns.org
| |
14:04 | GodFather has quit IRC | |
14:04 | <alkisg> From the server, and open a terminal and run sudo -i in it
| |
14:04 | <robehend1> do i need to be logged locally into the machine for this? I'm ssh'd in, its headless in a closet across the building
| |
14:05 | <alkisg> No, that should also work
| |
14:05 | <robehend1> alrigh, it looks like it connected
| |
14:06 | <alkisg> Nope
| |
14:06 | Mava has quit IRC | |
14:06 | <alkisg> You're using a thin client or a standalone machine?
| |
14:06 | <robehend1> standalone
| |
14:06 | <alkisg> For a standalone machine, you need x11vnc on that machine
| |
14:06 | Not on the ltsp server
| |
14:06 | <robehend1> ah..
| |
14:06 | <alkisg> I.e. open another terminal and do that
| |
14:06 | <robehend1> i was trying to cnnect from the server, hence the confusion
| |
14:06 | <alkisg> Yup, no X there
| |
14:07 | <robehend1> alright, just a moment then
| |
14:08 | <alkisg> ok, got it
| |
14:08 | <robehend1> alright, the other tab there is already logged into the server and sudo -l 'd
| |
14:08 | <alkisg> Urm that won't work, painfully slow
| |
14:09 | Let me get you the command to share a console...
| |
14:09 | <robehend1> ya, in the back office, 10 MB/s switch here
| |
14:09 | <alkisg> (what's your internet upload speed? works fine with 256kbps upload)
| |
14:09 | <robehend1> 6mb/6mb, but its a school, so more than likely about 5 is being used at the moment, if not 5.8mb
| |
14:10 | <alkisg> OK. Now, on the server (the ssh session), run: sudo apt-get --yes install screen socat
| |
14:11 | <robehend1> alredy, downloadin
| |
14:11 | er, alrighty. what am i, drunk at spelling today
| |
14:11 | <alkisg> Then: socat SYSTEM:"sleep 1 && exec screen -x",pty,stderr tcp:alkisg.dyndns.org:5500 & exec screen -l
| |
14:11 | Those should get us a shared console....
| |
14:11 | <robehend1> there, put it in
| |
14:12 | <alkisg> nice
| |
14:12 | <robehend1> i see it. we're golden
| |
14:12 | <alkisg> Erm, ltsp10?
| |
14:12 | That's a server?
| |
14:12 | <robehend1> for 2010
| |
14:12 | <alkisg> ok
| |
14:12 | <robehend1> my other servers are named thor/odin/loki and in the Ragnarok domain ;)
| |
14:13 | <alkisg> robehend1: see? you downloaded a web page instead of the ltsp_nbd script..
| |
14:13 | <robehend1> oh jeeze
| |
14:14 | that would make sense with it having a kernel panic..
| |
14:19 | <alkisg> robehend1: ok, fix the port and try to boot a client
| |
14:20 | <robehend1> alkisg: bootin
| |
14:20 | alkisg: also, i really neard to learn vi..
| |
14:20 | ..and normal spelling..
| |
14:20 | * alkisg hates vi :D | |
14:21 | <robehend1> emacs or nano are my faves :D
| |
14:21 | <alkisg> I'm using mceditor, reminds me of dos days :D
| |
14:21 | <robehend1> tried that once, but it gave me horrible flashpacks of win 3.1
| |
14:21 | eww, error. Invalid arguement for -config
| |
14:21 | <alkisg> I hate not being able to select text with shift+arrows and then copy/paste it easily...
| |
14:22 | <robehend1> agreed
| |
14:22 | <alkisg> So nano is not enough, and I can't learn the vi shortcuts, I already know 3456 of them, more won't fit in my old mind :(
| |
14:22 | <robehend1> haha
| |
14:22 | Emacs! Macro it to death1
| |
14:23 | it appears to be stuck in a loop with a fatal X.org error, saying "Invalid argument for -config" for non-root users. the file secified with -config must be a relative path and must not contain any ".." elements. Using default xorg.conf search path
| |
14:24 | <alkisg> OK, at least we're past the initramfs/nbd problems
| |
14:24 | Now to your lts.conf... what do you have there?
| |
14:24 | <robehend1> always a bonus
| |
14:24 | <alkisg> /ltsp/kiosk/lts.conf
| |
14:24 | pastebin
| |
14:24 | heh
| |
14:24 | <robehend1> moment
| |
14:24 | <alkisg> or let me see for myself :D
| |
14:24 | <m4xx> do i need to do anything on the chroot to get italc to work?
| |
14:24 | <robehend1> m4xx: hope and pray it stays up for more than 2 boots ;)
| |
14:25 | <alkisg> m4xx: there are 2 ways to install it, the first and easy one is "apt-get install italc-master && logoff both the teacher and the students"
| |
14:25 | So in that one you don't need anything in the chroot
| |
14:25 | eddiek has joined #ltsp | |
14:26 | komunista has joined #ltsp | |
14:26 | <alkisg> robehend1: replace those || commends in lts.conf with # comments
| |
14:26 | || is a command separator, not a comment
| |
14:27 | <robehend1> alright, moment
| |
14:27 | <alkisg> Or better yet put them above the var=value lines
| |
14:27 | bbiab
| |
14:27 | <robehend1> wait
| |
14:27 | thats the wrong lts.conf
| |
14:28 | GodFather has joined #ltsp | |
14:29 | <alkisg> robehend1: try "getltscfg -a" from a *local* shell on the kiosk thin client
| |
14:29 | <robehend1> alright. i can do that by setting SCREEN_08 = shell, correct?
| |
14:30 | <alkisg> right
| |
14:30 | <eddiek> hello anyone
| |
14:31 | <robehend1> eddiek: hello
| |
14:31 | <eddiek> hi. im new here
| |
14:31 | <robehend1> Welcome!
| |
14:31 | <eddiek> just setup ubuntu 10.10 for the first time with LTSP.
| |
14:31 | <robehend1> alkisg: SCREEN_08="shell" export SCREEN_08
| |
14:32 | alkisg: which is also all thats in my lts.conf atm
| |
14:32 | <m4xx> i suggest using 10.04
| |
14:32 | <eddiek> thanks for the Welcome!
| |
14:33 | its running under vmware. i am now chatting from the thin client.
| |
14:33 | <alkisg> robehend1: looks ok, so it must be a problem with the kiosk plugin (or your kiosk-related setup), trying to run X as user or something...
| |
14:34 | chupacabra has quit IRC | |
14:34 | <robehend1> robehend1: hmm, alright. beginning to think it might be easier to teach kindergarteners just how to login..
| |
14:34 | <eddiek> i would like to setup a client side browser to improve the graphical performance of the browser and flash
| |
14:35 | <alkisg> robehend1: heh, "guest logins" work fine for that, they just need to click a button. Or you could even use autologin
| |
14:35 | But until here, it was not kiosk related...
| |
14:35 | nbd-proxy and wget/launchpad problems
| |
14:35 | <robehend1> alkisg: true. but i liked the auto fullscreen firefox thing to, as the kids are good at destroying any desktop i give them
| |
14:36 | <eddiek> can anyone advice me what to do?
| |
14:36 | <alkisg> robehend1: well you could use a dedicated session that just launches firefox, no desktop, but since you got it up to here, maybe you should try the kiosk plugin a little more
| |
14:36 | <robehend1> eddiek: what your looking for is local apps
| |
14:36 | <alkisg> eddiek: client specs, cpu/ram?
| |
14:39 | bobby_C has joined #ltsp | |
14:39 | <eddiek> well currently the thin client is a core2due laptop. the server is a vmware machine running on my other PC. I have only been using Linux for 2 weeks properly so am very very new to all this. I am testing with these 2 devices right now. does that help?
| |
14:40 | <alkisg> If your target clients are just as good, you could also use fat clients
| |
14:40 | Those behave like if they had the OS installed locally
| |
14:40 | <eddiek> the server has 1GB RAM assigned. That pc is a core2duo PC too.
| |
14:40 | <robehend1> eddiek: take a look at https://help.ubuntu.com/community/UbuntuLTSP/LTSPLocalAppsJaunty, as well as the other parts of the wiki page. it helps tons!
| |
14:41 | <alkisg> For a simple, quick speed up with your current setup, you could also put LDM_DIRECTX=True in lts.conf, that gives speed at the cost of security
| |
14:42 | !lts.conf
| |
14:42 | <ltspbot> alkisg: "lts.conf" :: http://manpages.ubuntu.com/lts.conf
| |
14:42 | <eddiek> OK I will thanks. when u say fat clients does this mean files are stored on the hd of the client devices or is it streamed over the network at boot time?
| |
14:42 | <robehend1> streamed at boot
| |
14:42 | <alkisg> Streamed over the network, but of course not all of them, just the parts that the client needs to read each time
| |
14:42 | <eddiek> where do i find the lts.conf file?
| |
14:42 | <robehend1> eddiek: you must create it
| |
14:43 | <eddiek> where?
| |
14:43 | <robehend1> /var/lib/tftpboot/ltsp/*your chroot name here*/
| |
14:44 | <alkisg> !fatclients
| |
14:44 | <ltspbot> alkisg: "fatclients" :: You may find some info about the Ubuntu/LTSP implementation of fat clients at https://help.ubuntu.com/community/UbuntuLTSP/FatClients
| |
14:44 | GodFather has quit IRC | |
14:44 | <eddiek> i suppose i better read that link then. Just one more thing. this chroot business, is this where all the files the thin clients use to work?
| |
14:45 | are stored
| |
14:46 | <alkisg> No, just for booting
| |
14:46 | After they login they use the server files / home dir
| |
14:46 | But for fat clients they use the chroot apps, and the server /home dir
| |
14:47 | <eddiek> so i no point do I need to format the disk on the clients to get this working. just switch them to pxe boot?
| |
14:47 | <alkisg> Right
| |
14:48 | If you have a fat chroot, you can server thin clients, fat clients or localapps, and change those on the fly
| |
14:48 | It just takes some extra time to build it
| |
14:48 | *serve
| |
14:49 | E.g. many labs here have 6 fat and 6 thin clients, served from the same chroot
| |
14:49 | GodFather has joined #ltsp | |
14:51 | AndroUser2 has joined #ltsp | |
14:52 | <robehend1> alkisg: i believe this xorg error is part of the kiosk plugin, as running it with a blank lts.conf works exactly as expected
| |
14:52 | i.e. bootup, Ubuntu LDM splash, login, gnome
| |
14:53 | Da-Geek has quit IRC | |
14:53 | <eddiek> ok i get it ....i think. thanks for the help
| |
14:54 | GodFather has quit IRC | |
14:57 | AndroUser2 has quit IRC | |
15:05 | <alkisg> robehend1: the kiosk plugin runs this line: su - ${KIOSKUSER} -c "XINITRC_DAEMON=${XINITRC_DAEMON} xinit $xinitrc /usr/share/ltsp/kioskSession ${KIOSK_EXE} ${KIOSK_OPTIONS} -- ${DISPLAY} vt${TTY} ${X_ARGS} -br" >/dev/null
| |
15:05 | Can you run `ps -ef | grep vt` from SCREEN_02 to capture the exact command used?
| |
15:06 | <robehend1> sure, let me loggin fast
| |
15:06 | alkisg: will a standard localapps xterm work, as well, btw?
| |
15:07 | <alkisg> robehend1: I mean when you have SCREEN_07=kiosk, so I suppose you can't get a localapps xterm there, unless you *also* had SCREEN_0x=ldm
| |
15:07 | <Gadi> robehend1: hey, sorry - I have been slammed all day
| |
15:07 | <robehend1> alkisg: i pulled SCREEN_07=kiosk out, to make sure the client booted. i've got a standard thinclient desktop
| |
15:07 | oh, i get it
| |
15:07 | lemme reboot that again then ha
| |
15:07 | * alkisg backsteps a bit and leaves the xorg stuff to Gadi... :D | |
15:07 | <Gadi> robehend1: you might want to change that last line that alkisg posted to: su - ${KIOSKUSER} -c "XINITRC_DAEMON=${XINITRC_DAEMON} xinit $xinitrc /usr/share/ltsp/kioskSession ${KIOSK_EXE} ${KIOSK_OPTIONS} -- ${DISPLAY} vt${TTY} ${X_ARGS} -br" >/dev/null
| |
15:07 | * alkisg also gets some vodka + pop corn :P | |
15:08 | <robehend1> vodka? but..but..scotch..
| |
15:08 | * Gadi is still trying to get something shipped, so I am only part here | |
15:08 | <Gadi> :)
| |
15:08 | <robehend1> Gadi: I'm getting a fatal warning that it cant find a --config file as a nonroot user, when using the kiosk plugin. the error is from xorg
| |
15:08 | <Gadi> robehend1: you might want to change that last line that alkisg posted to: su - ${KIOSKUSER} -c "XINITRC_DAEMON=${XINITRC_DAEMON} xinit $xinitrc /usr/share/ltsp/kioskSession ${KIOSK_EXE} ${KIOSK_OPTIONS} -- ${DISPLAY} vt${TTY} ${X_ARGS} -br" >/dev/null
| |
15:08 | <alkisg> Well if I had any pure scotch whiskey I'd reconsider :)
| |
15:09 | <Gadi> mm... scotch
| |
15:09 | <m4xx> i've just installed itacl and am getting the error "No authentication-keys were found or your old ones were broken. Please create a new key-pair using ICA (see documentation at ...)"
| |
15:09 | the page they pointed to no longer exists =\
| |
15:09 | <alkisg> m4xx: did you log off and then back on, both on the "teacher" account and the "student" account?
| |
15:10 | <m4xx> yes
| |
15:10 | <Gadi> robehend1: sorry, I meant replace with: xinit $xinitrc nice -n -20 sudo -u ${KIOSKUSER} -H /usr/share/ltsp/kioskSession ${KIOSK_EXE} ${KIOSK_OPTIONS} -- ${DISPLAY} vt${TTY} ${X_ARGS} -br >/dev/null 2>&1
| |
15:10 | <m4xx> i even rebooted
| |
15:10 | i'll try again
| |
15:10 | <alkisg> m4xx: how did you install italc?
| |
15:10 | <m4xx> apt-get install italc-master
| |
15:10 | <robehend1> Gadi: no problem, let me get this all going here
| |
15:10 | <alkisg> m4xx: distro/version?
| |
15:10 | <m4xx> ubuntu 10.04
| |
15:11 | <alkisg> m4xx: do you have an /etc/italc/keys directory?
| |
15:11 | (or something similar, it's been a year since I've stopped using italc, too buggy...)
| |
15:11 | <m4xx> yes
| |
15:11 | <robehend1> Gadi: wil l i need to update the chroot after adding that?
| |
15:11 | <m4xx> alkisg: is there osmething you use in it's substitute?
| |
15:11 | <alkisg> m4xx: Put the result of this command to pastebin: ls -lha -R /etc/italc/keys
| |
15:12 | m4xx: we developed something for greek schools, and it's much better, but it's not ready for i18n use yet
| |
15:12 | We hope to have it ready for 12.04
| |
15:12 | <Gadi> robehend1: yup
| |
15:13 | <robehend1> alrighty, fingers crossed
| |
15:13 | <m4xx> alkisg: http://ltsp.pastebin.us/1939
| |
15:14 | <alkisg> m4xx: seem ok, is the "teacher" in the admin group?
| |
15:14 | alexqwesa has quit IRC | |
15:15 | <robehend1> Gadi: seems to just hang after *Starting LTSP client ..... [OK]
| |
15:15 | <m4xx> is now
| |
15:15 | lemme logout and log back in
| |
15:15 | <alkisg> right
| |
15:16 | <m4xx> you're the man =]
| |
15:16 | <alkisg> Just hope it doesn't crash every few minutes for you :)
| |
15:17 | <robehend1> did for me :(
| |
15:18 | alexqwesa has joined #ltsp | |
15:18 | <m4xx> what do you do to get it to crash?
| |
15:19 | <robehend1> use it
| |
15:19 | open a client to view it, attempt to lock screens, attempt to send a text message, you name it, i've had it crash
| |
15:20 | <alkisg> For 20% of the labs here, it works ok, for 60% it randomly "loses clients" every few minutes (i.e. the client ica process crashes), and for the other 20% it segfaults in the first few seconds
| |
15:20 | (approximate numbers of course)
| |
15:21 | Gadi has left #ltsp | |
15:21 | <alkisg> I tried to get help from upstream but I got no repy
| |
15:21 | *reply
| |
15:22 | <m4xx> seems to work ok with my one client
| |
15:24 | <eddiek> Is it OK to do all the configuration from the thin client? or should i go to the server?
| |
15:25 | kohen has joined #ltsp | |
15:25 | <robehend1> eddiek: what kind of configuration?
| |
15:25 | <kohen> hi
| |
15:25 | <robehend1> kohen: hello
| |
15:25 | <alkisg> eddiek: when you login on a thin client, you *are* on the server, so it's OK - except for some little things like users-admin (the user manager) which have problems
| |
15:26 | *may
| |
15:26 | <kohen> i want to set up a ltsp cluster
| |
15:26 | i have ubuntu 10.04.1 desktop i386
| |
15:26 | <m4xx> if i install italc-client in the chroot, would i be able to connect to the thinclient when no user is logged in?
| |
15:26 | <robehend1> kohen: what kind of clients are you looking to use? cpu/ram?
| |
15:27 | <alkisg> m4xx: yes, but it's a little trickier to get it to work like this, follow the wiki page, I've never done that
| |
15:27 | <kohen> and i want to ask can i use LTSP-Cluster on OpenVZ tutorial on my system ?
| |
15:27 | <m4xx> the wiki page is no more =[
| |
15:27 | <robehend1> m4xx: i tried that wiki page. never got it to work
| |
15:27 | <eddiek> thanks
| |
15:27 | <m4xx> n/m
| |
15:27 | <alkisg> m4xx: https://help.ubuntu.com/community/UbuntuLTSP/iTalc
| |
15:27 | <m4xx> google is my friend
| |
15:28 | <kohen> it will be work ?
| |
15:28 | <evil_root> kohen i would recommend ESXI vs OpenVZ
| |
15:29 | <kohen> but i have tutorial to open vz
| |
15:30 | and i think i will have problem with esxi
| |
15:30 | <robehend1> kohen: most of whats in that tutorial should apply over to esxi.
| |
15:30 | <kohen> but i have one notebook
| |
15:30 | <evil_root> um
| |
15:30 | <kohen> esxi is a system which i must controll from other computer
| |
15:31 | <evil_root> you want to setup an ltsp cluster on the notebook?
| |
15:31 | <kohen> its that right ?
| |
15:31 | only for tests
| |
15:31 | <evil_root> you control the esxi host via a client yes, that means you configure you VM's and turn them off and on via a client
| |
15:33 | <kohen> so if open vz not what will be the best solution
| |
15:33 | ?
| |
15:33 | to understand ltsp-cluster
| |
15:33 | and establish the simplest enviroment
| |
15:33 | with one root serv , one app , and thin client
| |
15:34 | <robehend1> kohen: I'd just do it in virtualbox, myself.
| |
15:34 | <evil_root> what he said^^^
| |
15:34 | <robehend1> kohen: but thats completely based off of my personal bias for using virtualbox as a testing ground, as well as being familiar with it
| |
15:35 | <evil_root> and i am bias towards ESXI for the same reason
| |
15:35 | <kohen> so what do you recommend?
| |
15:36 | <evil_root> you said the cluster is going on a laptop?
| |
15:36 | <m4xx> anyone know of a fix for ltsp-manager window being blank upon loading?
| |
15:36 | <kohen> yes
| |
15:36 | <evil_root> virtualbox
| |
15:36 | [GuS] has joined #ltsp | |
15:36 | <kohen> ok so i choose virtual box
| |
15:37 | <evil_root> good choice
| |
15:37 | but if you get an actual server to ever play on, hands down use ESXI
| |
15:37 | <kohen> i want to learn whole enivroment and then test it on real server
| |
15:39 | do you help me with this because i think i will have a problem ;)
| |
15:39 | <m4xx> virtualbox is pretty easy to use
| |
15:40 | <kohen> the first problem it will a network cards
| |
15:40 | <alkisg> m4xx: ltsp-manager is unmaintained, don't waste your time with it
| |
15:40 | <muppis> knipwim, I got that part working already. I meant tftp settings per mac.
| |
15:40 | <kohen> my laptop is connected to the internet by wifi and eth0 is free
| |
15:41 | so first virtual machine it will be a server thats right ?
| |
15:41 | <alkisg> m4xx: italc is the best option, and if that doesn't work, then plain old x11vnc
| |
15:41 | <muppis> kohen, yes.
| |
15:41 | <alkisg> (or vino-server/vinagre)
| |
15:42 | <kohen> so i install ubuntu 10.04.1 server edition with open ssh option
| |
15:43 | but what configuration of network cards in this machine should i use ?
| |
15:43 | <evil_root> the wifi be the internet side and the enet be the LAN side
| |
15:45 | <kohen> be right back
| |
15:46 | <muppis> Is it possible have multiple tftp setting in dnsmasq assinge by per mac?
| |
15:47 | kohen_ has joined #ltsp | |
15:48 | <alkisg> muppis: tftp settings? you mean the boot filename?
| |
15:49 | <muppis> alkisg, yes.
| |
15:49 | <alkisg> Sure
| |
15:49 | <muppis> Good.
| |
15:49 | kohen has quit IRC | |
15:50 | <alkisg> muppis: I think it's like this: dhcp-mac=lab1,12:34:56:78:00:01
| |
15:50 | This way you "mark" a client, and then use the lab1 prefix in the bootfilename option
| |
15:51 | <muppis> Ok, thanks. I'll try that at tomorrow.
| |
15:51 | <alkisg> dhcp-boot=lab1,filename
| |
15:55 | kohen_ has quit IRC | |
15:55 | <muppis> I should be sleeping right now. Alarm set to 05:00, but not feeling sleepy at all.
| |
15:58 | kohen_ has joined #ltsp | |
16:09 | <robehend1> alkisg: turns out gadi's magical xorg fix didnt work :(
| |
16:10 | <alkisg> Wheee, that took a while :)
| |
16:10 | Lots of problems to get there
| |
16:10 | Don't forget to enable nbd_swap to prevents clients from crashing in heavy sites
| |
16:11 | Oh
| |
16:11 | "didn't" :)
| |
16:11 | * alkisg needs to go to sleep :D | |
16:11 | <robehend1> alkisg: yep, still wants ltspkiosk to be a root user. weird
| |
16:11 | <alkisg> So did you get that "su" line?
| |
16:11 | <robehend1> mhmm, i added the one Gadi posted
| |
16:12 | xinit $xinitrc nice -n -20 sudo -u ${KIOSKUSER} -H /usr/share/ltsp/kioskSession ${KIOSK_EXE} ${KIOSK_OPTIONS} -- ${DISPLAY} vt${TTY} ${X_ARGS} -br >/dev/null 2>&1
| |
16:13 | <alkisg> It'd be nice to see what that actually translates to
| |
16:13 | <robehend1> but it just hangs Starting LTSP Client ......[ok]
| |
16:13 | agreed
| |
16:13 | <alkisg> The original one
| |
16:13 | <robehend1> also agreed
| |
16:14 | <alkisg> One quick way to make changes, without running ltsp-update-image:
| |
16:14 | put "break=bottom", and from the busybox shell, run:
| |
16:14 | sudo chroot /root
| |
16:14 | vi <file>, edit, save etc
| |
16:14 | exit
| |
16:14 | exit
| |
16:14 | <robehend1> hmm, ok..
| |
16:15 | Da-Geek has joined #ltsp | |
16:16 | <robehend1> luckily, ltsp-update-image runs pretty fast for this chroot, since its so lite. 30 seconds or so
| |
16:16 | <alkisg> Ah np then
| |
16:17 | <robehend1> bah. i'm tempted to just make the KioskUser variable point to root, to see if it works
| |
16:19 | alkisg: setting the kioskuser to root provides a different error
| |
16:19 | alkisg: mostly that it cant find the /usr/share/ltsp/kiosksession file
| |
16:19 | perhaps cuz its not there..
| |
16:19 | <alkisg> It's not? Isn't that a kiosk chroot?
| |
16:20 | <robehend1> yep, built it via the kiosk setup
| |
16:20 | <alkisg> And the file isn't there?
| |
16:20 | <robehend1> nope, its not
| |
16:21 | which doesnt make sense to me.
| |
16:21 | but then again, not much has today
| |
16:21 | <alkisg> Packaging problem then... get it from bzr
| |
16:22 | <robehend1> kk
| |
16:22 | <alkisg> http://packages.debian.org/sid/i386/ltsp-client-core/filelist
| |
16:22 | <robehend1> ha, am i gonna have to fight with wget and launchpad again?
| |
16:23 | <alkisg> vs http://packages.ubuntu.com/lucid/i386/ltsp-client-core/filelist
| |
16:23 | It was included later, it's there in natty http://packages.ubuntu.com/natty/i386/ltsp-client-core/filelist
| |
16:23 | <robehend1> ah, ok. where do I find this bzr to grab it? not familiar
| |
16:24 | <alkisg> !ltsp-source
| |
16:24 | <ltspbot> alkisg: "ltsp-source" :: at http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/files
| |
16:24 | <robehend1> ah, thanks
| |
16:25 | <alkisg> good luck, and good night :)
| |
16:25 | <robehend1> ha see ya
| |
16:25 | alkisg has quit IRC | |
16:25 | eddiek has left #ltsp | |
16:29 | Da-Geek has quit IRC | |
16:29 | robbie72 has joined #ltsp | |
16:32 | artista_frustrad has joined #ltsp | |
16:45 | artista_frustrad has quit IRC | |
16:47 | chupacabra has joined #ltsp | |
16:58 | artista_frustrad has joined #ltsp | |
17:10 | Appiah has quit IRC | |
17:25 | bobby_C has quit IRC | |
17:43 | ogra has quit IRC | |
18:05 | kohen_ has quit IRC | |
18:06 | kohen has joined #ltsp | |
18:08 | otavio has quit IRC | |
18:12 | evil_root is now known as zz_evil_root | |
18:15 | kohen has left #ltsp | |
18:34 | artista_frustrad has quit IRC | |
18:36 | staffencasa has quit IRC | |
18:47 | artista_frustrad has joined #ltsp | |
19:06 | komunista has quit IRC | |
19:07 | [GuS] has quit IRC | |
19:15 | vagrantc has quit IRC | |
20:02 | shawnp0wers has joined #ltsp | |
20:04 | shawnp0wers has quit IRC | |
20:09 | chupacabra has quit IRC | |
21:32 | chupacabra has joined #ltsp | |
22:25 | chupacabra has quit IRC | |
22:55 | ltspbot has joined #ltsp | |
23:06 | MorningSon has quit IRC | |
23:43 | chupacabra has quit IRC | |
23:44 | chupacabra has joined #ltsp | |