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


Channel log from 7 December 2021   (all times are UTC)

00:00vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100e, Quit: leaving)
00:33vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100e)
02:19vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585682-65.dhcp.inet.fi, Ping timeout: 252 seconds)
02:21vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-585682-65.dhcp.inet.fi)
02:29vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100e, Quit: leaving)
07:09ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
10:24vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585682-65.dhcp.inet.fi, Ping timeout: 265 seconds)
10:24vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-585682-65.dhcp.inet.fi)
12:01lucascastro has joined IRC (lucascastro!~lucascast@189.90.44.253.jupiter.com.br)
12:36lucascastro has left IRC (lucascastro!~lucascast@189.90.44.253.jupiter.com.br, Ping timeout: 252 seconds)
12:37
<stappers>
leet
14:51DenisBonnenfant[ has joined IRC (DenisBonnenfant[!~denisbonn@2001:470:69fc:105::1:48a8)
14:52
<DenisBonnenfant[>
Hello, is there a way to pass hostname to ltsp client from kernel command line ? I tried systemd.hostname=myhostname, but it doesn't work
14:53
<alkisg>
Denis Bonnenfant: you can put `[mac:address]<enter>HOSTNAME=x` in ltsp.conf
14:55
<DenisBonnenfant[>
All my hosts in samba ldap ad server, so duplicating it in ltsp.conf is not optimal,
14:55
<alkisg>
How would you pass the hostname in the kernel cmdline without creating a file with it?
14:57
<DenisBonnenfant[>
I'm using my own ipxe server, which gets ltsp server ip from computer groups, and has acces to mac, hostname, ip information for hosts
14:57
<alkisg>
You have an ipxe server but not dhcp server, to put the hostname properly in dhcp?
14:58
In any case, you can also use: ltsp.hostname=xx
14:58
In the cmdline
15:00
<DenisBonnenfant[>
Ok, ltsp.hostname=xxx is just perfect for me ! I will try it, thanks !
15:00
<alkisg>
👍️
15:01
You can also add more ltsp.parameters that way
15:01
<DenisBonnenfant[>
Ok, I hadn't found it in the code
15:11lucascastro has joined IRC (lucascastro!~lucascast@45-167-143-6.netfacil.inf.br)
15:26lucascastro has left IRC (lucascastro!~lucascast@45-167-143-6.netfacil.inf.br, Ping timeout: 265 seconds)
15:28
<DenisBonnenfant[>
It works. Now another cosmetic problem : I'm using a systemd startup unit to get a lockscreen composited with hostname for gdm and plymouth. Is there a way to run it earlier, from ltsp.conf ?
15:29
For plymouth it doesn't matter anyway...
15:30
<alkisg>
POST_INIT_SCRIPT="/path/to/script"
15:30lucascastro has joined IRC (lucascastro!~lucascast@45-167-143-6.netfacil.inf.br)
15:31
<alkisg>
In ltsp.conf... or in cmdline :)
15:32
<DenisBonnenfant[>
ok ! The "new" ltsp is just amazing ! I'm integrating in in https://sambaedu.org suite, designed for french schools.
15:32
<alkisg>
Great, do you have many schools with this system?
15:33
<DenisBonnenfant[>
more than 500
15:33
<alkisg>
I'm mainly maintaining ltsp for 1000+ greek schools at this point...
15:33
Nice!
15:34
<DenisBonnenfant[>
I'm working on allowing teacher to convert automatically a full configured linux client to ltsp server, and distributing it to it's classroom
15:35
<alkisg>
We have that down to a single line, using ltsp-manager...
15:35lucascastro has left IRC (lucascastro!~lucascast@45-167-143-6.netfacil.inf.br, Ping timeout: 265 seconds)
15:35
<alkisg>
wget installer.sh | bash, and it's done; then there's a GUI for managing users etc
15:36
And we have a few debian repositories with updated software versions, and lots of greek educational software packaged in .deb form
15:36
Are you using chrootless ltsp, or with a chroot/image?
15:36
<DenisBonnenfant[>
Yes, but we already have a web interface, with all the AD integration, as most of the computers are primarly used with W10...
15:38
<alkisg>
Did you have any issues using ltsp clients with AD? Do they need to be registered on a per-client basis?
15:38
<DenisBonnenfant[>
I'm using rootless, as we already have a completely automated Win/Linux deplyment system, so reinstalling a machine is not an issue;
15:40
alkisg: That's the amazing point : nothing needed ! if the server is joined to the domain, I just had to add a net join in startup to renew kerberos join, and it just works.
15:41
<alkisg>
Ah, I thought AD would complain about multiple PCs with the same registration. Nice :)
15:44
<DenisBonnenfant[>
Non, that's whiy I needed to keep the registered name of the client : provided that the credentials are ok, net join will just update computer account in AD. When switching back to W10, it is still ok, Windows is doing the same.
15:46
I have to exeriment the whole process, but it looks good !
15:47
<alkisg>
And I guess the image will "expire" after a while, along with the kerberos ticket, so you'll need to run ltsp image e.g. once per week or month or something
15:47
Or, you'll need to put the ticket information in /etc/ltsp for the clients to retrieve it via the smaller ltsp.img
15:48
<DenisBonnenfant[>
Not sure... There are mysteries with AD domains...
15:48
But yes It is a thing to ckeck !
15:49
<alkisg>
👍️
15:50
<DenisBonnenfant[>
the next point is to mount /home with kerberos nfs4. For the moment it is mounted unsecure...
15:51
Normally it should work.
15:52
I added the mount line in ltsp.conf, but as it was already in place in the original image I wonder if it is necessary
15:53
<alkisg>
It is, because /etc/fstab is regenerated on boot
15:53
<DenisBonnenfant[>
Ok
15:53
<alkisg>
There's no point in keeping e.g. the server's /dev/sda on the client
15:53
<DenisBonnenfant[>
Of course. It may be quite dangerous :)
15:56
In fact my nfs mount was a systemd unit. It is suppressed too ?
15:59
Another question : is there an environment variable saying that the client is in ltsp mode ?
15:59
<alkisg>
test -d /run/ltsp/client
15:59
<DenisBonnenfant[>
ok perfect
16:00
<alkisg>
I deliberately avoided environment variables
16:16vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585682-65.dhcp.inet.fi, Ping timeout: 252 seconds)
16:18vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-585682-65.dhcp.inet.fi)
16:25lucascastro has joined IRC (lucascastro!~lucascast@192-140-51-192.static.oncabo.net.br)
16:44lucas_ has joined IRC (lucas_!~lucascast@189.90.44.253.jupiter.com.br)
16:46lucascastro has left IRC (lucascastro!~lucascast@192-140-51-192.static.oncabo.net.br, Ping timeout: 265 seconds)
18:21woernie has left IRC (woernie!~werner@p5b296789.dip0.t-ipconnect.de, Ping timeout: 265 seconds)
18:24woernie has joined IRC (woernie!~werner@p5b296789.dip0.t-ipconnect.de)
18:24ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
20:18lucas_ has left IRC (lucas_!~lucascast@189.90.44.253.jupiter.com.br, Ping timeout: 256 seconds)
20:35woernie has left IRC (woernie!~werner@p5b296789.dip0.t-ipconnect.de, Remote host closed the connection)
20:54lucascastro has joined IRC (lucascastro!~lucascast@189.90.44.253.jupiter.com.br)
21:04shored has joined IRC (shored!~shored@user/shored)
23:29lucascastro has left IRC (lucascastro!~lucascast@189.90.44.253.jupiter.com.br, Remote host closed the connection)
23:29lucascastro has joined IRC (lucascastro!~lucascast@189.90.44.253.jupiter.com.br)