IRC chat logs for #ltsp on irc.libera.chat (webchat)


Channel log from 21 May 2013   (all times are UTC)

00:00MonkWitDaFunk has joined IRC (MonkWitDaFunk!~yaaic@24.114.37.191)
00:09derekn has joined IRC (derekn!4a5e491a@gateway/web/freenode/ip.74.94.73.26)
00:11
<derekn>
Does anyone have any information about setting up dual head video cards in the lts.conf file? I'm trying to get it to treat each monitor separately while spanning across both monitors.
00:11vagrantc has left IRC (vagrantc!~vagrant@204.239.250.1, Ping timeout: 276 seconds)
00:14
<digitalirony>
derekn: you use xrandr
00:14
http://manpages.ubuntu.com/manpages/raring/en/man5/lts.conf.5.html
00:14
^ look there under xrandr settings, and also look up documentation on xrandr and how to use it
00:17[GuS] has joined IRC ([GuS]!~gustavo@186.23.204.34)
00:17[GuS] has joined IRC ([GuS]!~gustavo@unaffiliated/gus/x-663402)
00:18
<derekn>
Thanks, I've been looking at xrandr. I've also been looking at xinerama as FreeRDP is supposed to work better with it.
00:18
<digitalirony>
well the thing about xinerama, is that its pretty much only nvidia cards
00:18
xrandr works regardless of driver
00:20
<derekn>
Interesting, I'd read that xinerama was supposed to be driver agnostic.
00:20
<digitalirony>
so, if you have multiple video card types, xrandr is the more 'universal/global' aproach, which is never fine tuned, as doing it through the driver itself
00:20
derekn: maybe so....I just know that the general accepted practice is to use xrandr when using mixed hardware like that
00:21
<derekn>
Thankfully I don't have multiple card type, just a mix of dual head nvidia and ati cards
00:21
Sorry, I don't have multiple cards in one system.
00:21
<digitalirony>
nah, not one system
00:21
I mean, like if you have 80 workstations like I do
00:22
and half are nvidia and half are ATI
00:22
and I wanted to set the settings for them all, and in one place
00:22
instead of having to make something very specific for each host
00:22
<derekn>
Yes, that's what I'm hoping to do as well.
00:23
<digitalirony>
then you want to use xrandr
00:23
just sayin
00:24
and I hate saying that too
00:24
I really hate xrandr
00:24
<derekn>
:) Yeah, it's kind of confusing. It doens't help that the man page doesn't really have any examples.
00:25
<digitalirony>
yeah, I know heh
00:25
just trial and error, you will learn better that way :P
00:25
you will learn what can break, and how to fix it
00:25
<derekn>
True :)
00:26
<digitalirony>
anyway, im going home now
00:26
these nice peeps here can prolly help more than me anyway
00:26
im just some dude
00:26
<derekn>
Thanks again for the link
00:26
<digitalirony>
np
00:27elias_a has left IRC (elias_a!elias@hilla.kapsi.fi, Read error: Operation timed out)
00:32elias_a has joined IRC (elias_a!elias@hilla.kapsi.fi)
00:45MonkWitDaFunk has left IRC (MonkWitDaFunk!~yaaic@24.114.37.191, Ping timeout: 252 seconds)
00:51MonkWitDaFunk has joined IRC (MonkWitDaFunk!~yaaic@24.114.37.191)
01:25MonkWitDaFunk has left IRC (MonkWitDaFunk!~yaaic@24.114.37.191, Ping timeout: 256 seconds)
02:20andygraybeal has left IRC (andygraybeal!~andy@h59.204.213.151.dynamic.ip.windstream.net, Ping timeout: 256 seconds)
02:42wgreenhouse has left IRC (wgreenhouse!~wgreenhou@fsf/member/wgreenhouse, Ping timeout: 240 seconds)
02:47wgreenhouse has joined IRC (wgreenhouse!~wgreenhou@fsf/member/wgreenhouse)
03:04tkw_one_malo has joined IRC (tkw_one_malo!~edward-tk@186.82.205.68)
03:06
<tkw_one_malo>
does somebdoy knows how send xmessage betwen ltsp clients?
03:06
from command line
03:15christopher has joined IRC (christopher!~christoph@c-174-54-115-236.hsd1.pa.comcast.net)
03:18
<tkw_one_malo>
does somebdoy knows how send xmessage betwen ltsp clients?
03:18
from command line
03:22christopher is now known as anunnaki
03:27christopher has joined IRC (christopher!~christoph@c-174-54-115-236.hsd1.pa.comcast.net)
03:27anunnaki has left IRC (anunnaki!~christoph@c-174-54-115-236.hsd1.pa.comcast.net, Read error: Connection reset by peer)
03:29alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
03:30christopher is now known as anunnaki
03:36
<alkisg>
derekn: what do you mean "treat each monitor separately"? different resolutions, or different x server?
03:36
tkw_one_malo: it's not easily done, without hacks that need root access. Have a look at epoptes:
03:36
!epoptes
03:36
<ltsp>
epoptes: Epoptes is a computer lab administration and monitoring tool. It works on Ubuntu and Debian based labs with LTSP or non-LTSP servers, thin and fat clients, standalone workstations, NX clients etc. More info: http://www.epoptes.org
03:42
<tkw_one_malo>
alkisg: i do in my server ltsp: $ xhost +
03:42
after in the client i do: $ xmessage hi, this is a salute -display:0 it work from client to server
03:42
but in the client i do: $ xhost + and after goto the server and i do: $ xmessage hi, i am the administrator -display localhost:11.0 but never work.
03:47
<alkisg>
tkw_one_malo: try with `su - user-that-works-on-thin-client` first, an run xmessage as that user
03:48
Or disable directx, otherwise X traffic goes through ssh
03:48
<tkw_one_malo>
i am on linux
03:48
<alkisg>
!directx
03:48
<ltsp>
directx: If you want to turn off encryption to the workstation, which will speed up performance at the cost of security, you need to specify LDM_DIRECTX=True in your lts.conf file. Type !docs in IRC to get a link to the current documentation
03:48
<alkisg>
It's ltsp directx, not microsoft directx... same name used for 2 different things :)
03:49
<tkw_one_malo>
oh .. . jejejejej excuses me
03:49
i didnot know about it
03:55
<alkisg>
tkw_one_malo: see a similar script I once made: http://paste.ubuntu.com/5685879/
03:55
Save it as ltsp-exec, and then run ltsp-exec xmessage params...
03:55
...as root
03:55
<tkw_one_malo>
ok, .... thank you
03:55
i will see it
03:58
<lifeboy>
alkisg: I couldn't attach the new server partition to the VM to run it with the old server simultenously since the version of libvirt on Ubuntu 10.10 is too old and has a bug when creating/mounting the storage pool for "fs" type.
03:59* alkisg doesn't use libvirt but directly kvm from the command line... e.g. kvm /dev/sdb
04:00
<lifeboy>
I only have one more thing I can't figure out: My client boots, but ldm doesn't load because the file system is read only on the client chroot.
04:00
<alkisg>
cat /proc/mounts; cat /proc/cmdline, on the client ==> pastebin.com
04:11
<lifeboy>
alkisg: http://pastebin.com/Pg2Gk9uz
04:12* lifeboy is getting some coffee
04:13
<alkisg>
lifeboy: rootfs rw, it says... try: touch /file, does that work?
04:13
(although I think you should be seeing aufs there as well)
04:14
Ah
04:14
lifeboy: the problem is in the command line, it's missing init=/sbin/init-ltsp
04:22alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
04:22
<lifeboy>
Just checked that it's in /etc/ltsp/update-kernels.conf
04:22
BOOTPROMPT_OPTS="root=/dev/nbd0 init=/sbin/init-ltsp quiet splash plymouth:force-splash vt.handoff=7 nbdroot=:ltsp_i386 "
04:23
but in pxelinux.cfg/default it only has
04:23
it also has
04:23
append ro initrd=initrd.img root=/dev/nbd0 ip=dhcp
04:26staffencasa has left IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu, Ping timeout: 248 seconds)
04:28
<lifeboy>
Oh, wait, of course, that is different. It doesn't have init=/sbin/init-ltsp
04:34work_alkisg has left IRC (work_alkisg!~alkisg@plinet.ioa.sch.gr, Ping timeout: 256 seconds)
04:35
<lifeboy>
Anyone that knows how to coerce pxelinux.cfg/default into taking the BOOTPROMPT_OPTS in /etc/ltsp/update-kernels.conf and applying them?
04:36
Or has BOOTPROMPT_OPTS been changed?
05:07
I just had a look at /usr/share/ltsp/update-kernels (in the Wheezy chroot) and don't see how the BOOTPROMPT_OPTS get copied to pxelinux.cfg/default.
05:07
This looks like a bug?
05:17
I see vagrantc and alkisg last updated that script.
05:24work_alkisg has joined IRC (work_alkisg!~alkisg@srv1-plinet.ioa.sch.gr)
05:36
<lifeboy>
I'm not a seasoned coder, but I'm pretty sure /usr/share/ltsp/update-kernels ignored BOOTPROMPT_OPTS in update-kernels.conf, unlike an older version of the script that I found, which does not ignore this.
05:36
s/ignored/ignores/
05:37
<work_alkisg>
lifeboy: probably, like the previous time, you deleted the shipped update-kernels.conf and replaced it with the older ubuntu version...
05:37work_alkisg is now known as alkisg
05:38
<alkisg>
Check the $CHROOT/etc/ltsp/update-kernels.conf from the working server
05:38
http://paste.ubuntu.com/5686006/
05:39
<lifeboy>
they're identical on both servers.
05:39
<alkisg>
So, they don't have BOOTPROMPT_OPTS at all, right?
05:39fenix has left IRC (fenix!~fenix@92.103.119.20, Read error: Connection reset by peer)
05:39
<alkisg>
Because when we did the remote assistance thing last time, you had BOOTPROMPT_OPTS there, and I had to restore that file to the original version,
05:39
...maybe you decided to overwrite it again? :)
05:39
Check the pastebin above ^
05:40
Your update-kernels.conf should look similar to that, no BOOTPROMPT_OPTS anywhere there
05:41
<lifeboy>
you're right, it's the wrong update-kernels.conf
05:42
<alkisg>
So to sum up, don't use BOOTPROMPT_OPTS, don't follow older guides found on the internet, and don't overwrite update-kernels.conf with examples found in the net :)
05:43
From the pastebin example, you only need to change line 16, BOOT_METHODS
05:43
<lifeboy>
I'm making notes of this... but I'm really puzzled as to how the old file got into the Ashton server that you assisted on.
05:44
And when I'm done, I'll document this somewhere or is there a process underway of updating the outdated documentation for LTSP5?
05:44
<alkisg>
Hmmm if you're sure you didn't put it yourself, it might be possible that your ubuntu server put it there, I think older versions of ltsp possibly did that...
05:45
<lifeboy>
I'm pretty sure I didn't put it back there after you fixed it.
05:46monteslu__ has joined IRC (monteslu__!~monteslu@ip68-109-174-213.ph.ph.cox.net)
05:48tkw_one_malo has left IRC (tkw_one_malo!~edward-tk@186.82.205.68, Quit: _/¯¯/¯`(ò_ó)´¯\¯¯\_)
05:48fenix has joined IRC (fenix!~fenix@92.103.119.20)
05:48alkisg has left IRC (alkisg!~alkisg@srv1-plinet.ioa.sch.gr, Ping timeout: 246 seconds)
05:49monteslu_ has left IRC (monteslu_!~monteslu@ip68-109-174-213.ph.ph.cox.net, Ping timeout: 276 seconds)
05:53work_alkisg has joined IRC (work_alkisg!~alkisg@srv1-plinet.ioa.sch.gr)
05:53
<work_alkisg>
!greek-schools-ppa
05:53
<ltsp>
greek-schools-ppa: https://launchpad.net/~ts.sch.gr/+archive/ppa/ supports LTS Ubuntu releases with newer LTSP versions, bug fixes etc
05:53work_alkisg is now known as alkisg
05:54
<alkisg>
lifeboy: that ppa ^ has a newer ltsp version that should match your wheezy chroot better
05:54
I.e. if you added that before installing ltsp, then nbd-server configuration would be proper etc etc
05:55
<lifeboy>
Ok, great. I won't break something, since all it working fine now?
06:08
alkisg: If I add the PPA now, it would update scripts, etc. but not overwrite the config files I've got, right?
06:19
<alkisg>
Right
06:32dobber has joined IRC (dobber!~dobber@89.190.199.210)
06:55sep has joined IRC (sep!~sep@40.211.jostedal.no)
07:13pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, Ping timeout: 240 seconds)
07:16pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
07:16naboo has joined IRC (naboo!~naboo__@afle224.neoplus.adsl.tpnet.pl)
07:29naboo has left IRC (naboo!~naboo__@afle224.neoplus.adsl.tpnet.pl, Ping timeout: 276 seconds)
07:37stefano-k has left IRC (stefano-k!~stefano@host19-224-static.51-82-b.business.telecomitalia.it, Quit: Ex-Chat)
07:43alkisg has left IRC (alkisg!~alkisg@srv1-plinet.ioa.sch.gr, Ping timeout: 248 seconds)
07:48naboo has joined IRC (naboo!~naboo__@afle224.neoplus.adsl.tpnet.pl)
07:58work_alkisg has joined IRC (work_alkisg!~alkisg@plinet.ioa.sch.gr)
08:20gbaman has joined IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
08:24gbaman has left IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com, Remote host closed the connection)
08:30deyan has joined IRC (deyan!5f57bd0d@gateway/web/freenode/ip.95.87.189.13)
08:46vlt has left IRC (vlt!~hrst@lvps178-77-99-218.dedicated.hosteurope.de, Ping timeout: 264 seconds)
09:00freedomrun has joined IRC (freedomrun!~freedomru@unaffiliated/freedomrun)
09:35gbaman has joined IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
09:48wgreenhouse has left IRC (wgreenhouse!~wgreenhou@fsf/member/wgreenhouse, Write error: Connection reset by peer)
09:49andygraybeal has joined IRC (andygraybeal!~andy@h59.204.213.151.dynamic.ip.windstream.net)
09:52Gremble has joined IRC (Gremble!~Ben@cpc35-aztw23-2-0-cust207.18-1.cable.virginmedia.com)
10:18Da-Geek has joined IRC (Da-Geek!~Da-Geek@exch.imparando.com)
10:20wgreenhouse has joined IRC (wgreenhouse!~wgreenhou@fsf/member/wgreenhouse)
10:21khildin has joined IRC (khildin!~khildin@ip-80-236-227-200.dsl.scarlet.be)
10:22khildin has left IRC (khildin!~khildin@ip-80-236-227-200.dsl.scarlet.be, Client Quit)
10:23khildin has joined IRC (khildin!~khildin@ip-80-236-227-200.dsl.scarlet.be)
10:27khildin has joined IRC (khildin!~khildin@ip-80-236-227-200.dsl.scarlet.be)
10:29wgreenhouse has joined IRC (wgreenhouse!~wgreenhou@fsf/member/wgreenhouse)
10:44mikkel_ has joined IRC (mikkel_!~mikkel@80-198-36-38-static.dk.customer.tdc.net)
10:49pppingme is now known as [pppingme]_witho
10:49[pppingme]_witho is now known as pppingme
10:58gbaman has joined IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
10:59vector has left IRC (vector!~vector@host-44-180-230-24.midco.net, Read error: Connection reset by peer)
10:59vector has joined IRC (vector!~vector@host-44-180-230-24.midco.net)
11:26PhoenixSTF has joined IRC (PhoenixSTF!~rudi@78.29.189.104)
11:49gbaman has joined IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
12:19brunolambert has joined IRC (brunolambert!bruno@nat/revolutionlinux/x-wivgzwyxvyoofrns)
12:22gvy has left IRC (gvy!~mike@altlinux/developer/mike, Ping timeout: 276 seconds)
12:26workingcats has joined IRC (workingcats!~workingca@85.232.30.129)
12:29gvy has joined IRC (gvy!~mike@altlinux/developer/mike)
12:49gentgeen__ has joined IRC (gentgeen__!~kevin@c-98-239-202-150.hsd1.pa.comcast.net)
13:00naboo has left IRC (naboo!~naboo__@afle224.neoplus.adsl.tpnet.pl, Ping timeout: 264 seconds)
13:09gvy has left IRC (gvy!~mike@altlinux/developer/mike, Ping timeout: 248 seconds)
13:14naboo has joined IRC (naboo!~naboo__@afle224.neoplus.adsl.tpnet.pl)
13:23gvy has joined IRC (gvy!~mike@altlinux/developer/mike)
13:25fitztrev has joined IRC (fitztrev!~fitztrev@50-76-176-113-static.hfc.comcastbusiness.net)
13:25fitztrev has joined IRC (fitztrev!~fitztrev@unaffiliated/fitztrev)
13:27bieb has joined IRC (bieb!~hbieber@173.226.16.130)
13:29telex has left IRC (telex!~telex@freeshell.de, Remote host closed the connection)
13:30telex has joined IRC (telex!~telex@freeshell.de)
13:31Buntu-Burned has joined IRC (Buntu-Burned!53676d8d@gateway/web/freenode/ip.83.103.109.141)
13:31
<Buntu-Burned>
hello!
13:35
<bieb>
does the guy from disklessworkstations still hang out in here?
14:01dsugar100 has joined IRC (dsugar100!~dsugar@columbia.tresys.com)
14:01deyan has left IRC (deyan!5f57bd0d@gateway/web/freenode/ip.95.87.189.13, Quit: Page closed)
14:08fenix has left IRC (fenix!~fenix@92.103.119.20, Quit: Quitte)
14:10stgraber has left IRC (stgraber!~stgraber@ubuntu/member/stgraber, Ping timeout: 260 seconds)
14:16
<unkmar>
bieb: maybe, but I don't know.
14:21komunista has joined IRC (komunista!~slavko@87.244.209.121)
14:21
<sbalneav>
Morning all
14:34stgraber has joined IRC (stgraber!~stgraber@ubuntu/member/stgraber)
14:35
<bieb>
Scott!! how's it going?
14:37
<sbalneav>
bieb: Not too bad, yourself?
14:37
<bieb>
sbalneav: going well.. just starting the summer projects since students are gone
14:38gvy has left IRC (gvy!~mike@altlinux/developer/mike, Ping timeout: 246 seconds)
14:38gvy has joined IRC (gvy!~mike@altlinux/developer/mike)
14:38staffencasa has joined IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu)
14:41
<Buntu-Burned>
bye all! :D
14:41Buntu-Burned has left IRC (Buntu-Burned!53676d8d@gateway/web/freenode/ip.83.103.109.141, Quit: Page closed)
14:45Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
14:47alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
14:51
<bieb>
sbalneav: hey scott.. who was the guy from Diskless workstations that always hung out in here?
14:56
<alkisg>
irclogs search: http://irclogs.ltsp.org/?u=bieb&k=keyword :)
14:58naboo has left IRC (naboo!~naboo__@afle224.neoplus.adsl.tpnet.pl, Ping timeout: 248 seconds)
14:58mikkel_ has left IRC (mikkel_!~mikkel@80-198-36-38-static.dk.customer.tdc.net, Quit: Leaving)
15:01gbaman_ has joined IRC (gbaman_!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
15:01vagrantc has joined IRC (vagrantc!~vagrant@c-98-232-129-196.hsd1.or.comcast.net)
15:04gbaman has left IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com, Ping timeout: 248 seconds)
15:11
<gbaman_>
alkisg i sort of got it working
15:13
asked the qemu guys, had to add some stuff into the chroot
15:15
<alkisg>
So it does require something like a hook... nice
15:15
<gbaman_>
I can now chroot into it, but I can't ltsp-chroot into it
15:16
<alkisg>
OK, just use plain chroot then :)
15:16
And install ltsp-client in it...
15:17
<gbaman_>
for reference I used cp /usr/bin/qemu-arm-static armhf/usr/bin/qemu-arm-static and that was all that I needed
15:19
I already did, and i get chroot: failed to run command `armhf': No such file or directory
15:20
so I can now chroot but not ltsp-chroot
15:20
<alkisg>
You run `chroot apt-get install ltsp-client` and you get "failed to run command armhf"?
15:21
<gbaman_>
i already did
15:22
<vagrantc>
you didn't use ltsp's built-in cross-arch support?
15:23
<gbaman_>
nope
15:23
<alkisg>
He says he started with the premade pi image, he didn't use ltsp-build-client...
15:23
<vagrantc>
i guess the hard way is more educational
15:23
<gbaman_>
had a slight problem with the built in builder
15:24
the prebuilt images from the foundation contain a lot more stuff
15:24
that are needed
15:24
<alkisg>
But then he couldn't chroot into it... and then he copied the qemu static binary, and now I didn't understand the problem :)
15:24
<gbaman_>
and they arnt all debs
15:24
<vagrantc>
ah, a bunch of binary blobs?
15:25
<alkisg>
gbaman_: if you can chroot, but not ltsp-chroot, ok, then use chroot and don't use ltsp-chroot !
15:25
<vagrantc>
that's unsurprising
15:25
<gbaman_>
is there a difference?
15:25
<vagrantc>
you can mimic the difference by setting a few environment variables
15:26
but the only reason i can fathom ltsp-chroot not working and plain chroot working is putting it in some weird paths
15:26* alkisg thinks gbaman_ still hasn't configured qemu correctly... since he's saying even plain `chroot` gives him errors
15:27
<gbaman_>
no, normal chroot does work fine
15:27
<vagrantc>
or not chrooting to the same dir that ltsp-chroot is
15:27
<alkisg>
(06:20:56 μμ) alkisg: You run `chroot apt-get install ltsp-client` and you get "failed to run command armhf"?
15:27
(06:21:56 μμ) gbaman_: i already did
15:27
I thought that meant "yes I already tried it and it gave me an error"
15:27
<vagrantc>
gbaman_: is qemu-user-static installed on the server?
15:28
<gbaman_>
i can run chroot armhf then use sudo apt-get install ltsp-client
15:28
and yes vagrantc, it is
15:28
<alkisg>
gbaman_: ok, then just go ahead and do that
15:28
<vagrantc>
is binfmt-support installed?
15:29
<alkisg>
ltsp-chroot won't do you much good anyway, until you install ltsp-client in the chroot...
15:29
<gbaman_>
ltsp-client is now installed on the client
15:29* vagrantc thinks it's unwise to proceed without ltsp-chroot working
15:30
<alkisg>
vagrantc: ltsp-chroot won't work properly without ltsp-client
15:30
<vagrantc>
it shows something fundamentally borken
15:30
<gbaman_>
ltsp-client is installed
15:30
<alkisg>
missing diversion....
15:30dobber has left IRC (dobber!~dobber@89.190.199.210, Remote host closed the connection)
15:30
<vagrantc>
alkisg: oh, right...
15:31
it souldn't fail the way gbaman_ is experiencing, though
15:31
<alkisg>
True
15:31
gbaman_: the ltsp-chroot not working is an issue to work on, but in the meantime, you should be able now to boot the chroot over the network now...
15:31
<vagrantc>
so i think there is some deeper confusion
15:31
<gbaman_>
running ltsp-chroot armhf returns chroot: failed to run command `armhf': No such file or directory
15:32
<alkisg>
ltsp-chroot --arch armhf
15:32
not plain armhf
15:32* vagrantc nods
15:32
<alkisg>
Just try plain `ltsp-chroot` without any parameters at all
15:33
<gbaman_>
..
15:33
fixed
15:33
ignore everything I just said
15:33
ltsp-chroot isnt broken
15:34
are any other packages needed?
15:34
seeing as it was not built by LTSP?
15:35
<vagrantc>
should be it
15:35
it depends on everything
15:35
ltsp-client, that is
15:36
you'll probably have to recreate the initrd and such
15:36
and you'll need a linux-image package with support for aufs, initrd, etc
15:37
last i looked, the rpi foundation kernerl was missing a lot of needed features
15:37
<alkisg>
vagrantc: couldn't we put a trigger in ltsp-client to force the initramfs update?
15:37
<vagrantc>
alkisg: it might be there
15:38
<alkisg>
$ cat ltsp-client-core.triggers
15:38
activate update-initramfs
15:38
...true :)
15:40
<gbaman_>
am i meant to be running that?
15:40
<alkisg>
nope
15:40
<gbaman_>
didnt think so
15:40
because it couldnt find it :)
15:41
will test on the pi now
15:41* vagrantc hasn't yet prettified the rpi howto for installing ltsp onto the SD card yet
15:42naboo has joined IRC (naboo!~naboo__@user-188-33-124-214.play-internet.pl)
15:45
<gbaman_>
ok, sort of worked
15:46
it booted, loaded raspi-config, it then came to a commandline
15:47
no login
15:48
<alkisg>
cat /proc/cmdline
15:48
Does it have "init=/sbin/init-ltsp" there?
15:48
<gbaman_>
....
15:48
"/bin/cat: /proc/cmdline: No such file or directory"
15:49
proc folder is empty
15:49
<alkisg>
mount -t proc proc /proc
15:50
...maybe something missing in the pi image....
15:50
<gbaman_>
in chroot or not?
15:50
<alkisg>
In the booted client
15:50
<gbaman_>
oh, ok
15:50
<alkisg>
same for `cat /proc/cmdline`
15:51* vagrantc admires gbaman_ 's persistance :)
15:52
<gbaman_>
yes it does
15:52
it has init=/sbin/init-ltsp
15:52
<alkisg>
grep aufs /proc/filesystems
15:53
<gbaman_>
nodev aufs
15:54
<alkisg>
dpkg -l ldm
15:54
<gbaman_>
Desired=Unknown/Install/Remove/Purge/Hold
15:54
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
15:54
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
15:54
||/ Name Version Architecture Description
15:54
+++-==============-============-============-=================================
15:54
ii ldm 2:2.2.11-2 armhf LTSP display manager
15:54
<alkisg>
startx
15:55
<gbaman_>
mktemp: failed to create file via template `/tmp/serverauth.XXXXXXXXXX': Permission denied
15:55
xauth: timeout in locking authority file
15:55
think i broke something
15:57
<alkisg>
touch /tmp/test
15:57
<gbaman_>
touch: cannot touch `/tmp/test': Permission denied
15:57
hmm
15:58
interesting, sudo does not work
15:58
sudo: effective uid is not 0, is sudo installed setuid root?
15:58
right, I am going to take a break, will be back in about an hour, staring at a screen too long is bad :)
15:58
thanks as normal
15:59
i think the pi is a bit confused though :)
16:00gbaman_ has left IRC (gbaman_!~gbaman@host81-130-88-58.in-addr.btopenworld.com, Remote host closed the connection)
16:00gbaman has joined IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
16:03gbaman2 has joined IRC (gbaman2!5182583a@gateway/web/freenode/ip.81.130.88.58)
16:04
<gbaman2>
and I am back, on a different machine, with ssh into it
16:05
so, any ideas?
16:06
I really would love to be able to use the official image
16:06
that way there is no need to go and install all the other software
16:06* alkisg has never seen a PI so can't help with undo-ing the official image customizations...
16:06
<gbaman2>
:)
16:06* gbaman2 thinks alkisg should get a pi...
16:07
<alkisg>
I think they're too slow to be usable in schools
16:07
<gbaman2>
cant go wrong for $35 though
16:07
for what they use them for though
16:07
<alkisg>
For 50 you can get a dual core arm stick instead
16:08
...and be able to make a decent fat client out of it
16:08
<gbaman2>
they arnt going to be used for web browsing or heavy stuff like that
16:08
they are designed to program on
16:08
<alkisg>
Right, that's why they're not suitable as ltsp clients for schools...
16:08
<gbaman2>
there is no reason they shouldnt work nearly as well as if it is running off an SD card
16:09
<alkisg>
Sure, I think it's too slow from the sd card too
16:09
<gbaman2>
the performance they get running of an SD card is suitable for what many schools need
16:09
if we can replicate that with LTSP i am happy
16:10
and so will many teachers
16:10
maintaining a single OS
16:10
and making it perfect
16:10
then the pis boot it, much easier than maintaining 30 sd cards
16:11
<alkisg>
All schools here need web browsing, so I don't think anyone will want a PI... but if they suit your needs, sure, you should be able to get it to run as an ltsp client, as fast as if it was booted from the sd card...
16:12
http://www.pandawill.com/search/result/?c=&q=MeLE&x=0&y=0
16:12Da-Geek has left IRC (Da-Geek!~Da-Geek@exch.imparando.com, Quit: Leaving)
16:12
<alkisg>
Some of them there might make decent ltsp clients, I want to buy a couple of those at some point...
16:13
Something dual core with 1 gb ram, at least
16:14
<gbaman2>
they dont have the community behind them though
16:14
they also dont have 1.3 million of them sold
16:14
they dont have GPIO pins
16:14
and they run android
16:15
<alkisg>
They can run a browser with flash etc locally, while pi can't, that's the whole issue :)
16:15
<gbaman2>
you cant run flash on IOS :)
16:15
it can do HTML5
16:15
flash is dieing
16:15
<alkisg>
Android runs flash, but I would be interested to put ubuntu on them
16:16
<gbaman2>
android flash was discontinued
16:16
the big one though is GPIO pins
16:16
cross between an arduino and one of those android sticks
16:17
<alkisg>
We have like 10 Gb of educational software that relies on flash... but it's not just flash, if a device can't run firefox/flash then it usually can't even run libreoffice locally either
16:17
<gbaman2>
it can run libreoffice
16:17
i have used it
16:17
it takes a little longer than a normal machine to load it, but it works well once loaded
16:17
<alkisg>
You've used impress in pi?
16:17
And you were able to make a presentation of 10 slides in it?
16:18
That usually requires 1 gb ram...
16:18
<gbaman2>
I have not used impress yet, only the word and excel alternative
16:18
whatever they are called
16:18
I dont use my pi though for that sort of stuff
16:18
I use it for python and hardware stuff
16:19
one of my pis is currently the brain of a robot
16:19
which can be remote controlled by a wiimote with a camera feeding back live feed
16:19
<alkisg>
Gotcha, we have different goals, our ltsp installations in schools here completely fill all the software needs, so schools don't need to have standalone PCs or windows etc at all
16:19
<gbaman2>
ah
16:19
<alkisg>
That's why I'm not interested in pi :)
16:20
<gbaman2>
we arnt suggesting dumping old machines
16:20
the pi is a companion
16:20
but, could be a full blown machine if used as a thin client?
16:20
which seems to work quite well once loaded
16:21
as i by mistake loaded it in thin client mode
16:21
was rather snappy
16:21
<alkisg>
It should work reasonably well as a thin client, although we never buy thin client hardware, we propose fat clients instead... for example,
16:21
!flash
16:21
<ltsp>
flash: Yes, flash sucks. An HD full screen 30 fps video needs 2.5 Gbps bandwidth (1920×1080×4×30)! Make sure you have LDM_DIRECTX=True in your lts.conf file, or if it's just youtube you're after, try some flash replacing plugin like http://linterna-magica.nongnu.org
16:21
<alkisg>
...we don't have 2.5 gbps per client...
16:22
(it's not just flash; anything that needs 30fps would need the same bandwidth)
16:24
<gbaman2>
lol
16:24
well, for normal stuff
16:28
now, another question
16:29
student wishes to change their password...
16:29
<vagrantc>
there are several other relatvely cheap pi alternatives that are much more impressive
16:29
<gbaman2>
with GPIO pins vagrantc?
16:29
<vagrantc>
they're not at all unique to the pi
16:30
cubieboard and the beaglebone black have them, i think
16:30
both of which should be able to run plain debian, faster proc, more ram...
16:34
and the pi GPIO pins are prne to damaging hardware if you mess up the voltage, whereas many of the other have regulator that dramatically reduces the risk
16:35
<gbaman2>
cubieboard is $69 and not available in the UK? and I had never heard of the bb black, liking it though
16:36
and yes, the pis gpio pins go straight into the processor, I have not had any problems with them yet though as long as you are careful
16:37
<vagrantc>
but at a mere $35 each, they're disposable anyways :p
16:38
<gbaman2>
yip :)
16:38
for motors and stuff like that, I use a cheap £3 motor controller
16:38
<vagrantc>
i got a cubieboard with case and everything for less than that
16:38
<gbaman2>
also, the pi can be clocked up to something like 1.1GHz
16:39
normally I clock mine at 1GHz
16:39
and I rarely have any issues
16:39
and if the OS is on an LTSP server then no problem with clocking it even slightly higher
16:42
but, as you say, they are disposable and cheap enough that if one didnt have required features, just get the other
16:42
anyways, back to my question
16:42
student wishes to change their password...
16:43
they can go to the server and change it there
16:43
or I have heard remoteapps
16:43
but have found very very little documentation about it
16:43BurnedBrain has joined IRC (BurnedBrain!~burnedbra@95.236.212.107)
16:43
<BurnedBrain>
hi all
16:44
<gbaman2>
hey
16:44
<alkisg>
gbaman2: you're using the PIs as fat clients?
16:44
<gbaman2>
yes
16:44
<vagrantc>
gbaman2: there isn't much documentation about it. i think you just need to enable it in lts.conf
16:44
<alkisg>
Then yeah, one way is to use the userinfo app + remote apps
16:45
<gbaman2>
alkisg, go on...
16:45naboo has left IRC (naboo!~naboo__@user-188-33-124-214.play-internet.pl, Ping timeout: 248 seconds)
16:46
<alkisg>
Let me check for the .desktop file...
16:47
gbaman2: http://www.epoptes.org/documentation/fat-clients
16:47
But instead of epoptes.desktop, you'd use sed on redhad-userinfo.desktop
16:47
<BurnedBrain>
epoptes :(
16:47
my installation failed :(
16:47
<alkisg>
Why the sad face? :)
16:47
<gbaman2>
:(
16:48
<alkisg>
Why?
16:48
<BurnedBrain>
doesn't start
16:48
<gbaman2>
that is one thing i will get round to eventually, epoptes on the machines
16:48
<BurnedBrain>
i used ubuntu 12.04 lts
16:49
<gbaman2>
ok, i will try that then alkisg
16:49
<BurnedBrain>
ltsp works well
16:49
<alkisg>
BurnedBrain: epoptes is generally easy to troubleshoot... did you follow the epoptes.org/installation page?
16:49
<BurnedBrain>
but i have to install some "simply" to use by the end user
16:49
oh, sure
16:50
i think is something wrong in my ubuntu..
16:50
<alkisg>
Well, if you're on your ltsp server, we can troubleshoot epoptes in a few minutes...
16:51
<BurnedBrain>
oh..
16:51
:)
16:51
just a few second to connect to my server
16:51
thanks in advance :D
16:52
<alkisg>
np, how? ssh or vnc or x2go?
16:52vagrantc has left IRC (vagrantc!~vagrant@c-98-232-129-196.hsd1.or.comcast.net, Quit: leaving)
16:52
<BurnedBrain>
i usually use vnc
16:52
<alkisg>
OK, so you have access to the display, nice
16:53DJUnreal has joined IRC (DJUnreal!~qscript@host31-54-29-212.range31-54.btcentralplus.com)
16:53
<BurnedBrain>
yes... is a vmware virtual machine
16:53
<DJUnreal>
miaow
16:53
<alkisg>
hm, but you can't access a client now, can you?
16:53
...to test if it actually works...
16:54
Anyways, we can check some stuff even without booting clients
16:54
<DJUnreal>
alkisg: any chance you can do me a quick favour?
16:54
<alkisg>
Like?
16:54
<DJUnreal>
this ifcpu64 malarky... how does it work?
16:54
like how do i enable it?
16:55
<alkisg>
In $CHROOT/etc/ltsp/update-kernels.conf, there's a line there you can uncomment
16:55
# Use ifcpu64.c32 to detect 64-bit, PAE or 32-bit machines.
16:55
#PXELINUX_DEFAULT=ltsp-ifcpu64-NFS
16:55
#IFCPU64=true
16:55gbaman2 has left IRC (gbaman2!5182583a@gateway/web/freenode/ip.81.130.88.58, Ping timeout: 250 seconds)
16:56
<DJUnreal>
okay... so do i just build one 64-bit image
16:56
and uncomment those lines?
16:56
or do i need the multiple images i already have?
16:56
<alkisg>
You need multiple images, if a single image with pae and non-pae isn't good enought for you
16:57
http://www.syslinux.org/wiki/index.php/Ifcpu64.c32
16:58
<BurnedBrain>
alkisg, can i paste the error code in PM ?
16:58
<alkisg>
Sure
16:59
BurnedBrain: did you run epoptes from your vnc session? it looks like you don't have access to display
16:59
E.g. you can't run epoptes via ssh...
16:59
<DJUnreal>
ahh ok, ta
16:59* DJUnreal thinks his more-customised-approach is probably going to be a tad more helpful
17:00stefano-k has joined IRC (stefano-k!~stefano@host19-224-static.51-82-b.business.telecomitalia.it)
17:01
<BurnedBrain>
uh! u say that i have to try to run epoptes directly on the server?
17:01
<alkisg>
BurnedBrain: or on a thin client
17:01
Where are you trying to run it from?
17:02
<BurnedBrain>
i try on the vnc client and directly on the VM
17:02
<alkisg>
You can also run it from fat clients or standalone clients, but it does require a bit of extra coniguration
17:02
Directly on the VM is fine
17:02gvy has left IRC (gvy!~mike@altlinux/developer/mike, Quit: train'ing)
17:02
<BurnedBrain>
i obtain the same error
17:03
<alkisg>
Can you vnc to me so that we share the same screen? x11vnc -connect alkisg.dyndns.org
17:04
(assuming you do have access to the X display...)
17:09
<BurnedBrain>
wow alkisg
17:09
<alkisg>
BurnedBrain: you missed all the steps from the installation page :) http://www.epoptes.org/installation
17:09
gpasswd -a username epoptes
17:09
and chroot epoptes-client -c
17:09
<BurnedBrain>
ups.. :/
17:09
<alkisg>
You need to logout + login again, to be able to run epoptes from the gui (for the group change to take effect)
17:10
Once ltsp-update-image finishes, logout,
17:10
and then you're all set, clients should work too
17:10
<BurnedBrain>
ok
17:10* alkisg closes vnc...
17:10
<BurnedBrain>
thanks
17:10
<alkisg>
np
17:10* BurnedBrain without words :)
17:10
<BurnedBrain>
10 +++
17:14stefano-k has left IRC (stefano-k!~stefano@host19-224-static.51-82-b.business.telecomitalia.it)
17:21Gremble has left IRC (Gremble!~Ben@cpc35-aztw23-2-0-cust207.18-1.cable.virginmedia.com, Quit: I Leave)
17:23workingcats has left IRC (workingcats!~workingca@85.232.30.129, Quit: Verlassend)
17:38naboo has joined IRC (naboo!~naboo__@afle224.neoplus.adsl.tpnet.pl)
17:45monteslu_ has joined IRC (monteslu_!~monteslu@ip68-109-174-213.ph.ph.cox.net)
17:49vagrantc has joined IRC (vagrantc!~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net)
17:49vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
17:49monteslu__ has left IRC (monteslu__!~monteslu@ip68-109-174-213.ph.ph.cox.net, Ping timeout: 256 seconds)
17:55komunista has left IRC (komunista!~slavko@87.244.209.121, Ping timeout: 246 seconds)
18:02PhoenixSTF has left IRC (PhoenixSTF!~rudi@78.29.189.104, Quit: Leaving)
18:03gbaman_ has joined IRC (gbaman_!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
18:06gbaman has left IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com, Ping timeout: 248 seconds)
18:07gbaman_ has left IRC (gbaman_!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
18:07gbaman_ has joined IRC (gbaman_!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
18:09gbaman has joined IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
18:41gbaman_ has joined IRC (gbaman_!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
18:42gbaman_ has joined IRC (gbaman_!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
18:44gbaman has left IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com, Ping timeout: 248 seconds)
18:47Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 260 seconds)
18:51bieb has left IRC (bieb!~hbieber@173.226.16.130)
18:51komunista has joined IRC (komunista!~slavko@87.244.209.121)
18:59naboo has left IRC (naboo!~naboo__@afle224.neoplus.adsl.tpnet.pl, Ping timeout: 248 seconds)
19:00DJUnreal has left IRC (DJUnreal!~qscript@host31-54-29-212.range31-54.btcentralplus.com, Quit: USER ERROR: replace user and press any key to continue. [QS3])
19:04gbaman_ has left IRC (gbaman_!~gbaman@host81-130-88-58.in-addr.btopenworld.com, Remote host closed the connection)
19:04gbaman has joined IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
19:04naboo has joined IRC (naboo!~naboo__@aflr236.neoplus.adsl.tpnet.pl)
19:18adrianorg_ has joined IRC (adrianorg_!~adrianorg@177.204.79.215.dynamic.adsl.gvt.net.br)
19:18adrianorg has left IRC (adrianorg!~adrianorg@177.204.150.215.dynamic.adsl.gvt.net.br, Read error: Connection reset by peer)
19:20Parker955_Away is now known as Parker955
19:29bobby_C has joined IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at)
19:30naboo has left IRC (naboo!~naboo__@aflr236.neoplus.adsl.tpnet.pl, Remote host closed the connection)
19:35khildin has left IRC (khildin!~khildin@ip-80-236-227-200.dsl.scarlet.be, Quit: I'm gone, bye bye)
19:39naboo has joined IRC (naboo!~naboo__@aflr236.neoplus.adsl.tpnet.pl)
19:57freedomrun has left IRC (freedomrun!~freedomru@unaffiliated/freedomrun, Quit: So long and thanks for all the fish)
20:13komunista has left IRC (komunista!~slavko@87.244.209.121, Quit: Leaving.)
20:22alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 256 seconds)
20:25
<vagrantc>
doh.
20:34Gremble has joined IRC (Gremble!~Ben@cpc35-aztw23-2-0-cust207.18-1.cable.virginmedia.com)
20:36brunolambert has left IRC (brunolambert!bruno@nat/revolutionlinux/x-wivgzwyxvyoofrns, Quit: Leaving.)
20:42alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
21:14gbaman has left IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com, Remote host closed the connection)
21:16dsugar100 has left IRC (dsugar100!~dsugar@columbia.tresys.com, Quit: dsugar100)
21:18Gremble has left IRC (Gremble!~Ben@cpc35-aztw23-2-0-cust207.18-1.cable.virginmedia.com, Quit: I Leave)
21:27bobby_C has left IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at, Ping timeout: 276 seconds)
21:38alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
21:45gbaman has joined IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
21:49gbaman has left IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com, Ping timeout: 264 seconds)
22:25derekn has left IRC (derekn!4a5e491a@gateway/web/freenode/ip.74.94.73.26, Ping timeout: 250 seconds)
22:38Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
22:43naboo has left IRC (naboo!~naboo__@aflr236.neoplus.adsl.tpnet.pl, Ping timeout: 248 seconds)
22:46gbaman has joined IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
22:51gbaman has left IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com, Ping timeout: 264 seconds)
23:15Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
23:46gbaman has joined IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com)
23:51gbaman has left IRC (gbaman!~gbaman@host81-130-88-58.in-addr.btopenworld.com, Ping timeout: 264 seconds)