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


Channel log from 12 January 2017   (all times are UTC)

01:11zama has joined IRC (zama!~zama@unaffiliated/stryx/x-3871776)
01:13
<vagrantc>
well...
01:14
epoptes needs a bit of work for hte upcoming debian release...
01:14* vagrantc calls it a day
01:14* vagrantc waves
01:24vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Ping timeout: 256 seconds)
05:47Statler has joined IRC (Statler!~Georg@p4FC1FD30.dip0.t-ipconnect.de)
05:53
<highvoltage>
hey vagr<tab>
06:21sutula_ has joined IRC (sutula_!~sutula@207-118-145-9.dyn.centurytel.net)
06:23alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
06:23sutula has left IRC (sutula!~sutula@207-118-145-89.dyn.centurytel.net, Ping timeout: 256 seconds)
06:45ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:01
<gehidore>
hey highvoltage <tabsuccess>
07:35mikkel has joined IRC (mikkel!~mikkel@mail.dlvs.dk)
07:39
<highvoltage>
:)
07:45vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
07:58vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
08:43vmlintu_ has joined IRC (vmlintu_!~vmlintu@a88-112-2-122.elisa-laajakaista.fi)
09:00Statler has left IRC (Statler!~Georg@p4FC1FD30.dip0.t-ipconnect.de, Remote host closed the connection)
09:22markus_e92 has left IRC (markus_e92!~markus_e9@91-115-154-40.adsl.highway.telekom.at, Ping timeout: 240 seconds)
09:26markus_e92 has joined IRC (markus_e92!~markus_e9@62-46-26-147.adsl.highway.telekom.at)
09:28Statler has joined IRC (Statler!~Georg@mail.lohn24.de)
09:40markus_e92 has left IRC (markus_e92!~markus_e9@62-46-26-147.adsl.highway.telekom.at, Ping timeout: 240 seconds)
09:41markus_e92 has joined IRC (markus_e92!~markus_e9@91.115.21.167)
09:57markus_e92 has left IRC (markus_e92!~markus_e9@91.115.21.167, Ping timeout: 248 seconds)
09:59markus_e92 has joined IRC (markus_e92!~markus_e9@91-115-21-204.adsl.highway.telekom.at)
10:21lucascastro has left IRC (lucascastro!~lucas@186.227.186.18, Read error: Connection reset by peer)
10:21lucascastro has joined IRC (lucascastro!~lucas@186.227.186.18)
11:44vmlintu_ has left IRC (vmlintu_!~vmlintu@a88-112-2-122.elisa-laajakaista.fi, Ping timeout: 252 seconds)
11:58gvy has joined IRC (gvy!~mike@altlinux/developer/mike)
13:15lurky_work has joined IRC (lurky_work!~url_work@220-128-110-82.HINET-IP.hinet.net)
13:17url_work has left IRC (url_work!~url_work@220-128-110-82.HINET-IP.hinet.net, Read error: Connection reset by peer)
13:51
<bennabiy>
alkisg, why would the locale be different on a fat client from the server from which the image was generated?
13:53bennabiy has left IRC (bennabiy!~bennabiy@unaffiliated/bennabiy, Remote host closed the connection)
13:55bennabiy has joined IRC (bennabiy!~bennabiy@unaffiliated/bennabiy)
14:03
<alkisg>
bennabiy, it needs troubleshooting
14:03
I.e. it shouldn't be different
14:06
<bennabiy>
alkisg: Where do we start?
14:07
<alkisg>
bennabiy: I'm still waiting for the greek ministry to fund the team, otherwise I've no reason to work in ltsp/epoptes/sch-scripts anymore... :)
14:08
It's been 1.5 years now with no funding...
14:09
<bennabiy>
alkisg: that is sad
14:13
<alkisg>
The saddest thing is that the new officials advertize the use of open source programs at schools, but they think that they're developed automatically, so they keep postponing the team funding
14:13
So the only way to convince them might be to stop the development completely for some time... I really hope we'll avoid that
14:20sutula_ is now known as sutula
14:22gp_alt has left IRC (gp_alt!~gp@104-14-168-137.lightspeed.rcsntx.sbcglobal.net, Quit: Leaving)
14:25
<bennabiy>
I really hope that can be avoided as well
14:27thokon00 has joined IRC (thokon00!~thokon00@unaffiliated/thokon00)
14:33thokon00 has left IRC (thokon00!~thokon00@unaffiliated/thokon00)
14:58
<gvy>
alkisg, hope those axios will survive all of this crap -- seen that in former ukraine (2001..2013 or so, we tried our best)
15:03
<alkisg>
gvy: and after 2013, development was stopped?
15:18ben_roose has joined IRC (ben_roose!~roose@roose.cs.wichita.edu)
15:30
<gvy>
alkisg, basically the country has stopped
15:40gvy has left IRC (gvy!~mike@altlinux/developer/mike, Quit: Leaving)
15:49dtcrshr has joined IRC (dtcrshr!~datacrush@2801:88:f7a:100:240:a7ff:fe2d:d7c0)
15:49dtcrshr has joined IRC (dtcrshr!~datacrush@unaffiliated/datacrusher)
15:50mikkel has left IRC (mikkel!~mikkel@mail.dlvs.dk, Quit: Leaving)
16:51Faith has joined IRC (Faith!~paty_@unaffiliated/faith)
16:55
<Faith>
hey guys :)
16:55
I'm having some trouble setting up LTSP (nbd) in Ubuntu 16.04
16:56
the lts.conf is not beeing load (/var/lib/tftpboot/ltsp/test-i386)
16:56
can you tell me when the file is load? so I can check if everything is OK
17:01
<alkisg>
Faith: which tutorial did you use to set it up?
17:01
ltsp-pnp?
17:03
<bennabiy>
Faith: You can check /etc/lts.conf on the client to see if one is actually being loaded
17:06
<alkisg>
bennabiy: i have a few minutes available, do you want to check the locale issue via remote support?
17:07
<bennabiy>
sure
17:07
on the client or server?
17:08
<alkisg>
If you have epoptes installed, from the server it would be enough
17:08
!vnc-edide
17:08
<ltsp`>
vnc-edide: To share your screen with me, open Epoptes → Help menu → Remote support → Host: srv1-dide.ioa.sch.gr, and click the Connect button
17:10
<bennabiy>
failed to connect
17:10
ah, probably because I am using remoteapps
17:10
let me log out and back in on the server.
17:10bennabiy has left IRC (bennabiy!~bennabiy@unaffiliated/bennabiy, Remote host closed the connection)
17:12bennabiy has joined IRC (bennabiy!~bennabiy@unaffiliated/bennabiy)
17:13
<Faith>
alkisg, I am using none, I already have a LTSP server running, but with Ubuntu 12.04. I'm justing trying a new version
17:13
<alkisg>
!ltsp-pnp | echo Faith:
17:13
<ltsp`>
Faith: ltsp-pnp: ltsp-pnp is an alternative (upstream) method to maintain LTSP installations for thin and fat clients that doesn't involve chroots: https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp
17:13
<alkisg>
Faith: try that one then ^
17:14
<Faith>
alkisg, ltsp-pnp is not good for me, 'cause I use different arch than the server
17:16
<alkisg>
Faith: so you're trying with plain ltsp-build-client?
17:16
<Faith>
bennabiy, when I tried cat /var/cache/ltsp/ltsp_config_env on the client, it shows nothing
17:17
<alkisg>
Faith: are you using ipappend 3?
17:17
(an option in pxelinux)
17:17
!ipappend
17:17
<ltsp`>
ipappend: o temporarily solve DHCP problems in the initramfs, try putting IPAPPEND 3 after the APPEND line in /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default. More info: http://www.syslinux.org/wiki/index.php/SYSLINUX#IPAPPEND_flag_val_.5BPXELINUX_only.5D
17:17
<alkisg>
bennabiy: I'm not watching vnc now, if you want me to see something , type here...
17:18
<bennabiy>
ok
17:18
<Faith>
alkisg, I am using ipappend 2
17:19
alkisg, I'll try ipappend 3, and see if it's work
17:19
<alkisg>
Faith: no
17:19
The opposite,ipappend 3 would be a reason to not locate lts.conf
17:19
!tftp
17:19
<ltsp`>
tftp: Here's a page to help you troubleshoot TFTP problems in Ubuntu: https://help.ubuntu.com/community/UbuntuLTSP/Troubleshooting/TFTP
17:19
<alkisg>
Faith: there's a section there that tells how to try to download lts.conf from the client
17:19
Try only that line there, not the rest of the page
17:20vmlintu_ has joined IRC (vmlintu_!~vmlintu@a88-112-2-122.elisa-laajakaista.fi)
17:21
<alkisg>
something like: tftp $SERVER -v -m binary -c get /ltsp/test-i386/lts.conf
17:23
<Faith>
alkisg, I'll try
17:23
<bennabiy>
seems like it is specific to my user
17:24
i try theoutput of locale and for the other user it was utf8 but my user i just en_US
17:25forum has joined IRC (forum!~Icedove@85-90-134-178.hdsl.highway.telekom.at)
17:25
<bennabiy>
switching back to the fat client
17:26
why would my locale info switch whether i am on the server or the client?
17:27bennabiy has left IRC (bennabiy!~bennabiy@unaffiliated/bennabiy, Remote host closed the connection)
17:27bennabiy has joined IRC (bennabiy!~bennabiy@unaffiliated/bennabiy)
17:27
<alkisg>
Your LANGUAGE= was empty
17:28
<bennabiy>
It is that way for all my users
17:28
<alkisg>
But not on the server
17:28
I think mgariepy put some code to unset LANGUAGE when LANG was set in lts.conf
17:28
Maybe that causes issues
17:28
<bennabiy>
no LANG set in lts.conf
17:28
perhaps that code is causing the issue
17:32
alkisg: https://pastebin.mozilla.org/8962236
17:32
from the fat client, and then sshed into the server
17:32
<alkisg>
bennabiy: ssh breaks some LANG environment variables
17:32
Don't use it to report things
17:33
bennabiy: you have LANG=en_US, which is wrong
17:33
It lacks the .UTF-8 part
17:33
You probably set that up in your desktop environment
17:33
I.e. in the mate options
17:33
Unset the wrong language and you'll be good to go
17:34
Obviously, ssh doesn't load the mate options...
17:34
<bennabiy>
alkisg: on the server it is utf8 though
17:34
<alkisg>
So it's just a user misconfiguration, nothing that relates to ltsp
17:34
gsettings list-recursively | grep en_US
17:34
this will help you search the wrong setting
17:35
<bennabiy>
as in, when I log into the server, directy, it works, but not on the fat client,
17:35
<alkisg>
There are many places where the locale is set
17:35
<bennabiy>
gsettings came up with nothing
17:36
<alkisg>
lightdm, accountsservice, mate etc etc
17:36
bennabiy: anyway, vnc to me from the client to see
17:36
!vnc-dide
17:36
<ltsp`>
vnc-dide: To share your screen with me, run this: sudo apt-get --yes install x11vnc; x11vnc -connect srv1-dide.ioa.sch.gr - this is a reverse connection, it doesn't need port forwarding etc.
17:36
<bennabiy>
The only difference between the two is one was generated by ltsp, without customization, and the other is the native install
17:36
<alkisg>
No, it's also the DM running etc
17:37
So for example 3 bugs in ubuntu might prevent you from seeing the first 2 bugs
17:39
<Faith>
alkisg, I tried the command tftp that you suggested, and it's work. But /var/cache/ltsp/ltsp_config_env doesn't show the variables I set
17:39
<mgariepy>
alkisg, it's been years since I've touched LTSP :)
17:43
<alkisg>
mgariepy: yup, i know! hi there!
17:43
bennabiy: here's the issue, your .dmrc is wrong
17:43
delete it and the issue will be fixed
17:43
<bennabiy>
why does it work on the server though?
17:44
<alkisg>
Because lightdm doesn't respect your dmrc, or check if it's wrong and ignores it,
17:44
while ldm just does what you say there
17:44
<bennabiy>
ah
17:44
<alkisg>
bennabiy: you can completely delete .dmrc
17:44
It's not required
17:45
<bennabiy>
rebooting to test
17:45bennabiy has left IRC (bennabiy!~bennabiy@unaffiliated/bennabiy, Remote host closed the connection)
17:45
<alkisg>
Faith: can you see, in the tftp server logs, which lts.conf the client requests on boot? Does it request /ltsp/i386/lts.conf instead of test-i386?
17:47bennabiy has joined IRC (bennabiy!~bennabiy@unaffiliated/bennabiy)
17:47
<bennabiy>
great. works
17:47
thank you alkisg
17:47
<alkisg>
np
17:53GodFather has joined IRC (GodFather!~rcc@108.188.81.194)
17:54GodFather has joined IRC (GodFather!~rcc@108.188.81.194)
17:56GodFather has joined IRC (GodFather!~rcc@108.188.81.194)
18:02Lucas__ has joined IRC (Lucas__!bae53232@gateway/web/freenode/ip.186.229.50.50)
18:03
<Lucas__>
s
18:04Lucas__ has left IRC (Lucas__!bae53232@gateway/web/freenode/ip.186.229.50.50, Client Quit)
18:17
<Faith>
alkisg, that's the only thing that is beeing logged http://pastebin.com/gC6Zp9Jx
18:31
<alkisg>
Faith: you put "verbose" in tftpd options to enable logging
18:31
Somewhere in /etc/default/tftpd-hpa, google it
18:32* alkisg is using dnsmasq instead...
18:37
<mgariepy>
how are you doing alkisg ?
18:38
<alkisg>
mgariepy: everything's fine, if you exclude the fact that I'm not paid to work in ltsp for a very long time now :D
18:38
You? Still in rev. lin?
18:38
<mgariepy>
rev lin has been dead for a while ;)
18:38
<alkisg>
ouch :)
18:39
Hope you found other good things to work on
18:39
<mgariepy>
i now work at Sherbrooke university
18:39
mosly openstack stuff ;)
18:39
<alkisg>
Sounds cool :)
18:39
...and steady!
18:39
<mgariepy>
yeah it's very nice
18:40
I also have a 3yo son now :D
18:41
<alkisg>
Niceeee!!!!
18:42
May he live a nice life with your family. Sorry I don't know any typical english wishes about that :D
18:42
<mgariepy>
haha ;)
18:43
where are you working now ?
18:45
<alkisg>
I've a steady job since 2000, teacher, but for the last 4 years I moved into a technical position where I'm in charge of a team maintaining ~300 school computer labs
18:45
(I.T. teachers can change positions like that)
18:45
The extra job, ltsp, is no longer there :)
18:47
<Faith>
alkisg, it's search in /ltsp/i386/lts.conf. Where can we change it?
18:48
<alkisg>
Faith: which distro/version is that? (the chroot)
18:48
<Faith>
alkisg, ubuntu 16.04 i386
18:48
<alkisg>
Hrm strange. How's your dhcpd setup?
18:48
Does it properly send the test-i386 file?
18:49
(rootpath)
18:50
I've uploaded a patch that makes that work even for wrong dhcp setups
18:50
So you can either fix your dhcpd, or download the patch
18:54forum has left IRC (forum!~Icedove@85-90-134-178.hdsl.highway.telekom.at, Remote host closed the connection)
18:54forum1 has joined IRC (forum1!~Icedove@85-90-134-178.hdsl.highway.telekom.at)
18:54
<Faith>
alkisg, dhcp config http://pastebin.com/pct6Mp6M
18:55Statler has left IRC (Statler!~Georg@mail.lohn24.de, Remote host closed the connection)
18:56forum1 is now known as forum
19:06
<Faith>
alkisg, if the dhcp root-path was wrong it would load the image?
19:07
<alkisg>
        if substring( option vendor-class-identifier , 0 , 9 ) = "PXEClient" {
19:07
Faith: when the client does the pxe request, it sends "PXEClient" as the identifier
19:08
Later on when it gets the ip, it sends "Linux ipconfig" or "udhcpc something"
19:08
So yes the setup is wrong, and yes it would load the image but not lts.conf
19:08
Btw one very easy workaround is to symlink the two lts.conf so that you only have a single one...
19:09
ln -s ../i386/lts.conf lts.conf, something like that
19:09
In the patch, I made it stop using the rootpath and use the vmlinuz path instead, which is easier to configure, no more dhcp setup there
19:09
<Faith>
but I'll have a lot of images, with different lts.conf
19:11
alkisg, how can I fix the dhcp? Every tutorial that I saw make identifier = PXEClient
19:12
<alkisg>
dhcp-vendorclass=etherboot,Etherboot
19:12
dhcp-vendorclass=pxe,PXEClient
19:12
dhcp-vendorclass=ltsp,"Linux ipconfig"
19:13
dhcp-boot=net:pxe,/ltsp/i386/pxelinux.0
19:13
dhcp-boot=net:etherboot,/ltsp/i386/nbi.img
19:13
dhcp-boot=net:ltsp,/ltsp/i386/lts.conf
19:13
These are the correct dnsmasq options
19:13
You need to map "Linux ipconfig" to the correct lts.conf path, as shown above, but in the dhcpd.conf syntax which I'm not familiar with.
19:13
possibly an 'elif ...' below the existing if
19:15
Faith: this is the patch I committed, which makes all those settings obsolete: http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/revision/2742
19:15
You can just apply that one...
19:16
It goes in $CHROOT/usr/share/ltsp/init-ltsp.d/05-getltscfonfile
19:16
*conffile
19:17
<Faith>
alkisg, I saw that file when I was search where lts.conf was load, I'll try to modify it
19:17
<alkisg>
red lines ==> remove, green ==> add
19:17
<Faith>
this change will be it the official release?
19:17
<alkisg>
It already is
19:17
But not backported to 16.04
19:19
<Faith>
alkisg, so now it will use the image name to looking for the lts.conf? or do I have to change other configs?
19:19
<alkisg>
If you do the change and run ltsp-update-image, you don't need to change your dhcpd or other config
19:20
<Faith>
but later (after ltsp-update-image) I can change the lts.conf without update chroot right?
19:23
alkisg, I have to go now... tomorrow I'll try it and I tell you if it works. Thank you :)
19:28Faith has left IRC (Faith!~paty_@unaffiliated/faith, Quit: Leaving)
19:46forum has left IRC (forum!~Icedove@85-90-134-178.hdsl.highway.telekom.at, Quit: forum)
19:59vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
20:21
<bennabiy>
Hi vagrantc
20:22
I got fingerprint auth to work in fat client, after initial login
20:24
<vagrantc>
fingerprint auth?
20:24
ah, a fingerprint reader?
20:25
aren't those basically just little scanners? you could use a full-sized flatbed and use palm-print verification! :)
20:25
bennabiy: using ldm, or some other display manager?
20:25
bennabiy: have you messed with the new and improved latest and greatest pam-based ltsp6 stuff? :)
20:25
<bennabiy>
I need to
20:26
currently working on a server project first
20:26
taking longer than I thought
20:26
It is only auth after initial login (so does not work with ldm yet)
20:26
but does work with lightdm if I migrate to the new stuff
20:26
:)
20:27
vagrantc: I could see people getting too "creative" if you give them too much scanning surface... I remember what the recruiters used to do with their fax machines..
20:27
<vagrantc>
full-moon backside verification?
20:28
<bennabiy>
Easy to duplicate?
20:28
Not-so-Public key authentication
20:28
anyway...
20:29
vagrantc: what is the easiest way to implement the new stuff without sacrificing the old just yet?
20:29
<vagrantc>
bennabiy: it's co-installable, so you can configure a single client to use it by changing lts.conf variables
20:30
and it *shouldn't* impact other clients...
20:30
<bennabiy>
great
20:30
<vagrantc>
and if it's not, we should fix it :)
20:30
<bennabiy>
I could test on my fat client then
20:31
<vagrantc>
i should really start to push some of this into debian experimental
20:34
<bennabiy>
vagrantc: how can I test?
20:34
!ltsp6
20:34
<ltsp`>
ltsp6: (#1) https://bugs.launchpad.net/ltsp/?field.tag=ltsp6, or (#2) wiki.ltsp.org/wiki/Dev:LTSPPamNotes
20:39
<vagrantc>
the wiki page should have instructions
20:39
i've only tested it on debian stretch so far
20:42
mostly fat-client only, although there is some glitchy support for thin clients
21:18vmlintu_ has left IRC (vmlintu_!~vmlintu@a88-112-2-122.elisa-laajakaista.fi, Ping timeout: 252 seconds)
21:35vmlintu_ has joined IRC (vmlintu_!~vmlintu@a88-112-2-122.elisa-laajakaista.fi)
21:43vmlintu_ has left IRC (vmlintu_!~vmlintu@a88-112-2-122.elisa-laajakaista.fi, Ping timeout: 252 seconds)
21:48ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
23:13
<vagrantc>
!flow-control
23:13
<ltsp`>
flow-control: https://help.ubuntu.com/community/UbuntuLTSP/FlowControl
23:30ben_roose has left IRC (ben_roose!~roose@roose.cs.wichita.edu, Remote host closed the connection)