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


Channel log from 20 September 2010   (all times are UTC)

00:12shogunx has joined #ltsp
00:24sweetpi has joined #ltsp
00:47johnny has left #ltsp
00:47johnny has joined #ltsp
00:49johnny has left #ltsp
00:49johnny has joined #ltsp
00:58alkisg has joined #ltsp
01:15shogunx has quit IRC
01:18shogunx has joined #ltsp
01:40poff has joined #ltsp
02:01gnunux has joined #ltsp
02:02
<gnunux>
hi
02:18
<johnny>
alkisg, since when has dnsmasq gained some pxe options?
02:18
i guess it's been quite some time since i looked at a stock config file :(
02:21
<alkisg>
johnny: I think that was in 2.49 may 2009
02:21
<johnny>
:(
02:21
neat stuff tho
02:24
<muppis>
Heh.. HowTo for PXE in DD-WRT Wiki is corrected to use dnsmasq is written 19. May 2009 :)
02:34dobber has joined #ltsp
02:42Da-Geek has joined #ltsp
02:42bobby_C has joined #ltsp
02:44alkisg has quit IRC
02:56mikkel has joined #ltsp
03:07otavio has quit IRC
03:38Eghie has joined #ltsp
03:44ltspbot` has joined #ltsp
03:44-jordan.freenode.net- [freenode-info] why register and identify? your IRC nick is how people know you. http://freenode.net/faq.shtml#nicksetup
03:44ltspbot has quit IRC
03:56alkisg has joined #ltsp
04:13ogra_cmpc has joined #ltsp
04:15sweetpi has quit IRC
04:31bobby_C has quit IRC
04:33F-GT has quit IRC
04:50F-GT has joined #ltsp
05:15alkisg has quit IRC
05:24alkisg has joined #ltsp
05:24alkisg has joined #ltsp
05:29otavio has joined #ltsp
05:29otavio has joined #ltsp
05:52artista_frustrad has quit IRC
06:22pmatulis has joined #ltsp
06:47jammcq has quit IRC
07:07[GuS] has joined #ltsp
07:07[GuS] has joined #ltsp
07:08alkisg has quit IRC
07:15alkisg has joined #ltsp
07:55mikkel has quit IRC
08:00hersonls has joined #ltsp
08:20mikkel has joined #ltsp
08:38alkisg has quit IRC
09:04alkisg has joined #ltsp
09:31mgariepy has joined #ltsp
09:32jconlon has quit IRC
09:44poff has quit IRC
10:11pmatulis has quit IRC
10:11pmatulis has joined #ltsp
10:13staffencasa has joined #ltsp
10:29gnunux has quit IRC
10:31jhutchins_lt has joined #ltsp
10:47alkisg has quit IRC
10:48Da-Geek has quit IRC
10:51klausade has quit IRC
10:56pths has joined #ltsp
11:02dobber has quit IRC
11:02[GuS] has quit IRC
11:09
<Kyle__>
What would cause sessions in the "select session" dialog to dissapear and reappear?
11:09
This is the first time I've seen it happen...
12:01Gadi has joined #ltsp
12:12alkisg has joined #ltsp
12:36vagrantc has joined #ltsp
12:36
<alkisg>
Kyle__: prolbems in ldminfod?
12:40
<Kyle__>
alkisg: ldminfod is the service that annouces available sessions?
12:40
<alkisg>
Kyle__: yes, run ldminfod on the server to see them
12:40
Or `nc server 9571`
12:41
<Kyle__>
I see all the ones I expect
12:41
<alkisg>
Right, but maybe something goes wrong when you see them disappear
12:41
<Kyle__>
I see them dissapear on some clients, but not others.
12:41
<alkisg>
Ah, you mean fat clients?
12:41
<Kyle__>
And after a reboot, or a login-logoff, the problem clients are again problem free :(
12:41
Yup, fat clients.
12:42
<alkisg>
I don't think we have proper session support in fat clients
12:42
Maybe we could run ldminfod locally or something...
12:42
<Kyle__>
O_o
12:42
It's been working just fine.
12:42
<alkisg>
With ldm?
12:42
Or gdm?
12:43
<Kyle__>
LDM.
12:43
<alkisg>
I think ldm will be listing the server sessions there, not the chroot sessions...
12:44
<Kyle__>
Right. So I've got all the sessions I need in /usr/share/xsession on the server.
12:44
<alkisg>
And only 1 server?
12:44
<Kyle__>
I have them locally on the client as well, but that's just because I like compleetness, they don't _do_ anything.
12:44
alkisg: Yes, only one server on this subnet
12:44
<alkisg>
they don't _do_ anything ==> aren't those running with fat clients?
12:45
E.g. suppose you have kubuntu on the server, but not on the chroot. With a fat client I think you'd get an error if you chose kubuntu...
12:47
(or, vise versa, if you had kubuntu on the chroot but not on the server, it wouldn't even show up on ldm)
12:48
<Kyle__>
alkisg: The fat clients seem to use the sessino script from the server, but run the executables locally.
12:48
Yes, I'd get an error if the binaries the session wanted weren't on the chroot.
12:49
<alkisg>
su - ${LDM_USERNAME} -c "$CLIENT_ENV $MY_LANG DISPLAY=$DISPLAY ICEAUTHORITY=$ICEAUTHORITY XAUTHORITY=$XAUTHORITY $LDM_XSESSION $LDM_SESSION"
12:49
That command is ran locally from the X95-run-x-session script
12:49Ahmuck-Sr has joined #ltsp
12:49Ahmuck-Sr has left #ltsp
12:49
<alkisg>
I don't see anything that would contact the server and get the session script from there
12:51* Kyle__ frowns
12:51
<Kyle__>
alkisg: Is it prehaps that my ldm.conf is that screwie?
12:51
<alkisg>
ldm.conf? or lts.conf?
12:52
<Kyle__>
sorry lts.conf.
12:53
http://pastie.org/1170450
12:53
It's really pretty simple.
12:56
<vagrantc>
ldm-server wouldn't pull in many dependencies
12:56
so wouldn't be a terrible thing to have on the thin-clients...
12:57
if boolean_is_true "$LTSP_FATCLIENT" && -f /usr/sbin/ldminfod ...
12:57
else nc server blah blah blah
12:57
<alkisg>
No dependencies at all on a fat client chroot I have here... just 12.6 KB
12:59vmu has joined #ltsp
13:00
<Kyle__>
alkisg: So are you saying the better thing to do would be to tell it to run gdm instead of ldm?
13:01
<alkisg>
Kyle__: no, I'm saying what vagrantc is also saying, to install ldminfod to the chroot and modify a little the ldm script
13:02
<Kyle__>
Ahh ok.
13:06
alkisg: How do you do it for your fat clients?
13:07
<alkisg>
I'm just using the default gnome session :)
13:08* alkisg wonders if other servers should also show up on fat clients, and the local one to get a rating of 100...
13:08
<Kyle__>
alkisg: Could be kindof cool...
13:08
<alkisg>
Kyle__: it shouldn't be hard, if you want to hack the ldm screen script a little + test it, we could even push it upstream if it works fine
13:09
<Kyle__>
alkisg: At first I had all the standard ones in there: failsafe xterm, gnome, failsafe gnome, windows xp, and on and on. Confused the HELL out of my users.
13:12
<alkisg>
if boolean_is_true "$LTSP_FATCLIENT" && [ -f /usr/sbin/ldminfod ]; then
13:12
ldminfod | sed 's/^rating:.*/rating:100/' > /var/run/ldm/localhost
13:12
fi
13:12
Maybe that could do it... inside the ldm screen script...
13:12
(with ldm-server installed on the chroot of course)
13:13
(at about line 96)
13:13
<Kyle__>
alkisg: Humm. I'm lothe to try it today: I don't have more than 15 minutes at a stretch where my lab won't be in use.
13:14
but it looks like it'd work, to me.
13:14
<alkisg>
Hmmm no, currently, it shouldn't show the other servers' sessions, as it doesn't have the logic to login remotely
13:15
So that if should be followed by the line 87, (else) if [ -n "${LDM_SERVER}" ]; then...
13:16
So, http://pastebin.com/gbQ56XNX
13:16
(and the sed there isn't even necessary now...)
13:27litlebuda has joined #ltsp
13:28
<vagrantc>
alkisg: but fatclients still log into the server for password authentication, no? and home directories (unless you're using NFS_HOME
13:28
<alkisg>
vagrantc: yes, but they run the xsession locally.. ?
13:28
<vagrantc>
alkisg: right ... but then wouldn't messing with the rating attempt to log into the home dir of the local machine?
13:29
<alkisg>
(09:16:27 PM) alkisg: (and the sed there isn't even necessary now...)
13:29
Urm, is there logic on which /home to use based on the rating?
13:30
vagrantc: let's start over, I'm proposing this one, anything that could go wrong with this? http://pastebin.com/vLAtLXZX
13:31
<vagrantc>
alkisg: is LDM_SERVER set to localhost for fatclients?
13:31
<alkisg>
No
13:31
<vagrantc>
then would it get used at all?
13:32* alkisg hasn't read all the related files... :)
13:32
<vagrantc>
i.e. it would require changing other things to make use of the ldminfod information...
13:32
alkisg: i don't think that would break anything, but it is an incomplete solution...
13:32
<alkisg>
So, it should be saved as /var/run/ldm/server ? Or it wouldn't be used then either?
13:33
vagrantc: tell me more so that I understand the subject better...
13:33
<vagrantc>
i don't remember the exact details, and need to work on other things right now...
13:33
<alkisg>
OK
13:33
I'll dig in
13:33
ty
13:34
<vagrantc>
alkisg: nothing like just trying things and poking at what's there, too :)
13:34
<alkisg>
Reading all the related scripts should help too :P :D
13:34
<vagrantc>
alkisg: i'm moderately sure that it just uses the ldminfo information that matches LDM_SERVER
13:34* alkisg hasn't really read ldminfod before..
13:35
<alkisg>
I guess then /var/run/ldm/server should do (instead of localhost)...
13:35
<vagrantc>
so we'd need to change that behavior when set as a fatclient
13:35
that wouldn't work if they set LDM_SERVER to something other than "server".
13:35
<alkisg>
Hmm ldminfo.c... first time reading this one :D
13:36
<vagrantc>
probably /var/run/ldm/${LDM_SERVER}
13:36
but that'd be confusing
13:45vmlintu has quit IRC
13:45japerry has joined #ltsp
13:45
<alkisg>
This one worked for me: http://pastebin.com/AWvGa89h
13:48
Kyle__: if you have some minutes, feel free to test it ^^^
13:53
Also write the server to /etc/hosts, if it's different than "server": http://pastebin.com/Yge7wLU7
13:54
<Kyle__>
alkisg: Unfortunately I have not more than 15 minutes between classes in my lab today, so I'm not gonna have time to tesat till proably wednesday. Maybe tomorrow if I get here early.
13:55
<alkisg>
Kyle__: ok, final one (with a comment): http://pastebin.com/BmRbvkfH - if that works, give us some feedback to push it upstream.
14:00bobby_C has joined #ltsp
14:10vagrantc has quit IRC
14:11jhutchins_lt has quit IRC
14:13vagrantc has joined #ltsp
14:55pmatulis has quit IRC
15:03dserban has joined #ltsp
15:03Gadi has left #ltsp
15:04
<dserban>
Good afternoon. I'm wondering if anyone knows of an easy way to get a client to hit the nbd swap, I have a feeling that it's not configured properly and therefore killing the client sessions.
15:05
Also, is ltsp-remoteapp ready for prime-time? Last I heard it was being developed and not ready, but either I use something like it, or I have to reconfigure my proxy as all traffic would be coming from the app server and I use ip based rules. :/ (pain in t3h butt)
15:08
<alkisg>
distro/version?
15:11japerry has quit IRC
15:12
<dserban>
alkisg: debian lenny w/backports
15:12
I'm seriously contemplating on upgrading to squeeze now, I've found other bugs unrelated to ltsp, but with lenny itself that haven't been fixed yet.
15:13
<alkisg>
You want to stress the nbd swap to see if that crashes your sessions?
15:13
<dserban>
People also complain about lag/speed etc, I'll be making a post on the list about that, to detail what I've tried/attempted and the topology.
15:13
alkisg: yes sir
15:13
<alkisg>
!localxterm
15:13
<ltspbot`>
alkisg: "localxterm" :: while sitting on a thin client, open a gnome terminal. In that, run: ltsp-localapps xterm. An xterm will open. That xterm runs locally, so any commands you enter there are executed directly on the client.
15:13
<alkisg>
I think that works on lenny with backports, right?
15:13
<dserban>
alkisg: right, but how would I make the kernel swap?
15:13
alkisg: yes it does
15:14
<alkisg>
Allocate much memory, e.g. with the stress tool...
15:14
<dserban>
I guess I could install stress
15:14
aye
15:15
<alkisg>
(or you could just run a bunch of shells or local xterms :))
15:15
<dserban>
heh
15:16
well 512mb should suffice, but I have one girl that keeps losing her session. I have a feeling it has to do with firefox/iceweasel running locally. (which is another problem I'm having to wade through).
15:16
Overall my users hate ltsp so far .. heh :P I've gotta convince them that it's better.
15:16
<alkisg>
How much nbd swap do you have per client?
15:16
<dserban>
512mb
15:17
<alkisg>
Sounds good enough for the session not to crash :)
15:17
<dserban>
I have a feeling it isn't even hitting swap. She just locks up, seconds later is returned to ldm.
15:17
X memory setting is at 85%
15:17vmu has quit IRC
15:18
<alkisg>
I think you can even use dd to create a file to make the tmpfs use local ram...
15:19
<dserban>
alkisg: I don't get what you mean..? create a file on the client..? to make ... isn't tmpfs a ramdisk? :/
15:19
<alkisg>
What do you get if you run `mount` on a localxterm?
15:19
(I haven't used debian with ltsp, I'm using ubuntu...)
15:19
<dserban>
uno momento
15:20
Aye I remember :P I've been here before, picking away at vagrantc's sanity.
15:21
uhh I wish I could copy/paste into a pastebin, but I Have quite a few entries when I type mount on the client
15:21
<alkisg>
Is /tmp/ mounted as a tmpfs?
15:21
<dserban>
let me check
15:21
yes two entries for /tmp as tmpfs
15:22
<alkisg>
Then dd if=/dev/urandom of=/tmp/somefile and come count there should fill the ram...
15:22
<dserban>
tmpfs on /tmp type tmpfs (rw,mode=755)
15:22
:o
15:22
ok
15:24
<alkisg>
(or just install stress :))
15:24
<dserban>
hmm once it hits 264mb, it stops with no space left on device :/
15:24
ok
15:25* dserban installs stress
15:26
<alkisg>
You can do that to other tmpfs's, like /var/run, to exceed your ram..
15:31
Heh, out of memory, killing xorg... :D
15:31poff has joined #ltsp
15:33
<Kyle__>
Silly me, I can't read the schedule right.
15:33
I _do_ have a nice block of free time where I can test.
15:34jhutchins_lt has joined #ltsp
15:35
<alkisg>
dserban: http://imagebin.org/114917
15:37cole2 has joined #ltsp
15:38
<cole2>
Is is anyone here from yesterday regarding my firefox/javascript lagging issues?
15:38mgariepy has quit IRC
15:42
<Kyle__>
alkisg: OK, realy silly question... where on earth is that file to patch? I don't know where the screen.d directory is.
15:43
<alkisg>
Kyle__: /opt/ltsp/i386/usr/share/ltsp/screen.d/ldm
15:43
<Kyle__>
alkisg: Ahh ha.
15:44
<alkisg>
Kyle__: the whole patched file, to save you from applying the patch: http://pastebin.com/XxQXeM3E
15:44
<Kyle__>
alkisg: You're awesome.
15:48
Err, is that really the patched file? When I md5sum it, it shows the same as the file I had...
15:48
<dserban>
sorry alkisg had to run for a moment
15:50
<alkisg>
Kyle__: sorry, wrong chroot
15:50
<Kyle__>
he, no problem.
15:51
How many do you have going?
15:51
<alkisg>
Kyle__: http://pastebin.com/njHJReLh
15:51
2, one fat and one thin (the latter just for testing the manuals we're writing)
15:52
<dserban>
question: why does the ltsp site look so dead? mainly just time constraints or did version 5 fork from the original?
15:52
<alkisg>
The server went down so the docs moved to the sourceforge site, see the topic link
15:53
<Kyle__>
alkisg: Neat.
15:53
<dserban>
oh the wiki wasn't saved?
15:53
<Kyle__>
Ahh, and yes, that file is distinctly different.
15:54
<alkisg>
It was saved, it's being moved slowly to the mediawiki in the sf...
15:55
<dserban>
ah, ok
16:01klausade has joined #ltsp
16:02hersonls has quit IRC
16:05
<Kyle__>
alkisg: Wait, I needed to install something in there first.... was it ldmserver?
16:05
<alkisg>
sudo chroot /opt/ltsp/i386 apt-get install ldm-server
16:05
<Kyle__>
Doh. That's it.
16:05* Kyle__ whistles to himself quietly
16:05
<alkisg>
:)
16:06mikkel has quit IRC
16:16Lns has joined #ltsp
16:16Lns has joined #ltsp
16:22
<Kyle__>
alkisg: Somethigns not right... It's just scrolling on by with an error about openvt exec failed no such file or directory.
16:23
<alkisg>
Kyle__: ls -l /opt/ltsp/i386/usr/share/ltsp/screen.d/ldm
16:23
<Kyle__>
Yes?
16:23
It's there.
16:23
<alkisg>
Can you paste the result here?
16:24
<Kyle__>
-rwxr-xr-x 1 root root 4198 Sep 20 15:52 /opt/ltsp/i386/usr/share/ltsp/screen.d/ldm
16:24
<alkisg>
OK, it's executable, but mine is 3992 bytes, why is yours so much larger?
16:26* Kyle__ shrugs
16:26
<Kyle__>
what's your md5sum? We may be using idfferent filesystems.
16:26
ed8966c875036685cd1c25587568cd26
16:26
<alkisg>
That's the byte count, so I don't think the fiile system affects it... a105b0ada89b3c626d5267906e9ca8db
16:27
<dserban>
I have people leaving themselves logged in at night, where the shutdown does not take effect. Is there a better way to do it other than cron'ning a shutdown -h now?
16:27
<Kyle__>
Wait.. you know, it may have been replaced when I installed the ldm server.
16:27
<alkisg>
Kyle__: nope
16:27
Can you pastebin its contents?
16:29
<Kyle__>
OK, but I just downloaded it from pastebin. Well that and scped it into place, then changed permissions and ownership.
16:29
Here's the one I got it from http://pastebin.com/njHJReLh
16:30
<alkisg>
Kyle__: did you get the hashes too? (#)
16:30
Erm sorry the line numbers
16:31
<Kyle__>
Nope, I used the download link.
16:31
<alkisg>
Ah, it adds DOS line breaks
16:32
(still, it should be 102 bytes longer, not *that* longer :))
16:32* Kyle__ shrugs :)
16:32
<Kyle__>
Could that be killing it I wonder?
16:33
<alkisg>
Yup
16:33
The shebang is considered wrong if it has dos line breaks
16:33
#!/bin/sh^M ==> no such executable
16:33
<Kyle__>
OK, I'll copy and paste then.
16:34
Weird. Stupid pastebin.
16:34
<alkisg>
k
16:34
Yeah I didn't see that before... maybe it's just "pastebin.com"... let me see in others...
16:34
<Kyle__>
btw my md5sum is still different than yours.
16:35
<alkisg>
Don't worry it's probably just the last enter
16:35
3991 ?
16:36
<Kyle__>
um. 4067 actually.
16:37
<alkisg>
Heh
16:38
<Kyle__>
When did vim start hiding those anyway? Grr.
16:38* Kyle__ waits for the image to finish...
16:38
<alkisg>
wget http://pastebin.com/download.php?i=fW50v96P -O /tmp/ldm
16:39
That still cuts the last "enter", so it's 3991, but at least it run :)
16:40
<Kyle__>
alkisg: Is that a magic pastebin URL? OR a compleetly new posting?
16:40
<alkisg>
A new posting, I was testing "pastebinit" instead of manually pasting at the site
16:40
I didn't manage to get the same md5sum in any way :D
16:40
(due to the last enter)
16:42
<Kyle__>
:)
16:43
crazy. Allright. just have to wait a few minutes for the new-new-new image.
16:49
Whew, 7 minutes, 19 seconds. I need a faster box to run this.
17:01* alkisg uses a separate partition for the fat chroot, to avoid using ltsp-update-image
17:02
<Kyle__>
alkisg: I was, then I switched to the building method when I migrated to a different server. Haven't switched back yet.
17:03
...although I recall there being some good reason for not doing it... humm.
17:03
<alkisg>
You couldn't update the image while the users were using it :)
17:03
Anyway, did it work?
17:03
<Kyle__>
That's it!
17:03
Yes, it seems to be good. I can see all the sessions on each workstation now.
17:03
...which before today I could anyway :) but I can again, which is good.
17:04poff has quit IRC
17:04
<alkisg>
You were just lucky before :)
17:04
I'll wait for feedback from another person that wants to test this with kubuntu and I'll commit it then.
17:04
Goodnight all...
17:05
<Kyle__>
alkisg: That's scary. How this semester has gone, to consider myself lucky gives me the willies!
17:05
<alkisg>
Kyle__: you just happened to have the same sessions on the server as those on the chroot
17:05
Now you can even use fat clients with no DE on the server
17:06
(hopefully :D)
17:06
bb
17:06alkisg has quit IRC
17:06
<Kyle__>
Wow. awesome.
17:13Lns has quit IRC
17:15Lns has joined #ltsp
17:37
<Kyle__>
goin home a little early. Weeeha!
17:57bobby_C has quit IRC
17:59vagrantc has quit IRC
18:13vagrantc has joined #ltsp
18:31jhutchins_kc has joined #ltsp
18:35jhutchins has quit IRC
18:48staffencasa has quit IRC
19:03mgariepy has joined #ltsp
19:10Lns has quit IRC
19:17mgariepy has quit IRC
19:25vagrantc has quit IRC
19:33pmatulis has joined #ltsp
19:35pmatulis_ has joined #ltsp
19:37jhutchins_lt has quit IRC
19:42korcan has joined #ltsp
19:43korcan has quit IRC
19:45korcan_ has joined #ltsp
19:46litlebuda has quit IRC
19:52ogra_cmpc has quit IRC
20:05ogra_cmpc has joined #ltsp
20:26korcan_ has quit IRC
20:27korcan_ has joined #ltsp
20:30pmatulis_ has joined #ltsp
20:33jhutchins_lt has joined #ltsp
20:41pmatulis_ has quit IRC
20:42jhutchins_lt has quit IRC
20:43pmatulis has quit IRC
20:59F-GT has quit IRC
21:02F-GT has joined #ltsp
21:08rjune has quit IRC
21:08ogra has quit IRC
21:09ogra has joined #ltsp
22:14MorningSon has quit IRC
22:18vagrantc has joined #ltsp
22:20korcan_ has quit IRC
22:46mistik1_ has joined #ltsp
22:48mistik1 has quit IRC
22:48mistik1_ is now known as mistik1
22:53_UsUrPeR_ has quit IRC
22:54_UsUrPeR_ has joined #ltsp
23:05otavio has quit IRC
23:05otavio has joined #ltsp
23:05otavio has joined #ltsp
23:08korcan has joined #ltsp
23:38cole2 has quit IRC