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


Channel log from 21 March 2010   (all times are UTC)

00:32zirconiumks has joined #ltsp
00:36Egyptian[LapTop] has joined #ltsp
00:37Egyptian[LapTop] has left #ltsp
00:41Egyptian[Home] has joined #ltsp
00:44FGXR6 has quit IRC
01:01FGXR6 has joined #ltsp
01:38
<alkisg>
Hmm I'll write my thoughts here in case anyone can help.
01:38
I want to develop a way for the "teacher" to send commands to LTSP clients and users.
01:38
I don't want to install sshd on the clients; I want the users commands to run as part of their sessions, so I need a daemon.
01:38
To keep the RAM requirements low, both the client daemon and the users daemon will be just:
01:38
nc server 12345 -e sh 2>&1
01:38
Now what I'm not sure how to do is the server part. I think the best way to implement this would be to map each connection to a socket:
01:38
/var/run/ltsp-control-server/user51_ltsp123.socket
01:38
Then the teacher could just write a command to that socket to execute it on the clients, and read the socket to get the command output. I think it may even
01:38
be possible to use the socket as a pseudotty and connect an xterm to it.
01:38
Well the question is, how would I implement the server part? inetd? socat? C? :)
01:57
<moldy>
alkisg: why not python?
01:57
<alkisg>
moldy: for the server part? sure, np...
01:58
I just don't want python in the client part, to keep the ram requirements low (i.e.64 ram for TCs)
02:00
<moldy>
i see
02:00
<alkisg>
Maybe socat is able to handle all the server part without any need for scripts - except for some initialization...
02:00
<moldy>
well, if all else fails, you can always resort to c ;)
02:00
i haven't used socat yet
02:00
<alkisg>
I think `nc server 12345 -e sh 2>&1` for the clients is good enough - I don't think we need anything more, and it only needs 3-4 MB RAM
02:01
Sure, but learning how to program C sockets would ruin all my deadlines :D
02:01
In essense, all I need is a redirection from a client /bin/sh to a server file-socket
02:03
<moldy>
security is not an issue?
02:03
<alkisg>
No, that channel will only be used for commands
02:03
I.e. open this web page, delete files, poweroff etc
02:04
It'll be "declared" as non-safe in the docs :)
02:04
But as it uses reverse connections (the client connects to the server) at least it's difficult to exploit it
02:06
It'll also enable instant client discovery, no need for the teacher app to search for TCs or connected users... they'll all be available as sockets
02:07
(for the users, nc will run from /etc/xdg/autostart from within the user session on the server, so no security issue there)
02:09
<moldy>
hm, yup
02:09
<alkisg>
(and for fat clients, a reverse port forwarding will be used within the same ssh channel that's used for login, so again, no security issue there - it's only "unsafe" for TC controlling)
03:23FGXR6 has quit IRC
03:40FGXR6 has joined #ltsp
04:17ogra_cmpc has quit IRC
04:18Selveste1 has joined #ltsp
04:19ogra_cmpc has joined #ltsp
04:40zirconiumks has quit IRC
05:18ogra_cmpc has quit IRC
05:20ogra_cmpc has joined #ltsp
05:30Egyptian[Home] has quit IRC
05:35ogra_cmpc has quit IRC
05:37ogra_cmpc has joined #ltsp
05:45Egyptian[Home] has joined #ltsp
05:48Faithful has joined #ltsp
05:53plasticdoc has joined #ltsp
05:54plasticdoc has quit IRC
06:01din_os has joined #ltsp
06:05alexqwesa has quit IRC
06:06alexqwesa has joined #ltsp
06:09try2free has joined #ltsp
06:15try2free has left #ltsp
06:39bobby_C has joined #ltsp
06:46
<alkisg>
Heh, socat might even not be needed - bash `exec 3<>/dev/tcp/server/1234` should suffice :)
07:17mikkel has joined #ltsp
07:18pmatulis has joined #ltsp
07:53Ctek has joined #ltsp
08:22Ctek_ has joined #ltsp
08:22Ctek has quit IRC
09:12litlebuda has joined #ltsp
09:25apl has joined #ltsp
09:36ogra_cmpc has quit IRC
09:38ogra_cmpc has joined #ltsp
10:00bobby_C has quit IRC
10:04bobby_C has joined #ltsp
10:10Faithful has quit IRC
10:11highvoltage has quit IRC
10:13highvoltage has joined #ltsp
10:32
<alkisg>
If I have root access on the clients, how would I turn off the speaker temporarily, so that the students couldn't turn it on themselves?
10:33
Erm, I mean the volume, not the speaker
11:15vagrantc has joined #ltsp
11:43alkisg has quit IRC
13:06pmatulis has quit IRC
13:17ogra_cmpc has quit IRC
13:18pmatulis has joined #ltsp
13:29nubae_ has quit IRC
13:29nubae has joined #ltsp
13:31ogra_cmpc has joined #ltsp
13:33nubae_ has joined #ltsp
13:34nubae has quit IRC
13:52Jinux has joined #ltsp
13:52Jinux has left #ltsp
13:57alkisg has joined #ltsp
14:14litlebuda has quit IRC
14:34pmatulis has quit IRC
14:37pmatulis has joined #ltsp
14:57hersonls has joined #ltsp
15:04pmatulis has quit IRC
15:05highvoltage has quit IRC
15:07highvoltage has joined #ltsp
15:15plasticdoc has joined #ltsp
15:16plasticdoc has left #ltsp
15:16plasticdoc has joined #ltsp
15:43mikkel has quit IRC
15:51_UsUrPeR_ has quit IRC
16:00din_os has quit IRC
16:15plasticdoc has quit IRC
16:52hersonls has quit IRC
16:59apl has quit IRC
17:01jhutchins has quit IRC
17:06johnny has left #ltsp
17:42vagrantc has quit IRC
17:43alkisg has quit IRC
17:59johnny has joined #ltsp
18:23
<map7>
I've been having trouble getting my new thin client working with it's graphics card. It will not boot up into the GUI without me setting XSERVER='vesa'
18:23
I've got a Intel GMA950 chipset, id: [8086:2772] (rev 02)
18:24
Where can I find the X log files for the client?
18:45ludug3r0 has joined #ltsp
18:48plasticdoc has joined #ltsp
18:50plasticdoc has left #ltsp
18:56bobby_C has quit IRC
19:22map7 has quit IRC
19:22map7 has joined #ltsp
19:34map7 has quit IRC
19:40map7 has joined #ltsp
19:51GodFather has joined #ltsp
19:52GodFather has quit IRC
20:06ludug3r0 has quit IRC
20:08Ctek_ has quit IRC
20:38vagrantc has joined #ltsp
20:57johnny has left #ltsp
21:11ogra_cmpc has quit IRC
21:13ogra_cmpc has joined #ltsp
21:18try2free has joined #ltsp
21:21cyberorg has quit IRC
21:22cyberorg has joined #ltsp
21:29try2free has left #ltsp
21:34robbie has joined #ltsp
21:34robbie is now known as Guest87902
21:34Guest87902 is now known as eibbor
21:35eibbor is now known as robby
21:35robby is now known as rob123
21:38
<rob123>
hi jammcq
21:38
long time no irc
21:38
(its robbie)
21:41
<jammcq>
robbie ?
21:41
hey mate
21:41
<rob123>
hey there
21:41
<jammcq>
wow, what's going on?
21:41
<rob123>
having a samba problem
21:41
ltsp was on my auto join list
21:41
<jammcq>
heh
21:42
i figure you've got a house full of kids by now
21:42
<rob123>
hows chicago ?
21:42
well 2
21:42
or are you in detroit ?
21:42
<jammcq>
well, that can seem like a house full sometimes
21:42
I'm near detroit
21:42
<rob123>
2 boys sounds like a house full
21:42
<jammcq>
about 30 miles north-west of it
21:43
<rob123>
http://www.stanford.com.au/phpigal/images/popup.php?folder=%2F1003&filename=P1010315.JPG
21:43
the tribe
21:43
<jammcq>
wow
21:43
teaching them to play hockey ?
21:43
heh, do they even HAVE hockey down there?
21:44
<rob123>
they do
21:44
theat was their first time on ice
21:44
we have 1 ice skating rink in this area
21:44
<jammcq>
cool. it's near the end of summer, eh?
21:44
<rob123>
and a wet one at that
21:45
we dont get enough cold to ice up the lakes though
21:45
wheres mistik1?
21:45
<jammcq>
dunno. haven't seen him in quite a while
21:47johnny has joined #ltsp
22:19rjune has joined #ltsp
22:22
<rob123>
jammcq: cya, dont forget if you are ever in .au let me know
22:22rob123 has quit IRC
22:35japerry has joined #ltsp
22:57daya has joined #ltsp
23:41alkisg has joined #ltsp
23:45FGXR6 has quit IRC