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


Channel log from 3 February 2015   (all times are UTC)

00:00telex has left IRC (telex!teletype@freeshell.de, Remote host closed the connection)
00:01staffencasa has left IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu, Read error: Connection reset by peer)
00:02telex has joined IRC (telex!teletype@freeshell.de)
00:02staffencasa has joined IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu)
01:05staffencasa has left IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu, Read error: Connection reset by peer)
01:13kwmiebach has left IRC (kwmiebach!sid16855@gateway/web/irccloud.com/x-eswszovwnatxeise, Ping timeout: 265 seconds)
01:24kwmiebach has joined IRC (kwmiebach!sid16855@gateway/web/irccloud.com/x-kwcviinaqpzdlcom)
04:08adrianorg has left IRC (adrianorg!~adrianorg@179.179.75.82, Ping timeout: 264 seconds)
04:15adrianorg has joined IRC (adrianorg!~adrianorg@179.179.75.82)
05:49freedomrun has joined IRC (freedomrun!~quassel@unaffiliated/freedomrun)
06:08work_alkisg1 is now known as alkisg
06:24eemeli has joined IRC (eemeli!3e94cd0c@gateway/web/freenode/ip.62.148.205.12)
07:02
<eemeli>
what is the best way for automatic shutdown when using autologin in 12.04 ubuntu ltsp-pnp ?
07:04FGXR6 has joined IRC (FGXR6!~phantom@ppp121-44-195-61.lns20.syd7.internode.on.net)
07:04F-GTSC has left IRC (F-GTSC!~phantom@ppp121-44-39-208.lns20.syd4.internode.on.net, Ping timeout: 272 seconds)
07:06
<alkisg>
eemeli: automatic based on time, or on a command sent by the sysadmin?
07:08
<eemeli>
im trying to do it with lts.conf shutdown_time or crontab_01 but cant get it work
07:14
<vagrantc>
there were some bugs in shutdown handling in older versions of ltsp/ldm
07:15* vagrantc thinks CRONTAB_XX might be an indicator that KEEP_SYSTEM_SERVICES should include cron
07:16
<alkisg>
I think cron isn't automatically removed, except for extremely low-ram clients, e.g. <= 128 MB RAM
07:16* vagrantc nods
07:16
<alkisg>
eemeli: what's the version of ltsp-client in your system?
07:20
<eemeli>
5.5.1
07:21
<alkisg>
It's recent enough, you're probably using the Greek schools PPA
07:21
!screen_02
07:21
<ltsp`>
screen_02: To get a root shell on an Ubuntu thin client: https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting#Using_a_shell_SCREEN
07:21
<alkisg>
Login to the client as root and check if shutdown time got written in crontab
07:22
<eemeli>
im in with epoptes root terminal and there is no crontab for root
07:22
<alkisg>
What's the output of `getltscfg -a` there?
07:23vmlintu has joined IRC (vmlintu!~vmlintu@a91-152-200-70.elisa-laajakaista.fi)
07:24vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
07:28
<eemeli>
the crontab_01 is in there
07:31
<alkisg>
eemeli: and, the output of `cat /etc/cron.d/ltsp` ?
07:35
<eemeli>
30 9 * * 1-5 /sbin/shutdown -h now
07:37
<alkisg>
So, it's there
07:37
<eemeli>
but it wont go down...
07:38
<alkisg>
Is cron running? ps aux| grep cron
07:39
Also I don't see the "user" there in that crontab line, are you sure it's correct?
07:39
Did you use shutdown_time or crontab?
07:39
Better use shutdown_time, reboot the client and check again that file
07:40
<eemeli>
i have tryed, didnt get it work
07:41
<alkisg>
Yes, troubleshoot it now
07:41
Check that /etc/cron.d/ltsp file after setting shutdown_time
07:41
<eemeli>
ok
07:43ricotz has joined IRC (ricotz!~rico@ubuntu/member/ricotz)
07:59
<eemeli>
there is 2 lines: 55 9 * * * root test ! -S "$(ls -1 /var/run/ldm_socket_* | head -1)" && PATH=\$PATH:/sbin/ poweroff and 55 9 * * 1-5 /sbin/shutdown -h now
08:01
<alkisg>
That "ls" command means "if someone is logged in, don't shut the client down"
08:01
I don't know about the second line
08:03
<eemeli>
ok, so i dont need the "ls"
08:06
<alkisg>
!nbd-client
08:06
<ltsp`>
nbd-client: To try mounting the NBD image from the client initramfs: nbd-client 192.168.67.1 -N /opt/ltsp/i386 /dev/nbd0
08:06
<alkisg>
(unrelated to our chat)
08:09
The ls part isn't a problem
08:09
You can test if the clients shuts down if it's not logged in
08:10
(09:38:29 πμ) alkisg: Is cron running? ps aux| grep cron
08:12
<eemeli>
the client goes down if user is not logged in
08:13vmlintu has left IRC (vmlintu!~vmlintu@a91-152-200-70.elisa-laajakaista.fi, Ping timeout: 250 seconds)
08:28vmlintu has joined IRC (vmlintu!~vmlintu@a91-152-200-70.elisa-laajakaista.fi)
08:29Grembler has joined IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net)
08:29ame has joined IRC (ame!75c137fb@gateway/web/freenode/ip.117.193.55.251)
08:30
<ame>
i am trying to install MPLABX its an application which needs java...But it saying error if i started installing that application from chroot
08:31
"BUS error"
08:33
<alkisg>
eemeli: if you don't want that "ls" check, remove it from /usr/share/ltsp/init-ltsp.d/50-cron
08:33
ame: that question is not related to ltsp, ask it in another channel...
08:34
<eemeli>
yes.. i idid found it and it works! thx!
08:34
<ame>
alkisg:But i am trying to install that in chroot but its working good if i install that software on my server
08:35
<alkisg>
ame: yes, chroot questions are not specific to ltsp
08:36
<ame>
alkisg:ok i will ask some other channel
08:36ame has left IRC (ame!75c137fb@gateway/web/freenode/ip.117.193.55.251, Quit: Page closed)
08:36
<alkisg>
For example, you can go in #ubuntu and ask them "how can I install java in a chroot"?
08:36
...too late
08:43telex has left IRC (telex!teletype@freeshell.de, Remote host closed the connection)
08:44telex has joined IRC (telex!teletype@freeshell.de)
08:56eemeli has left IRC (eemeli!3e94cd0c@gateway/web/freenode/ip.62.148.205.12, Quit: Page closed)
09:21freedomrun has left IRC (freedomrun!~quassel@unaffiliated/freedomrun, Read error: Connection reset by peer)
09:25marjus has joined IRC (marjus!marius@flage.org)
09:25zamba has left IRC (zamba!marius@flage.org, Ping timeout: 245 seconds)
09:44eemeli has joined IRC (eemeli!~AndChat54@85-76-39-39-nat.elisa-mobile.fi)
09:50eemeli has left IRC (eemeli!~AndChat54@85-76-39-39-nat.elisa-mobile.fi, Quit: Bye)
09:56work_alkisg has joined IRC (work_alkisg!~alkisg@r-dide.ioa.sch.gr)
09:57work_alkisg has joined IRC (work_alkisg!~alkisg@ubuntu/member/alkisg)
09:57alkisg has left IRC (alkisg!~alkisg@srv1-dide.ioa.sch.gr, Disconnected by services)
09:57work_alkisg is now known as alkisg
10:15alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Read error: Connection reset by peer)
10:17work_alkisg has joined IRC (work_alkisg!~alkisg@srv1-dide.ioa.sch.gr)
10:17work_alkisg is now known as alkisg
10:27alkisg is now known as work_alkisg
10:38vmlintu has left IRC (vmlintu!~vmlintu@a91-152-200-70.elisa-laajakaista.fi, Read error: Connection reset by peer)
11:05marjus is now known as zamba
11:14Faith has joined IRC (Faith!~paty@unaffiliated/faith)
12:28markit has joined IRC (markit!~marco@host179-38-static.243-95-b.business.telecomitalia.it)
12:51sutula_ has joined IRC (sutula_!~sutula@207-118-137-143.dyn.centurytel.net)
12:57sutula has left IRC (sutula!~sutula@207-118-137-143.dyn.centurytel.net, Ping timeout: 250 seconds)
12:57sutula_ is now known as sutula
13:08Grembler has left IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net, Quit: I Leave)
13:28freedomrun has joined IRC (freedomrun!~quassel@unaffiliated/freedomrun)
13:29championofcyrodi has joined IRC (championofcyrodi!~cott@50-205-35-98-static.hfc.comcastbusiness.net)
13:31freedomrun has left IRC (freedomrun!~quassel@unaffiliated/freedomrun, Read error: Connection reset by peer)
13:34freedomrun has joined IRC (freedomrun!~quassel@unaffiliated/freedomrun)
13:51mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Quit: Leaving)
14:04mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
14:13
<championofcyrodi>
so... i can't get to 'arxiv.org' with the fat clients.
14:13
but desktops can... same LAN, same external IP.
14:14
tried changing the user agent string on browser, same thing.
14:29vmlintu has joined IRC (vmlintu!~vmlintu@a91-152-200-70.elisa-laajakaista.fi)
14:34
<championofcyrodi>
access denied, because they think the users are bots
15:08guest_____ has joined IRC (guest_____!bc78c335@gateway/web/freenode/ip.188.120.195.53)
15:08
<guest_____>
hello, can someone tell me if it's possible to get all the clients to reboot when the ltsp server is restarting?
15:14telex has left IRC (telex!teletype@freeshell.de, Remote host closed the connection)
15:16telex has joined IRC (telex!teletype@freeshell.de)
15:29Grembler has joined IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net)
15:31
<markit>
guest_____: mmm maybe using some code from Epoptes project and having epoptes installed...
15:32
or you could do manually with Epoptes from the server
15:32
guest_____: http://www.epoptes.org/
15:33
work_alkisg: the link in www.epoptes.org related to sch-scripts is broken (points to http://wiki.ubuntu-gr.org/sch-scripts/screenshots that does not exist anymore)
15:36
<guest_____>
markit: isn't epoptes gui only? I got that impression from it. I have server CLI only
15:37
<markit>
guest_____: ah, you are doomed then
15:38
guest_____: don't you have a teacher with a client?
15:38
I mean, you can configure epoptes to run in a certain client
15:38
so teacher restarts server, restarts his client, and reboots children pcs
15:38
with epoptes... or you can dig epoptes python code and see how it reboots clients
15:39
so maybe you can take that code and broadcast the reboot from script
15:39
but these are just ideas since there is no what you are looking for, AFAIK
15:42
<guest_____>
markit: I am doing kiosk clients, where all of them uses just basic nodm with chromium running in it (and heavily modified kioskSession script). I am trying to notify all the kiosk clients if the server gets restarted because if I won't do it, it just starts throwing errors since the mount is obviously gone
15:43
I am also running Nagios on the server with NRPE on clients if that's of any help, though I am not sure I can make clients restart with NRPE
15:44
<markit>
guest_____: don't know if Wake ON lan can also restart pcs
15:45
guest_____: in any case, if you install epoptes client in chroot, and epoptes server in the server
15:45
maybe you can issue commands to the client using epoptes python code
15:45
you should ask work_alkisg that is the designer of epoptes and a real LTSP guru
15:46
guest_____: since epoptes is free code, you can have a look at the code yourself
15:47
<guest_____>
so i would be able to run epoptes without having xorg on server? and I am not really good in python to be honest, so I am not sure if poking around in source code would help
15:48
<markit>
guest_____: AFAIU epoptes is server and client, + graphical interface
15:49
I think it always runs the daemon part on the server, but I've used it graphically and never digged into details
15:49
is only the only idea comes to my mind
15:49
<guest_____>
alright, I'll test it and see how it goes.. Thanks for you help!
16:04staffencasa has joined IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu)
16:14alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
16:18adrianorg has left IRC (adrianorg!~adrianorg@179.179.75.82, Ping timeout: 250 seconds)
16:18
<guest_____>
markit: I installed nodm on server as well and the GUI works but it's still only "klick to kill", I need automatic restarting when something happens.I also found from where it's executed but I have no idea how it works, I can't make any sense from those codes :/
16:20adrianorg has joined IRC (adrianorg!~adrianorg@177.156.59.219)
16:26alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 255 seconds)
16:41
<markit>
guest_____: don't know "nodm", is it in epoptes?
16:41
I think that for shutdown / reboot epoptes daemon talks with epotes client
16:42gbaman has joined IRC (gbaman!~gbaman@31.205.104.150)
16:46
<guest_____>
no, nodm is very simple display manager, it has nothing to do with epoptes, just me trying to get some kind of gui going on the server. What I found is it's sending a command "'%s %s' %(command[0], ' '.join([pipes.quote(str(x)) for x in command[1:]]))" where command[0] should be reboot]
16:49
on server that is, I am just trying to figure out what it is actually sending so i can replicate that with another script
16:51gbaman has left IRC (gbaman!~gbaman@31.205.104.150, Remote host closed the connection)
16:55alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
16:58
<markit>
guest_____: I think that you really have to find work_alkisg online and ask him
16:58* alkisg waves
16:59
<alkisg>
About automatic client reboot? Nah epoptes isn't good for that, because e.g. if the server reboots due to outage, then the client nbd connection is lost, and there's no way for epoptes to do anything without a file system
16:59
But, kernel parameters like panic=30 help
17:00
Or a loop that checks for the server connection and uses the reboot sysrq call to reboot...
17:01* markit waves alkisg :)
17:02
<guest_____>
alkisg: I needed more of a planned restart/shutdown, when I know the clients will need it (for example following ltsp-image-update, shutdown controled with cron after work-hours, etc.)
17:02
<alkisg>
Why planned and not fully automatic?
17:02
Suppose your server hangs, don't you want the clients automatically rebooted?
17:03
<guest_____>
yes, but if server hangs, the clint won't reconnect after restart anyway since the server will be still frozen :)
17:04
<alkisg>
If you have a delay on the client, e.g. 30 seconds or 2 minutes before the automatic restart, there's a chance that the server will be online then,
17:04
and, you can configure your clients to loop until it's online again
17:05
In any case manually rebooting the clients won't offer any advantage to what you said...
17:07
<guest_____>
fair enough, but shuting them down at the end of the day would still be useful and I'd rather make it from the server rather than makin it localy with cron since I would have much wider options of influencing the shutdown time instead of updating image everytime
17:08
<alkisg>
To send scripted commands from the server to the clients, you either need a daemon (sshd, netcat...) or the console version of epoptes, which isn't yet ready
17:09
LTSP doesn't have a daemon for that, you use normal utilities
17:09
<guest_____>
can't I just send a command to client the same GUI is sending?
17:10
<alkisg>
You need to implement the part of the gui that talks to the daemon
17:10
So, no
17:10
You can however use another pc for the epoptes daemon, and use a gui there instead of using it on the server
17:10
but no scripting that way either
17:11
<guest_____>
damn.. well guess I'll have to ssh to shutdown it remotely then
17:11
thanks for the help!
17:12
<markit>
alkisg: any updated epoptes roadmap? How is Phantomas? long time I don't talk with him
17:12
and how are you?
17:12
<alkisg>
markit: nah, epoptes development has stalled for a bit, until we move on with ltsp6 first
17:13
<markit>
any link for ltsp6 planned features? I'm so curious
17:14
<alkisg>
no ldm, new configuration daemon...
17:14
No links for the whole roadmap, some of them are on the wiki though, e.g. http://wiki.ltsp.org/wiki/Dev:Ltspd
17:15
<markit>
thanks :) You still strong in deplyoing ltsp to schools? No M$ interference at government level?
17:17
ehm, maybe you are busy right now, hope to find online again sooner or later, I'm not often here though
17:18
<alkisg>
Yup I'm a little preoccupied with other things, but no, no interference with deploying ltsp
17:18
http://www.ltsp.org/stories/widget-map/?location=Greece
17:18
More schools there each day...
17:18
In my city, there's only one high school *not* using ltsp yet ;)
17:20
<ogra_>
evil !
17:20
fix them !!
17:20
:)
17:21
<alkisg>
Nowadays I don't have to go convince them, they come and ask for my help in installing ltsp because they hear from other teachers that it's working good :)
17:22
<ogra_>
:D
17:24doctari has joined IRC (doctari!~doctari@2602:30a:2ccf:9f00:c7f:a69e:3345:760a)
17:26freedomrun has left IRC (freedomrun!~quassel@unaffiliated/freedomrun, Read error: Connection reset by peer)
17:34Grembler has left IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net, Remote host closed the connection)
17:39
<markit>
alkisg: I've to leave, thanks and compliments for your work :)
17:43
<alkisg>
bb!
17:58alkisg1 has joined IRC (alkisg1!~alkisg@188.4.28.162.dsl.dyn.forthnet.gr)
17:58markit has left IRC (markit!~marco@host179-38-static.243-95-b.business.telecomitalia.it, Quit: Konversation terminated!)
17:58alkisg1 has left IRC (alkisg1!~alkisg@188.4.28.162.dsl.dyn.forthnet.gr, Changing host)
17:58alkisg1 has joined IRC (alkisg1!~alkisg@ubuntu/member/alkisg)
17:59alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 245 seconds)
18:00alkisg1 is now known as alkisg
18:14gbaman has joined IRC (gbaman!~gbaman@31.205.104.150)
18:18
<championofcyrodi>
did anyone ever post some doc/info for enabling the screensaver w/ password protection on the fat clients?
18:19
i seem to remember running the screen saver on the server and X forwarding it... but can't remember the particulars
18:21
<ogra_>
that was likely before screensavers started talking though dbus
18:21
<alkisg>
Newer ltsp versions support LDM_HASH_PASSWORD or something so that the user password works in fat clients
18:22
<ogra_>
(i guess xscreensaver still works forwarded)
18:22
<alkisg>
Check the most recent ldm commits
18:22
!ldm-source
18:22
<ltsp`>
ldm-source: at http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ldm-trunk/files
18:39gbaman has left IRC (gbaman!~gbaman@31.205.104.150, Remote host closed the connection)
18:40gbaman has joined IRC (gbaman!~gbaman@31.205.109.64)
19:06
<championofcyrodi>
hmm can't seem to sort launchpad by last changed descending
19:06
oh well
19:07
ascending works
19:08
<alkisg>
championofcyrodi: http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ldm-trunk/changes/1555?start_revid=1575
19:08
<championofcyrodi>
ty
19:09
<alkisg>
LDM_PASSWORD_HASH
19:09
=true...
19:18alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Remote host closed the connection)
19:37doctari has left IRC (doctari!~doctari@2602:30a:2ccf:9f00:c7f:a69e:3345:760a, Quit: Leaving)
19:37doctari has joined IRC (doctari!~doctari@2602:30a:2ccf:9f00:89a5:a44a:ccb7:f24e)
19:58Faith has left IRC (Faith!~paty@unaffiliated/faith, Quit: Saindo)
20:18syrius has left IRC (syrius!~syrius@thunder.stormtek.net, Ping timeout: 246 seconds)
20:20guest_____ has left IRC (guest_____!bc78c335@gateway/web/freenode/ip.188.120.195.53, Quit: Page closed)
20:27
<championofcyrodi>
weird. my ltsp-chroot is suddenly not resolving lookups via dns
20:28
wait... yes it is... just that the network is unreachable...
20:28
for all IPs
20:29
looks like a host issue.
20:29
ltsp@ltsp:~$ ping www.google.com
20:29
connect: Network is unreachable
20:31
got it... weird. the default route was missing from the routing table
20:55syrius has joined IRC (syrius!~syrius@thunder.stormtek.net)
21:09adrianorg has left IRC (adrianorg!~adrianorg@177.156.59.219, Quit: leaving)
21:09telex has left IRC (telex!teletype@freeshell.de, Remote host closed the connection)
21:10telex has joined IRC (telex!teletype@freeshell.de)
22:15gbaman has left IRC (gbaman!~gbaman@31.205.109.64, Read error: Connection reset by peer)
22:15gbaman has joined IRC (gbaman!~gbaman@31.205.109.64)
22:16m1 has joined IRC (m1!49d0300c@gateway/web/freenode/ip.73.208.48.12)
22:18m1 has left IRC (m1!49d0300c@gateway/web/freenode/ip.73.208.48.12, Client Quit)
22:22gbaman_ has joined IRC (gbaman_!~gbaman@31.205.104.150)
22:25adrianorg has joined IRC (adrianorg!~adrianorg@177.156.59.219)
22:25gbaman has left IRC (gbaman!~gbaman@31.205.109.64, Ping timeout: 240 seconds)
22:26gbaman_ has left IRC (gbaman_!~gbaman@31.205.104.150, Ping timeout: 244 seconds)
22:30vmlintu has left IRC (vmlintu!~vmlintu@a91-152-200-70.elisa-laajakaista.fi, Ping timeout: 252 seconds)
22:51ricotz has left IRC (ricotz!~rico@ubuntu/member/ricotz, Quit: Ex-Chat)
22:51gbaman has joined IRC (gbaman!~gbaman@89.185.154.123)
23:07doctari has left IRC (doctari!~doctari@2602:30a:2ccf:9f00:89a5:a44a:ccb7:f24e, Ping timeout: 245 seconds)
23:08kwmiebach has left IRC (kwmiebach!sid16855@gateway/web/irccloud.com/x-kwcviinaqpzdlcom, Ping timeout: 245 seconds)
23:18kwmiebach has joined IRC (kwmiebach!sid16855@gateway/web/irccloud.com/session)
23:18doctari has joined IRC (doctari!~doctari@2602:30a:2ccf:9f00:6802:73db:a6d:c5e9)
23:20kwmiebach has left IRC (kwmiebach!sid16855@gateway/web/irccloud.com/session, Changing host)
23:20kwmiebach has joined IRC (kwmiebach!sid16855@gateway/web/irccloud.com/x-fqcmaapxtapxmwgu)
23:37gbaman has left IRC (gbaman!~gbaman@89.185.154.123, Read error: Connection reset by peer)
23:38gbaman has joined IRC (gbaman!~gbaman@89.185.154.123)