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


Channel log from 5 September 2009   (all times are UTC)

02:45Egyptian[Home] has quit IRC
02:46Egyptian[Home] has joined #ltsp
03:05Lns has quit IRC
04:38
<nubae>
johnny: it was in #edubuntu, not here
04:38
I let the chatroom
04:39
Anyone interested in looking at something at ripping it apart by giving constructive criticism?
04:41mikkel has joined #ltsp
04:41
<nubae>
there are no prices or stars, or even your name in golden letters.... just plain old usability testing, where u tell someone... the there is a piece of shit... take it out...
04:41
but more constructively put than that
04:42
cd /moodle
04:42
doh
04:48
i guess saturday s not the best od days to ask...
04:49nubae is now known as Nubae
06:00zamba has quit IRC
06:19pmatulis has joined #ltsp
06:30pmatulis has quit IRC
06:45ogra_ has quit IRC
06:56zamba has joined #ltsp
07:42vvinet has joined #ltsp
07:53Nubae has quit IRC
07:54Davdfaef has joined #ltsp
07:57
<Davdfaef>
hi guys i need some advice about network devices and speed
07:58
<alkisg>
!ask
07:58
<ltspbot>
alkisg: "ask" is Don't ask to ask a question, simply ask it, and if someone knows the answer, they'll respond. Please hang around for at least 15 minutes after asking a question, as not everybody constantly monitors the channel.
08:08alkisg has quit IRC
08:16
<Davdfaef>
i dont need wiki, i need real-life experience
08:23ogra_ has joined #ltsp
08:45ogra_ has quit IRC
08:47ogra_ has joined #ltsp
09:02vagrantc has joined #ltsp
09:13Davdfaef has quit IRC
09:28wwx has quit IRC
09:30wwx has joined #ltsp
10:03artista_frustrad has joined #ltsp
10:17
<johnny>
where's a good place to get a used laptop these days?
10:17
or rather.. a good cheap laptop in general :)
10:20
<vagrantc>
johnny: you're on the wrong side of the continent
10:21
<johnny>
probably
10:21
just tryin
10:21
my friend is in mexico
10:21
his laptop broke
10:21
<vagrantc>
ah.
10:21
<johnny>
he's just tryin to get a new one..
10:21
but, he's getting a friend from the states to bring him one
10:21* vagrantc can probably get a hold of a variety of cheap quirky laptops
10:22
<johnny>
well.. he edits photos
10:22
raw photos
10:22
so perhaps not
10:22
from the freegeek stock.. unless the stock has gotten so much better since i was there :)
10:25
<vagrantc>
probably considerably better, but i wouldn't recommend relying on it
10:28pmatulis has joined #ltsp
10:29
<johnny>
hmm.. but i might want to :)
10:29
for myself i mean
10:30
if i wait much longer.. what you guys have is gonna be better than my own laptop :)
10:30
1.5ghz pentium m
10:37* vagrantc looks at the udev updates in debian stable and worries a little about cdpinger
10:41
<vagrantc>
i should probably start testing with stable-proposed-updates occasionally
11:04
ok, false alarm. works fine still.
11:13F-GT has quit IRC
11:19mikkel has quit IRC
11:29
<zamba>
you recommend ubuntu server for the thin client server, yeah?
11:29
<vagrantc>
not i
11:30
<zamba>
ubuntu desktop?
11:30
<vagrantc>
i recommend debian :)
11:30
<zamba>
.. if you have to go for ubuntu, i mean :)
11:30
hehe
11:30
<vagrantc>
but if you're going with ubuntu, it's easier to use the ubuntu-desktop, yes.
11:30
<zamba>
nah.. i don't want X running on it
11:30
just want the required libraries for it
11:31
i don't want easiest, i want "best" :)
11:31
<vagrantc>
zamba: you can do it all by hand, sure.
11:31
<zamba>
yup
11:31
<vagrantc>
zamba: but i think the recommended way is to install ubuntu-desktop
11:31
since you need nearly all the ubuntu-desktop stuff
11:32
<zamba>
well.. i don't want X running on the server itself.. but i guess i can just deactivate that
11:32
<vagrantc>
zamba: do what you will. you asked :)
11:32
<zamba>
hehe, i didn't mean it that way :)
12:17vagrantc has quit IRC
12:17garymc has joined #ltsp
12:34garymc has quit IRC
12:41Selveste1_ has joined #ltsp
12:43nubae has joined #ltsp
13:01artista_frustrad has quit IRC
13:02artista_frustrad has joined #ltsp
13:03johnny has left #ltsp
13:03johnny has joined #ltsp
13:04johnny is now known as Guest23035
13:16Selveste1_ has quit IRC
14:10nubae has quit IRC
14:32Selveste1_ has joined #ltsp
15:31Egyptian[Home] has quit IRC
15:50Egyptian[Home] has joined #ltsp
15:57Ahmuck-Sr has quit IRC
16:00Ahmuck-Sr has joined #ltsp
17:02Guest23035 is now known as johnny
17:04Selveste1_ has quit IRC
17:14Selveste1_ has joined #ltsp
18:10ogra has quit IRC
18:41Selveste1_ has quit IRC
18:44nubae has joined #ltsp
18:51
<moldy>
hi
18:51
what is a robust way to detect ltsp sessions on the server?
19:17
<Ryan52>
moldy: "w"?
19:20alkisg has joined #ltsp
19:31
<moldy>
Ryan52: no, that shows all kinds of logins
19:31
Ryan52: i need to get ltsp sessions, and ltsp sessions only
19:33vvinet has quit IRC
19:33
<Ryan52>
then you'll have to parse the output of w
19:33
to figure it out
19:34
<moldy>
that's the question: what do i look for when parsing?
19:34
<alkisg>
moldy, if you're running the script as root, you could look for the "LTSP_CLIENT" environment variable in the sessions
19:35
<moldy>
alkisg: /bin/ps eaxww|grep "bash -c"|grep "LTSP_CLIENT"|grep -v grep
19:35
that's what i did so far, but it does not seem to work anymore
19:36
<alkisg>
moldy: no, I mean to `cat /proc/$pid/environ`
19:36
Want some relevant code?
19:36
<moldy>
alkisg: yes
19:37
<alkisg>
http://pastebin.com/f660644be <== that's for playing a video to all clients simultaneously, but you'll get the idea...
19:38
<moldy>
alkisg: so you're grepping for DISPLAY?
19:38
<alkisg>
For metacity
19:39
DISPLAY is what I want to broadcast video, you'd be looking for LTSP_CLIENT instead of DISPLAY...
19:40
<moldy>
grep LTSP_CLIENT /proc/*/environ |wc -l ==> 74
19:40
with 1 user logged in...
19:40
<alkisg>
Nope. You gotta use the metacity pid, not *all* pids...
19:40
<moldy>
i don't know the pid
19:40
so i must look at all ones
19:41
<alkisg>
pid=$(pgrep -u $user metacity)
19:41
?
19:41
<moldy>
i'm not dealing with any specific app, i must detect ltsp sessions
19:41
<alkisg>
Yes, I get that, don't all ltsp sessions have metacity running (or something similar?)
19:42
<moldy>
probably not if you don't use gnome
19:42
anyway, i think i i need the session's "parent", should be a ssh process, i think
19:42
<alkisg>
Yes, that's why I say something "similar"... anyway that's how I did it, if it helps, ok, if it doesn't, ask again... :)
19:42
<moldy>
i need this to be *robust*
19:43
i.e. "won't break on any minor change in how ltsp does things" :)
19:44* alkisg didn't put a lot of thought in it, it's for private use only, in school...
19:44
<moldy>
for pid in $(pgrep ssh); do grep LTSP_CLIENT /proc/${pid}/environ; done <-- this *seems* to work, but i'm not sure how robust it really is
19:45
alkisg: https://launchpad.net/tcm-ng i'm working on that app
19:45
<alkisg>
Yup I remember that... :)
19:46
Hope you're going to be releasing beta versions soon!
19:46
<moldy>
i hope so, too
19:46
<alkisg>
Does the `pgrep ssh` show only one process per logged-on-user?
19:46
<moldy>
i think we have everything except vnc working
19:47
the whole command seems to show only one process per user
19:47
i cannot do grep per user because the purpose of this code is to detect the users :)
19:49
hm no, that grep seems to find the wrong process
19:50
<alkisg>
What if the user uses ssh to connect to another pc? As a child process, won't that also have LTSP_CLIENT set?
19:51
(but even if you find more than one processes per user, I guess you can just eliminate the duplicates...)
19:51cliebow has joined #ltsp
19:52
<moldy>
yeah, all that process-grepping is a hack
19:52
it would be nice if ltsp wrote the pid of the login somewhere
19:52
maybe it does and i just don't know
19:54
hm, i guess i need to think some more about this
19:57
<cliebow>
yep
20:14cliebow has quit IRC
20:16alkisg has quit IRC
20:47ogra_ has quit IRC
20:47ogra_ has joined #ltsp
21:05Ahmuck-Sr has quit IRC
21:06Ahmuck-Sr has joined #ltsp
21:12F-GT has joined #ltsp
21:14artista_frustrad has quit IRC
21:37nubae has quit IRC
21:57Ahmuck has joined #ltsp
22:23lucascoala has joined #ltsp
22:30cyberorg has quit IRC
22:35pmatulis has quit IRC
22:38
<stgraber>
just updated the agenda for BTS2009 and added the name of who added each entry so we know who wants to speak about what
22:38
please add your own items so it doesn't seem like I'm trying to takeover the hackfest or something ;)
22:40Ahmuck has quit IRC
22:46lucascoala has quit IRC
22:47lucascoala has joined #ltsp
22:49cyberorg has joined #ltsp
23:06lucascoala has quit IRC
23:07lucascoala has joined #ltsp
23:29yanu has quit IRC
23:30yanu has joined #ltsp