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


Channel log from 24 June 2019   (all times are UTC)

04:46alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
04:52alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
05:21adrianor1 has joined IRC (adrianor1!~adrianorg@179.187.24.82.dynamic.adsl.gvt.net.br)
05:24adrianorg has left IRC (adrianorg!~adrianorg@177.18.49.64, Ping timeout: 245 seconds)
05:59ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
06:09Sleaker has joined IRC (Sleaker!quasselcor@2604:880:a:7::e1b)
06:15Sleaker_ has left IRC (Sleaker_!quasselcor@2604:880:a:7::e1b, *.net *.split)
07:48gdi2k has left IRC (gdi2k!~gdi2k@58.69.160.28, Read error: Connection reset by peer)
08:32ogra has left IRC (ogra!~ogra_@ubuntu/member/ogra, Ping timeout: 258 seconds)
08:33ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
08:58statler has joined IRC (statler!~Georg@gwrz.lohn24.de)
09:57woernie has joined IRC (woernie!~werner@134.76.113.46)
10:02woernie has left IRC (woernie!~werner@134.76.113.46, Ping timeout: 258 seconds)
10:28ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
10:29ogra has joined IRC (ogra!~ogra_@ubuntu/member/ogra)
11:27woernie has joined IRC (woernie!~werner@134.76.113.48)
11:38kjackal has left IRC (kjackal!~quassel@2a02:587:311f:c300:886d:4f98:fa5b:6600, Ping timeout: 252 seconds)
11:38kjackal has joined IRC (kjackal!~quassel@athedsl-4545791.home.otenet.gr)
12:22spaced0ut has joined IRC (spaced0ut!~spaced0ut@unaffiliated/spaced0ut)
12:23Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
12:37woernie has left IRC (woernie!~werner@134.76.113.48, Ping timeout: 244 seconds)
13:07kjackal_v2 has joined IRC (kjackal_v2!~quassel@2a02:587:311f:c300:886d:4f98:fa5b:6600)
13:07kjackal has left IRC (kjackal!~quassel@athedsl-4545791.home.otenet.gr, Ping timeout: 272 seconds)
15:37mwalters has left IRC (mwalters!~ubox@c-73-152-61-86.hsd1.va.comcast.net, Ping timeout: 258 seconds)
16:55Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)
17:00vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
18:02gbaman has joined IRC (gbaman!~gbaman@host81-142-46-233.in-addr.btopenworld.com)
18:05
<gbaman>
Any suggestions for debugging ldm starting issues? Giving LTSP a go with Buster on a Pi and looks like ldm is starting, then falling over. The ldm log just says its starting then running rc.d init scripts, then repeats same 5-10 seconds later
18:06
<alkisg>
gbaman: thin or fat chroot?
18:06
<gbaman>
Fat
18:07
<alkisg>
Do you have anything in lts.conf?
18:07
E.g. autologin or xrandr or x_smart_color_depth...
18:08
Also check /var/log/ldm.log and /var/log/Xorg.?.log
18:09
<gbaman>
[default]
18:09
LTSP_CONFIG=True
18:09
LTSP_FATCLIENT=true
18:09
REMOTE_APPS=True
18:09
INIT_COMMAND_RM_NBD_CHECKUPDATE="rm -rf /usr/share/ldm/rc.d/I01-nbd-checkupdate"
18:09
LOCAL_APPS_EXTRAMOUNTS=/home/shared
18:09
Thats the lts.conf
18:10
And ldm.log has "INFO: starting on client with IP address : 10.0.12.92" and "INFO: calling rc.d init scripts" every 5-10 seconds
18:10
<alkisg>
I guess that's just xorg resetting, what's there on xorg.log or xorg.log.old?
18:13
<gbaman>
I think I have a hunch what it might be, buried in there is a fb driver error
18:16
Looks like Raspberry Pi Foundation switched to their fancy new graphics driver being enabled by default
18:22
Unless anything else in there stands out to you alkisg? https://pastebin.com/jzMwNRVY
18:23
<alkisg>
gbaman: try SCREEN_02=shell in lts.conf. From there, type just this: xinit
18:23
If you see an xterm, then xorg is working ok, and it might be an ldm issue
18:27
<gbaman>
I have a very basic looking xterm up in the top left of the screen (with white background) alkisg
18:28
(when I say very basic, am talking a while box with a prompt up top left, that's all)
18:29pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, Ping timeout: 258 seconds)
18:29
<alkisg>
!cheap-client
18:29
<ltsp`>
cheap-client: https://www.gearbest.com/tv-box-c_11262/?attr=2081-1279
18:30
<gbaman>
Haha, that doesn't solve the actual issue :)
18:31
Plus, apparently at least a million Pis now sold into education each year now (according to figures from this morning), so not going to help them either
18:32
<alkisg>
gbaman: hehe, I didn't paste that for you! :)
18:32
I needed it in some mail I was writing
18:33
Re: xterm, then it sounds like xorg is ok
18:33
<gbaman>
Haha, well Pi 4 should be in your cheap client list nowadays, pretty powerful machine
18:33
<alkisg>
Yeah I think it's around half the power of the pentium 4's we want to throw away :P
18:34* alkisg has 3 rpi2's and 1 rpi3... looking forward to rpi4, but wants to avoid them for schools
18:34
<alkisg>
They're fine for remote desktop or print servers, but I wouldn't want them as desktop PCs in my computer lab...
18:35
<gbaman>
Haha, well from what I have seen, runs stuff a whole lot faster than pentium 4s
18:35
<alkisg>
But anyway those thoughts are unrelated to the actual issue
18:35
<gbaman>
True
18:35
<alkisg>
Btw, I'm developing the new ltsp, it won't have ltsp-build-client anymore
18:35
So you'd need a script that would extract the sd image to a chroot
18:36
<gbaman>
*Grumbles* More code to write *Grumbles* :)
18:36
<alkisg>
*less code to maintain* :D
18:36
Nowadays there's vagrant and docker and vbox and and... no need for chroots
18:37
<gbaman>
At some point, it would make sense to integrate it all in with pi-gen, Pi Foundations tool for building SD card images
18:37
Someday...
18:38
<alkisg>
I think it'd be best if you shipped a qemu-based VM for raspberry pi "chroot"
18:38
People would be able to boot and graphically maintain it,
18:38
and the new ltsp19 supports images as sources for `ltsp-update-image`, so it would be very easy to export it
18:38
<gbaman>
Well, will admit I am tempted to look at doing it all on a Pi 4
18:38
Full gigabit ethernet finally
18:39
<alkisg>
They skipped nebooting though?
18:39woernie has joined IRC (woernie!~werner@134.76.113.42)
18:39
<gbaman>
Which makes just shipping an image for the whole thing, rather appealing
18:39
Well, PiNet always has something on the card anyway
18:39
<alkisg>
You'll still need a local kernel instead of just the boot-something.bin?
18:39
rpi3 can netboot without an sd card
18:39
<gbaman>
The bootcode.bin method should still work for Pi 4
18:39
Just not the no sd card method
18:40
<alkisg>
OK that's still better than updating the kernel/initrd locally all the tim
18:40
<gbaman>
But I have a kernel on the card anyway
18:40
<alkisg>
e
18:40
Why?
18:40
I tested it and it worked even on rpi2
18:40
<gbaman>
Haha, just never moved away from it
18:40
<alkisg>
Hehe
18:40
<gbaman>
Not had the time to rewrite
18:40
Is on the (ever growing) todo list
18:41
But not overly a priority. Still got the wifi version on the todo list as well, and that does need the full kernel stuff on the card
18:46
<alkisg>
Fat clients over wifi? That'd be slooooowwwwww....
18:47
<gbaman>
Haha, fat clients with the filesystem cached basically
18:47
<alkisg>
So just sshfs home?
18:47
<gbaman>
Yeah
18:48
<alkisg>
OK that'd be workable for a few clients, but in this case it's a local installation, not just "local kernel"
18:48
<gbaman>
Then the initramfs having all the drivers/code to keep that image up to date
18:48
<alkisg>
In the new ltsp I have code for pam-based authentication, so you'll be able to do sshfs home even without ltsp booting
18:48
<gbaman>
Given plenty of environments that Ethernet doesn't work, but they still need a managed environment
18:49
:)
18:49
<alkisg>
I.e. normal raspbian plus the pam/sshfs script
18:49
(no ldm anymore)
18:49
<gbaman>
Well, nothing wrong with LDM :)
18:49
<alkisg>
Except that it doesn't start? :D
18:49
<gbaman>
Well
18:49
<alkisg>
LDM won't really work with wayland
18:50
And it breaks each time .desktop files change
18:50
<gbaman>
In this particular case... It is less working I will admit
18:50
<alkisg>
And there's no point in having LDM when one can use all the other DMs with pam
18:50
The new ltsp doesn't even have compiled code; it's all sent as an additional initrd
18:50
There's not even an ltsp-client package
18:51
<gbaman>
What is this hacking you speak of :)
18:51
This could not be *real* LTSP
18:51
<alkisg>
It's a complete rewrite of ltsp
18:51
To be released in september
18:51
<gbaman>
Well, I would say PiNet will stick around on this version for a while
18:52
<alkisg>
Buster will have ltsp5; the next one will probably have ltsp19
18:52
<gbaman>
Well, Pi Foundation jumped the gun a tad on Buster, we shouldn't really be having this conversation yet...
18:53
Guess they didn't want to include support into Stretch for the new hardware
18:53
Same thing they did for Pi 3B+ and Jessie->Stretch. Jessie never got official support for the new hardware
18:53
Anyway, any suggestions for next place to check for ldm debugging?
18:54
<alkisg>
Put `set -x; exec 2>/tmp/out` in the scripts, to see which point it reaches
18:56
<gbaman>
Which scripts we talking about here?
18:58
<alkisg>
/usr/share/ldm/rc.d/*
18:59
<gbaman>
Ok, will have a play around
19:19
<vagrantc>
considering buster is in deep freeze, it's not terribly unreasonable to base new things on it
19:20
even a release date scheduled in a couple weeks
19:36statler has left IRC (statler!~Georg@gwrz.lohn24.de, Remote host closed the connection)
20:01ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
20:38
<gbaman>
Ok alkisg, I am back and have done a little more tinkering. From the looks of things, the "ldm-script" file is finishing fine
20:38
Is there some level above that?
20:52
Also can confirm it isn't x that is the issue, given can run startx and it runs (although with broken stuff left right and centre)
21:05woernie has left IRC (woernie!~werner@134.76.113.42, Remote host closed the connection)
21:35kjackal_v2 has left IRC (kjackal_v2!~quassel@2a02:587:311f:c300:886d:4f98:fa5b:6600, Ping timeout: 258 seconds)
21:49pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
21:55
<gbaman>
alkisg this looks like getting a little closer https://pastebin.com/wnem4RvX
23:00mwalters has joined IRC (mwalters!~ubox@c-73-152-61-86.hsd1.va.comcast.net)