00:32 | zirconiumks has joined #ltsp | |
00:36 | Egyptian[LapTop] has joined #ltsp | |
00:37 | Egyptian[LapTop] has left #ltsp | |
00:41 | Egyptian[Home] has joined #ltsp | |
00:44 | FGXR6 has quit IRC | |
01:01 | FGXR6 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:23 | FGXR6 has quit IRC | |
03:40 | FGXR6 has joined #ltsp | |
04:17 | ogra_cmpc has quit IRC | |
04:18 | Selveste1 has joined #ltsp | |
04:19 | ogra_cmpc has joined #ltsp | |
04:40 | zirconiumks has quit IRC | |
05:18 | ogra_cmpc has quit IRC | |
05:20 | ogra_cmpc has joined #ltsp | |
05:30 | Egyptian[Home] has quit IRC | |
05:35 | ogra_cmpc has quit IRC | |
05:37 | ogra_cmpc has joined #ltsp | |
05:45 | Egyptian[Home] has joined #ltsp | |
05:48 | Faithful has joined #ltsp | |
05:53 | plasticdoc has joined #ltsp | |
05:54 | plasticdoc has quit IRC | |
06:01 | din_os has joined #ltsp | |
06:05 | alexqwesa has quit IRC | |
06:06 | alexqwesa has joined #ltsp | |
06:09 | try2free has joined #ltsp | |
06:15 | try2free has left #ltsp | |
06:39 | bobby_C has joined #ltsp | |
06:46 | <alkisg> Heh, socat might even not be needed - bash `exec 3<>/dev/tcp/server/1234` should suffice :)
| |
07:17 | mikkel has joined #ltsp | |
07:18 | pmatulis has joined #ltsp | |
07:53 | Ctek has joined #ltsp | |
08:22 | Ctek_ has joined #ltsp | |
08:22 | Ctek has quit IRC | |
09:12 | litlebuda has joined #ltsp | |
09:25 | apl has joined #ltsp | |
09:36 | ogra_cmpc has quit IRC | |
09:38 | ogra_cmpc has joined #ltsp | |
10:00 | bobby_C has quit IRC | |
10:04 | bobby_C has joined #ltsp | |
10:10 | Faithful has quit IRC | |
10:11 | highvoltage has quit IRC | |
10:13 | highvoltage 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:15 | vagrantc has joined #ltsp | |
11:43 | alkisg has quit IRC | |
13:06 | pmatulis has quit IRC | |
13:17 | ogra_cmpc has quit IRC | |
13:18 | pmatulis has joined #ltsp | |
13:29 | nubae_ has quit IRC | |
13:29 | nubae has joined #ltsp | |
13:31 | ogra_cmpc has joined #ltsp | |
13:33 | nubae_ has joined #ltsp | |
13:34 | nubae has quit IRC | |
13:52 | Jinux has joined #ltsp | |
13:52 | Jinux has left #ltsp | |
13:57 | alkisg has joined #ltsp | |
14:14 | litlebuda has quit IRC | |
14:34 | pmatulis has quit IRC | |
14:37 | pmatulis has joined #ltsp | |
14:57 | hersonls has joined #ltsp | |
15:04 | pmatulis has quit IRC | |
15:05 | highvoltage has quit IRC | |
15:07 | highvoltage has joined #ltsp | |
15:15 | plasticdoc has joined #ltsp | |
15:16 | plasticdoc has left #ltsp | |
15:16 | plasticdoc has joined #ltsp | |
15:43 | mikkel has quit IRC | |
15:51 | _UsUrPeR_ has quit IRC | |
16:00 | din_os has quit IRC | |
16:15 | plasticdoc has quit IRC | |
16:52 | hersonls has quit IRC | |
16:59 | apl has quit IRC | |
17:01 | jhutchins has quit IRC | |
17:06 | johnny has left #ltsp | |
17:42 | vagrantc has quit IRC | |
17:43 | alkisg has quit IRC | |
17:59 | johnny 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:45 | ludug3r0 has joined #ltsp | |
18:48 | plasticdoc has joined #ltsp | |
18:50 | plasticdoc has left #ltsp | |
18:56 | bobby_C has quit IRC | |
19:22 | map7 has quit IRC | |
19:22 | map7 has joined #ltsp | |
19:34 | map7 has quit IRC | |
19:40 | map7 has joined #ltsp | |
19:51 | GodFather has joined #ltsp | |
19:52 | GodFather has quit IRC | |
20:06 | ludug3r0 has quit IRC | |
20:08 | Ctek_ has quit IRC | |
20:38 | vagrantc has joined #ltsp | |
20:57 | johnny has left #ltsp | |
21:11 | ogra_cmpc has quit IRC | |
21:13 | ogra_cmpc has joined #ltsp | |
21:18 | try2free has joined #ltsp | |
21:21 | cyberorg has quit IRC | |
21:22 | cyberorg has joined #ltsp | |
21:29 | try2free has left #ltsp | |
21:34 | robbie has joined #ltsp | |
21:34 | robbie is now known as Guest87902 | |
21:34 | Guest87902 is now known as eibbor | |
21:35 | eibbor is now known as robby | |
21:35 | robby 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:47 | johnny has joined #ltsp | |
22:19 | rjune has joined #ltsp | |
22:22 | <rob123> jammcq: cya, dont forget if you are ever in .au let me know
| |
22:22 | rob123 has quit IRC | |
22:35 | japerry has joined #ltsp | |
22:57 | daya has joined #ltsp | |
23:41 | alkisg has joined #ltsp | |
23:45 | FGXR6 has quit IRC | |