/srv/irclogs.ubuntu.com/2011/08/23/#edubuntu.txt

=== ubott2 is now known as ubottu
=== nhandler_ is now known as nhandler
dgroosGood Morning!12:55
highvoltagegood morning dgroos12:55
dgrooshighvoltage: how are things 'up north'?12:56
dgroos(and east, technically)12:56
highvoltagedgroos: good and there?12:58
jbichahighvoltage: I was looking for an edubuntu developer to make a decision on bug 69229513:00
ubottuLaunchpad bug 692295 in Baltix "[FFe] Update gcompris to 9.6.1" [Undecided,New] https://launchpad.net/bugs/69229513:00
dgroosPretty good.  First day for teachers was yesterday and even though I'm not a teacher this year (on a study leave this year) I was back in class.13:00
highvoltageI saw that in my inbox and I've been meaning to comment on it13:00
jbichaI'm probably just too impatient...13:00
dgroosI'm supporting the teachers using the classroom set ups with computers.13:00
dgroosalkisg: ping13:01
highvoltagejbicha: not at all, I just have too many distractions13:01
highvoltagedgroos: oh great!13:02
dgrooshighvoltage: is it just my reader or have your blog posts on edubuntu been, well, truncated?13:03
highvoltagedgroos: I think I've been hit by some wordpress bug, sometimes my feed gets truncated. I should probably look into that... :)13:04
dgrooswordpress is kinda like that...13:05
alkisgor here, dgroos: pong :D14:29
dgroosalkisg: howdy14:35
alkisgHey dgroos, how are you?14:36
dgroospretty good/pretty busy14:36
dgroosAnd yourself?14:36
alkisgExactly the same :)14:37
dgroos:)14:37
dgroosI'm taking this year off so that I can concentrate on my dissertation but I'm also supporting 'my' teachers. :)14:38
dgroosI want to install sch-scripts into the new fat client on which I'm working.14:38
dgroosThe image is on the server I used last year though I did delete the thin client image.14:39
dgroosI already installed the client and am wondering about the server sch-scripts app.14:40
dgroosHow can I launch it if I can't gain super-user permissions?14:41
dgroos(I saw you say on a forum that you can't sudo with fat clients).14:41
alkisgdgroos: the sch-scripts client connects to the sch-daemon network service through a server socket in /var/...14:42
alkisgA fat client doesn't have access to that socket14:42
alkisgSo, even if you could sudo, you wouldn't access the sch-daemon, so sch-scripts wouldn't work14:42
alkisgSo the teacher needs to either sit on the server, or on a thin client14:42
alkisgThe sch-scripts GUI won't work if it's ran from a fat client14:43
alkisgSo, the best you can do, is to ssh -X or vnc to the server, and run sch-scripts from there. Or to use a thin client for the teacher. Or something similar.14:44
dgroosThat was it--I thought you were running it from a fat client but it was from the server...14:44
alkisgOr to use remoteapps14:44
alkisgMaybe that last is the best option14:44
dgrooshmmm remoteapps--I'll look it up.  Thanks!  I'll come back with a question, perhaps :)14:45
alkisgdgroos: markit wants to sponsor an i18n sch-scripts version, we may have a new i18n sch-scripts version soon14:46
dgroos:D congrats and great and thanks!14:47
dgroosalkisg: and, if I can help with the translation en_us let me know, I'd like to help.15:10
alkisgdgroos: very nice, I'll tell the other dev doing the i18n to send you the translations for proof-reading15:11
alkisgAs our english of course are not good enough for main language :)15:11
dgroosalso, I could help during the end of Dec with Spanish as I'll be with my Guatemalan-inlaws who could help.15:11
dgroosI say again yer English is good very! than mine. :)15:12
alkisgSounds good too, but it might be better for the first spanish teacher that actually uses the program, to do the translation too15:12
dgroossure.15:12
alkisg(translations need maintanance over time, as anything else in the software world)15:13
dgroos(as I experienced!  Just let me know)15:14
dgroosI've had no luck finding any info on how to use ltsp-remoteapps.  Do I just type: "ltsp-remoteapps sch-scripts"?15:15
dgroos(I'm backing up my server at the moment and can't test.)15:15
alkisgYou also need some lts.conf setting about remoteapps15:15
alkisgLet me find the exact name...15:15
alkisgREMOTE_APPS=True15:17
alkisgAnd you'll need to do something about the sudo part15:17
alkisg(sudo sch-scripts, might not work with remote apps and need to edit sudoers instead)15:18
dgroosIn some list-server e-mails Todd O' wrote the following about using fat clients: "I was able to get root access by doing:"15:23
dgroos$ sudo chroot /opt/ltsp/amd64 passwd -u root15:23
dgroos$ sudo chroot /opt/ltsp/amd64 passwd15:23
dgroosand setting the password.15:23
dgroosdoes that relate?15:23
alkisgdgroos: the clue here is "you almost never need sudo on fat clients"15:23
alkisgLet's start there. WHY do you need sudo?15:23
dgroosQuoted from above: "alkisg: (sudo sch-scripts, might not work with remote apps and need to edit sudoers instead)"15:24
alkisgOn the server15:24
dgroosjust trying to make sense of that statement...15:24
alkisgAh ok let me explain more15:25
alkisgIf you were sitting on the server and tried: sudo sch-scripts, what would happen?15:25
alkisgYou'd get a password prompt15:25
alkisgRemoteapps unfortunately won't allow a text-based prompt etc15:25
alkisgSo you'll need a way around that problem15:25
alkisgWith sudoers, you can configure certain users or groups to be able to run "sudo sch-scripts" without the need of a password15:26
alkisgAll this on the server15:26
alkisgSo, when you try "ltsp-remoteapps sudo sch-scripts", you won't get a password prompt from the server, and it'll just run15:26
alkisgMakes a bit more sense now?15:27
dgroosgot it.  So how might I find a how to about setting this up?15:27
dgroos:)15:27
alkisgLet me give you my greek page, I think google translate will be enough...15:27
dgroos:D15:27
alkisghttp://alkisg.mysch.gr/steki/index.php?topic=3211.015:28
dgroosThanks!  (of course our district has a filter on that page because of 'proxy avoidance' but I'll find a work around!)15:29
alkisgBasically it's this:15:30
alkisgsudo VISUAL=gedit visudo15:30
dgroosinteresting--I put it into google translate and it went through :)15:30
alkisgAnd in the end of the file:15:30
alkisgteacher ALL=NOPASSWD: /usr/sbin/sch-scripts15:30
alkisgHaha google rocks :D15:31
dgroosso I can put this line several times: teacher ALL=NOPASSWD: /usr/sbin/sch-scripts  but just using a different name for the different teachers?  Do you think there will be issues if 2 teachers are using this concurrently?15:33
alkisgYou can use a group there instead if you prefer, but yeah of course you can put it several times15:34
alkisgI think groups need a % in their name (syntax-wise)15:34
alkisgThe sch-scripts daemon is designed to have as many GUI connections as you like15:34
alkisgSo not a problem for concurrrent users15:35
dgroosI'll put this dialog on my blog for future reference, thanks :)15:35
alkisgSo it would be:15:36
alkisg%teachers ALL=NOPASSWD: /usr/sbin/sch-scripts15:36
kukacHi, I am just installing edubuntu 11.04 and I have difficulties with ltsp and unity21:07
kukacCould someone help me?21:07
kukacplease21:08
alkisgSuch as?21:08
kukacI have a server and when I chroot to client, I cant install software on client side (eg. italc-client), because apt tries to load some place called ftpmaster....21:10
alkisgAnd how is that related to unity?21:10
kukacalkisg: unity is other question. I purged it, but I get always some alerts telling me that it cant load unity. I choosed classic interface, but it does not count, it seems21:12
alkisgTo set classic-gnome as the default session instead of Unity in Ubuntu >= 11.04, put LDM_XSESSION="gnome-session --session=classic-gnome" in lts.conf21:12
alkisgAbout the chroot and apt-get install problem, put the output of this command to pastebin: cat /opt/ltsp/i386/etc/apt/sources.list21:13
kukacalkisg: concerning ltsp, I suppose that I should not see both server interface on client, but I do. It seems that it is not the chrooted environment I get, but the server's one21:13
alkisgkukac: you have a misunderstanding there21:13
alkisgWhen you sit on a thin client, you actually sit on the server21:14
alkisgNot in the chroot21:14
alkisgAll the user programs, the session, openoffice, firefox etc run on the server21:14
highvoltagea thin client is typically a bit small for me to sit on21:14
alkisgSo whatever commands you issue on gnome-terminal, they also run on the server, and show your server nics etc21:14
highvoltage(but some servers are just the right size)21:15
kukacalkisg: I see then.21:15
* alkisg will never ever learn to use prepositions correctly :D21:16
kukacalkisg: in the ltsp ubuntu help, I read that I should install italc-master on server and client on the chroot, but when I install master, a client is installed too and I cant install anything in chroot21:16
* highvoltage was just joking :)21:16
alkisgBtw what's the correct preposition there? "at a thin client"?21:17
highvoltageI think so21:18
highvoltageI guess I would've said "If you're on a session on a thin client, you're actually on a desktop session on the server" or something like that21:18
* alkisg promises that he'll remember that for the next 2 minutes :)21:18
highvoltagealkisg: I'll keep you to that!21:19
alkisgkukac: Meh someone should just delete that italc ubuntultsp wiki page, it's too badly written,  I don't think anyone managed to follow it21:19
kukacalkisg: oh! and there is not any acceptable online help?21:19
kukacalkisg: oh! and there is any acceptable online help?21:20
alkisgSorry but I've helped tooo many people install italc, I don't think I can do it just one more time, but if you search the irc logs, you'll find the necessary steps at least 10 times :)21:20
alkisgBut the #edubuntu and the #ltsp logs21:20
alkisg*Both, not but21:20
kukacsalkisg: I am kukac on edubunt here21:21
alkisgDid the unity / LDM_XSESSION directive work?21:21
kukacsalkisg: I am trying to find it21:21
alkisgsudo gedit /var/lib/tftpboot/ltsp/i386/lts.conf21:22
alkisgAnd there, put:21:22
alkisg[Default]21:22
alkisgLDM_XSESSION="gnome-session --session=classic-gnome"21:22
alkisgAnd reboot the clients..21:22
kukacsalkisg: i have two line only in that file: [default]21:24
kukacs  LDM_THEME=edubuntu21:24
alkisgPut a third one, the one with LDM_XSESSION21:24
alkisgDon't put [default] twice, leave it just once in the top21:25
alkisgOr at the top, or on the top, or whatever :P21:25
kukacsalkisg: it seems that I dont have ldm installed21:25
alkisgkukacs, you do have ldm install in the chroot21:25
alkisg*installed21:25
alkisgDon't worry about it, just try putting that line21:25
kukacsalkisg: I am checking21:26
kukacsalkisg: this alert message is resolved, thanks21:30
kukacsalkisg: what should I do with this italc thing?21:30
kukacsalkisg: this is the chrooted apt source.list http://paste.ubuntu.com/673383/21:33
alkisgThe first line isn't correct21:34
alkisgdeb http://ftpmaster.internal/ubuntu natty main restricted universe multiverse21:34
alkisgSee /etc/apt/sources.list for the correct line21:34
alkisgAnd if you didn't do anything weird, file a bug in edubuntu about it21:34
kukacsalkisg: it seems that there is no network connection in chroot environment under /opt/ltsp/i38621:36
alkisgsudo cp /etc/resolv.conf /opt/ltsp/i386/etc/21:37
kukacsalkisg: should I move to debian edu maybe?21:37
kukacsalkisg: in place of edubuntu?21:37
alkisgThat's your call, I'm using ubuntu/ltsp for years without problems21:37
kukacsalkisg: this resolv.conf helped, it is networking now. you are a wizzard21:38
kukacsalkisg: should I install then italc-client there? in chroot?21:39
alkisgkukacs, as I said, I don't have the appetite to go once again through the italc installation steps...21:40
kukacsalkisg: my other problem, with italc, that it found only the main desktop login as client, but not the real client21:40
alkisgI helped more than a dozen people, not one of them corrected the wiki...21:40
alkisgIf you want search through the irc logs21:40
alkisgYou'll find the steps there more than 10 times21:40
kukacsalkisg: I am searching, thanks21:41
kukacalkisg: what do you think, this description is correct? http://doc.ubuntu-fr.org/italc21:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!