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


Channel log from 24 November 2018   (all times are UTC)

02:58jphein has left IRC (jphein!b8178628@gateway/web/freenode/ip.184.23.134.40, Quit: Page closed)
04:20lucascastro has left IRC (lucascastro!~lucascast@177-185-139-225.isotelco.net.br, Remote host closed the connection)
06:11jphein has joined IRC (jphein!b8178628@gateway/web/freenode/ip.184.23.134.40)
06:12
<jphein>
Hello from California! Was wondering if any can help me with my zenity menu screen script calling ldm
06:12
here it is: https://github.com/jphein/boxen/blob/master/usr/share/ltsp/screen.d/boxen/welcome
06:12
I have a symlink to /usr/sbin/ldm
06:13
ldm seems to exit the my menu pops back up over ldm when it goes to check the password
06:16
I'm pretty new to scripting, so I'm sure it's something simple
06:20
Screenshots here: https://github.com/jphein/boxen/issues/2
06:37
Best part about having zenity boot menu, is that you can use epoptes to interact with it
06:40kjackal has joined IRC (kjackal!~quassel@ppp-94-66-220-50.home.otenet.gr)
06:46
<alkisg>
jphein: afaik you don't have a "boot menu", you have a "do some actions menu", which could be a normal program after login, right? Why do you need to run it before login?
06:47
<jphein>
I was just thinking about that
06:49
<alkisg>
Just create a normal python3 / glade program, without zenity, and do whatever you like with it
06:49
<jphein>
i see then change lts.conf LDM_SESSION
06:49
<alkisg>
python3 + glade gives so much power without being complex. It's even more difficult to do some things with zenity rather than just use glade
06:50
You don't even need a custom session
06:50
Let the users log in and run the program from the menu
06:50
Like when you run gparted etc
06:50
<jphein>
ok sounds like a plan
06:50
<alkisg>
So the users would log in and be able to surf while cloning
06:50
<jphein>
=]
06:51
Thank you so much!
06:51
Have you read this article? https://kubernetes.io/blog/2018/10/02/building-a-network-bootable-server-farm-for-kubernetes-with-ltsp/
06:55
<alkisg>
Nah, I just glanced it. Too much console for my taste! :)
06:55
I prefer instructions like "install the vm of your choice and then run this command" - i.e. up to 1-2 commands, not pages with them
06:56
<jphein>
hahaha, I need all the steps =]
07:10
He made some pretty cool patches
07:10pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, Quit: Leaving)
07:10
<alkisg>
Does he have bug reports with them? :)
07:12
<jphein>
I hope so! =]
07:12
<alkisg>
I haven't seen any though
07:13
<jphein>
oh :,(
07:13
how does nbd to ram work?
07:14
<alkisg>
It copies the entire nbd image to ram
07:14
Only useful for kiosks with no /home etc
07:15
<jphein>
i though home was hosted over ssh?
07:15
<alkisg>
Indeed. But copying nbd to ram is for cases where the server may disconnect for hours.
07:15
I.e. sshfs wouldn't work in that case
07:15
If you do have sshfs, why on earth would you put the nbd to ram
07:16
<jphein>
preformance?
07:16
<alkisg>
Nah
07:16
It doesn't help with performance, just delays client boot
07:17
<jphein>
I see, so you can boot up a client then disconnect it from the network for the day
07:17
<alkisg>
Reading e.g. 1 GB on boot instead of just dynamically caching to ram the sectors needed? (which is what the kernel does anyway)
07:17
<jphein>
I see
07:17
That might be useful for wireless kioks i guess
07:18
<alkisg>
Kiosks may need to stay online for weeks; you wouldn't be able to reboot the server with nbd
07:18
While with nbd-to-ram, it's ok if the server reboots after a client boots
07:18
<jphein>
cool, like electric car chargers
07:19
<alkisg>
E.g. an airport with 100 info kiosks could use that
07:19
<jphein>
i see
07:21
Would it be easy to add netboot.xyz to LTSP?
07:22
<alkisg>
I think you mean the opposite, add ltsp to netboot.xyz
07:22
It's just about managing pxelinux.cfg, nothing more
07:26
<jphein>
It seems like some of these screen scripts I hacked together might be useful for other people. Like Seitanas / kvm-vdi .
07:26
and virt-viewer
07:27* alkisg thinks ltsp6 won't have screen scripts at all, just sessions :)
07:27
<jphein>
I see
07:27
<alkisg>
It's not nice to run things as root
07:28
<jphein>
got it
07:28
<alkisg>
Even if it's just a fake user, logging in first is a good idea, even if it's autologin
07:28
So it's best to organize everything as /usr/share/xsession/*.desktop sessions
07:30
<jphein>
ok
07:32
is that updated with ltsp-update-image?
07:32
or is that on the server only?
07:32
<alkisg>
Fat clients => image, thin clients => server
07:33
<jphein>
does ldm pick them up automatically?
07:33
<alkisg>
Yes
07:33
<jphein>
great!
07:33
and if i want one to be default i put it in lts.conf?
07:33
<alkisg>
Yes
07:34
<jphein>
so much easier than PXE, or screen script
07:35pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
07:40ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:41
<jphein>
I see. For loading kiosks or RDP/VNC/SPICE/x2go clients you would use probably autologin to a session.
07:41
<alkisg>
Yes, I wouldn't want to run the browser as root. I'm not even sure if it's allowed under wayland etc, or newer xorg versions that require running as the user.
07:41
And, it's so much easier to implement it, and it works on both thin and fat clients
07:42
<jphein>
got it
07:48
!autologin
07:48
<ltsp>
Error: "autologin" is not a valid command.
07:49
<jphein>
Is this a good article? https://help.ubuntu.com/community/UbuntuLTSP/AutoLoginFeatures
07:51
Do I really have to create an account for every ip address?
07:51
If I don't want to specify by IP or Mac address?
07:52
<alkisg>
Pretty much everything in the ubuntu wiki is deprecated, it says so in its initial page
07:53
Anyways chatting is great but time to get some work done :)
07:53
<jphein>
ok, thank you!
07:53
<alkisg>
np
07:58jphein has left IRC (jphein!b8178628@gateway/web/freenode/ip.184.23.134.40, Ping timeout: 256 seconds)
09:41vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585686-205.dhcp.inet.fi, Ping timeout: 240 seconds)
09:44vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-585686-205.dhcp.inet.fi)
10:11kjackal has left IRC (kjackal!~quassel@ppp-94-66-220-50.home.otenet.gr, Ping timeout: 272 seconds)
10:53kjackal has joined IRC (kjackal!~quassel@2a02:587:791a:6800:b9f6:8829:d040:df79)
14:02kjackal has left IRC (kjackal!~quassel@2a02:587:791a:6800:b9f6:8829:d040:df79, Ping timeout: 252 seconds)
14:04kjackal has joined IRC (kjackal!~quassel@2a02:587:791a:6800:b9f6:8829:d040:df79)
15:17lucascastro has joined IRC (lucascastro!~lucascast@177-185-139-225.isotelco.net.br)
17:37GodFather has left IRC (GodFather!~rcc@d28-23-172-21.dim.wideopenwest.com, Ping timeout: 244 seconds)
17:48GodFather has joined IRC (GodFather!~rcc@d28-23-172-21.dim.wideopenwest.com)
19:20jgee has left IRC (jgee!~jgee@190.159.118.121, Ping timeout: 245 seconds)
21:37sutula has left IRC (sutula!~sutula@207-118-149-102.dyn.centurytel.net, Read error: No route to host)
22:22ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Remote host closed the connection)
22:44lucas_ has joined IRC (lucas_!~lucascast@177-185-139-225.isotelco.net.br)
22:45lucascastro has left IRC (lucascastro!~lucascast@177-185-139-225.isotelco.net.br, Read error: Connection reset by peer)
22:48kjackal has left IRC (kjackal!~quassel@2a02:587:791a:6800:b9f6:8829:d040:df79, Ping timeout: 252 seconds)
23:06kjackal has joined IRC (kjackal!~quassel@ppp-94-66-220-50.home.otenet.gr)