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


Channel log from 28 December 2020   (all times are UTC)

03:57vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
05:33adrianor1 has joined IRC (adrianor1!~adrianorg@177.204.148.56.dynamic.adsl.gvt.net.br)
05:37adrianorg has left IRC (adrianorg!~adrianorg@179.177.211.88.dynamic.adsl.gvt.net.br, Ping timeout: 268 seconds)
05:47yanu has left IRC (yanu!~yanu@178-118-204-17.access.telenet.be, Remote host closed the connection)
07:03ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:53woernie has joined IRC (woernie!~werner@pd9e8bc11.dip0.t-ipconnect.de)
09:19yanu has joined IRC (yanu!~yanu@178-118-204-17.access.telenet.be)
10:06woernie has left IRC (woernie!~werner@pd9e8bc11.dip0.t-ipconnect.de, Remote host closed the connection)
10:06woernie has joined IRC (woernie!~werner@pd9e8bc11.dip0.t-ipconnect.de)
10:21yanu has left IRC (yanu!~yanu@178-118-204-17.access.telenet.be, Read error: Connection reset by peer)
10:22yanu has joined IRC (yanu!~yanu@178-118-204-17.access.telenet.be)
10:22yanu has left IRC (yanu!~yanu@178-118-204-17.access.telenet.be, Read error: Connection reset by peer)
10:27yanu has joined IRC (yanu!~yanu@178-118-204-17.access.telenet.be)
10:27yanu has left IRC (yanu!~yanu@178-118-204-17.access.telenet.be, Read error: Connection reset by peer)
10:37yanu has joined IRC (yanu!~yanu@178-118-204-17.access.telenet.be)
11:08bobby82 has joined IRC (bobby82!6dc048e9@HSI-KBW-109-192-072-233.hsi6.kabel-badenwuerttemberg.de)
11:08
<bobby82>
Hi
11:08
I cannot create an image. the command "debootstrap focal focal" fails.
11:38
<alkisg>
bobby82: can you pastebin the whole debian output?
11:38
*terminal
11:38
!paste
11:38
<ltspbot`>
paste: To avoid channel flooding, please upload text longer than 3 lines to http://paste.debian.net. Don't forget to paste the resulting URL here.
11:39
<alkisg>
Also, are you sure you want a "chroot" image, instead of "chrootless" or "vm image", which are easier?
11:40
<bobby82>
as far as I understood the wiki, the chrootless images use the server files so they have the same architecture
11:40
correct me if I'm wrong
11:41
<alkisg>
Indeed. What's your use case, what do you need?
11:41
<bobby82>
I have a 64bit desktop that is supposed to serve images for non-64bit diskless laptops
11:42
<alkisg>
You mean 32bit x86 clients? Focal doesn't support 32bit
11:42
The last Ubuntu to support 32bit was 18.04, "bionic"
11:42
<bobby82>
Indeed
11:42
<alkisg>
Debian still supports 32bit
11:42
So, a "focal" chroot wouldn't work for you anyway
11:42
What's your ltsp server distribution? Focal 64bit?
11:43
<bobby82>
yes
11:43
<alkisg>
Is it a desktop machine? Does it run xorg?
11:43
<bobby82>
Yes
11:43
<alkisg>
And I assume your clients will also need a desktop, right?
11:43
<bobby82>
Sure
11:43
<alkisg>
The easiest way would be to do a 32bit os installation inside virtualbox
11:44
E.g. Ubuntu MATE 18.04 32bit or whatever else you like
11:44
Read this: https://ltsp.org/man/ltsp-image/#vm-images
11:44
(btw, about your initial issue, I just ran `debootstrap focal focal`, and it finished successfully, no problems there)
11:45
<bobby82>
if you add --archi386, it fails
11:45
<alkisg>
Because there's no i386 architecture in focal, of course
11:45
This is a user problem, not a distribution problem...
11:45
You would need "bionic" there, not "focal"
11:46
<bobby82>
Well, in that case it should say it can't run and not leave me with a half installed base system and a message about missing dependencies
11:46
<alkisg>
Sure if you want you can report it to Ubuntu; debootstrap isn't related to ltsp at all
11:47
<bobby82>
so is it a good idea to go with a Bionic ltsp image and access an account which is used from a Focal installation most of the time?
11:48
<alkisg>
Specifically for these two, it shouldn't be a problem; in other cases, e.g. thunderbird or firefox may upgrade their ~/.local folders to newer formats, in which case they won't be loaded from the previous version anymore
11:48
In that case, you'd need to downgrade the problematic app so that it works with the previous settings/data folder
11:49
Also, I've tested that scenario with MATE; I don't know about other desktop environments (with mixed versions, that is)
11:49
<bobby82>
That's what concerns me most... different Plasma versions...
11:49
<alkisg>
You can install the server with 18.04/64bit, and the vm with 18.04/32bit
11:50
Or you can use any recent Debian instead of Ubuntu
11:50
In general it's rarely a problem though; I've been booting lots and lots of live CDs of various years and desktop environments with the same home, and I haven't noticed such issues except for certain thunderbird/firefox versions
11:51
debootstrap --arch=i386 bionic bionic ==> this also just finished successfully
11:52
<bobby82>
I have one i386 client and one client that is amd64 (which is the more important one). I think I will go without the i386 one...
11:53
<alkisg>
If your server is good enough, you could also boot the i386 client with any distro/version, and then use x2go or xfreerdp to connect to the server 20.04/KDE and run the same set of apps
11:53
I.e. thin client instead of fat
11:54
<bobby82>
That would be my preferred way to do it
11:54
Is that possible on a diskless machine?
11:54
<alkisg>
Sure. Start with that Ubuntu 18.04/32/KDE VM that I said, and you can add xfreerdp on top of that
11:55
<bobby82>
But in that case I would have to send different images to corresponding machines. How would I do that?
11:56
<alkisg>
If you name the images x86_64 and x86_32, then the 32bit clients choose the correct one automatically
11:56
<bobby82>
Really?
11:56
<alkisg>
Yup
12:00
<bobby82>
Doesnt't the dhcp contain the exact image file name?
12:00
<alkisg>
LTSP uses ipxe as the "image file name"; then ipxe loads a script, and we have code inside the "ltsp.ipxe" script that does the autodetection
12:01
https://github.com/ltsp/ltsp/blob/master/ltsp/server/ipxe/ltsp.ipxe#L10
12:01
cpuid --ext 29 && set img x86_64 || set img x86_32
12:02
<bobby82>
it detects the type of a remote CPU?
12:02
<alkisg>
ipxe runs on the client, not on the server
12:02
It gets downloaded from the server, but it runs on the client
12:03
<bobby82>
Okay. I wanted to set this up during the days of LTSP5, but I had no idea how to do this...
12:04
<alkisg>
At that time we were using syslinux, and you could implement that with the "ifcpu64" module
12:04
But ipxe is so much more powerful, that in ltsp20 I added scripting support for various things, e.g. kernel parameters, default image, menus, timeout...
12:04
Now you can put a kernel parameter inside ltsp.conf, and have it reach the client /proc/cmdline
12:05
<bobby82>
Okay. Thanks for your support. I will consider my options...
12:05
<alkisg>
np
12:05
<bobby82>
Great piece of software, btw
12:06
<alkisg>
Thank you
12:28bobby82 has left IRC (bobby82!6dc048e9@HSI-KBW-109-192-072-233.hsi6.kabel-badenwuerttemberg.de, Remote host closed the connection)
12:32bobby20 has joined IRC (bobby20!6dc048e9@HSI-KBW-109-192-072-233.hsi6.kabel-badenwuerttemberg.de)
12:33
<bobby20>
Okay, the client reaches the server. But I ran into another problem.
12:33
"sudo ltsp image /" doesn't work
12:35
https://pastebin.com/fnBLUfPb
13:15woernie has left IRC (woernie!~werner@pd9e8bc11.dip0.t-ipconnect.de, Remote host closed the connection)
13:15woernie has joined IRC (woernie!~werner@pd9e8bc11.dip0.t-ipconnect.de)
14:11
<bobby20>
Anyone?
14:30
Okay, solved it
14:42bobby20 has left IRC (bobby20!6dc048e9@HSI-KBW-109-192-072-233.hsi6.kabel-badenwuerttemberg.de, Remote host closed the connection)
14:52bobby85 has joined IRC (bobby85!6dc048e9@HSI-KBW-109-192-072-233.hsi6.kabel-badenwuerttemberg.de)
14:53
<bobby85>
Anyone here?
14:56applemuncy_1 has joined IRC (applemuncy_1!~apple@107-203-235-32.lightspeed.iplsin.sbcglobal.net)
15:06
<bobby85>
I have some mounts on the server that do not exist on the LTSP client. How can I have them mounted?
15:19adrianor1 is now known as adrianorg
15:24applemuncy_1 has left IRC (applemuncy_1!~apple@107-203-235-32.lightspeed.iplsin.sbcglobal.net, Ping timeout: 256 seconds)
15:28
<alkisg>
bobby85: the error in pastebin sounded like a bad passwd file
15:28
Re: mounts, what mounts, nfs? See `man ltsp.conf`, FSTAB_* section
15:30
<bobby85>
I have local mounts on the server that do not appear on the client
15:31
<alkisg>
Yes, but what mounts, nfs?
15:32
Mounts that go in /etc/fstab on the server, can go to the clients with the FSTAB_* ltsp.conf options
15:32
<bobby85>
local devices, such as /dev/sdd7
15:32
<alkisg>
You need to expose them via a network file system, i.e. you'd need to `apt install nfs-kernel-server` first
15:33
<bobby85>
i have that installed already
15:33
<alkisg>
Great, problem solved then
15:33
<bobby85>
sorry, no...
15:34
<alkisg>
Which part you didn't do yet?
15:34
1) install nfs, 2) add exports, 3) use fstab in ltsp.conf
15:34applemuncy_1 has joined IRC (applemuncy_1!~apple@2600:1700:f2b0:6c90:b05a:b9c5:a72d:bf3a)
15:45bobby85 has left IRC (bobby85!6dc048e9@HSI-KBW-109-192-072-233.hsi6.kabel-badenwuerttemberg.de, Remote host closed the connection)
16:00Leo[m]4 has left IRC (Leo[m]4!leohwis@gateway/shell/matrix.org/x-uuiutglinbtjznun, Quit: Idle for 30+ days)
16:00bobby37 has joined IRC (bobby37!6dc048e9@HSI-KBW-109-192-072-233.hsi6.kabel-badenwuerttemberg.de)
16:06
<bobby37>
I have exports in place (hopefully correct)
16:06
What is missing?
16:09applemuncy_11 has joined IRC (applemuncy_11!~apple@107-203-235-32.lightspeed.iplsin.sbcglobal.net)
16:10applemuncy_1 has left IRC (applemuncy_1!~apple@2600:1700:f2b0:6c90:b05a:b9c5:a72d:bf3a, Ping timeout: 260 seconds)
16:15
<bobby37>
Okay, up and running...
16:16
I didn't get from the documentation that I can make up my own FSTAB_* options
16:30applemuncy_11 has left IRC (applemuncy_11!~apple@107-203-235-32.lightspeed.iplsin.sbcglobal.net, Quit: Leaving.)
16:31applemuncy_1 has joined IRC (applemuncy_1!~apple@107-203-235-32.lightspeed.iplsin.sbcglobal.net)
16:42bobby37 has left IRC (bobby37!6dc048e9@HSI-KBW-109-192-072-233.hsi6.kabel-badenwuerttemberg.de, Remote host closed the connection)
16:59quinox has left IRC (quinox!~quinox@ghost.qtea.nl, Quit: WeeChat 2.8)
17:02quinox has joined IRC (quinox!~quinox@ghost.qtea.nl)
17:20applemuncy_11 has joined IRC (applemuncy_11!~apple@2600:1700:f2b0:6c90::31)
17:20applemuncy_1 has left IRC (applemuncy_1!~apple@107-203-235-32.lightspeed.iplsin.sbcglobal.net, Read error: Connection reset by peer)
17:21GodFather_ has joined IRC (GodFather_!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net)
17:23GodFather has joined IRC (GodFather!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net)
17:28applemuncy_11 has left IRC (applemuncy_11!~apple@2600:1700:f2b0:6c90::31, Quit: Leaving.)
17:29applemuncy_1 has joined IRC (applemuncy_1!~apple@2600:1700:f2b0:6c90::31)
17:29applemuncy_1 has left IRC (applemuncy_1!~apple@2600:1700:f2b0:6c90::31, Client Quit)
17:30applemuncy_1 has joined IRC (applemuncy_1!~apple@107-203-235-32.lightspeed.iplsin.sbcglobal.net)
17:55lucascastro has left IRC (lucascastro!~lucascast@177-185-139-189.dynamic.isotelco.net.br, Read error: Connection reset by peer)
18:16woernie has left IRC (woernie!~werner@pd9e8bc11.dip0.t-ipconnect.de, Remote host closed the connection)
18:16woernie has joined IRC (woernie!~werner@pd9e8bc11.dip0.t-ipconnect.de)
18:18lucascastro has joined IRC (lucascastro!~lucascast@177-185-131-162.corp.isotelco.net.br)
18:21applemuncy_1 has left IRC (applemuncy_1!~apple@107-203-235-32.lightspeed.iplsin.sbcglobal.net, Quit: Leaving.)
18:28lucascastro has left IRC (lucascastro!~lucascast@177-185-131-162.corp.isotelco.net.br, Ping timeout: 260 seconds)
18:30lucascastro has joined IRC (lucascastro!~lucascast@177-185-131-162.corp.isotelco.net.br)
18:33lucascastro has left IRC (lucascastro!~lucascast@177-185-131-162.corp.isotelco.net.br, Remote host closed the connection)
18:33lucascastro has joined IRC (lucascastro!~lucascast@177-185-131-162.corp.isotelco.net.br)
18:39lucascastro has left IRC (lucascastro!~lucascast@177-185-131-162.corp.isotelco.net.br, Ping timeout: 246 seconds)
18:55GodFather has left IRC (GodFather!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net, Ping timeout: 246 seconds)
18:55GodFather_ has left IRC (GodFather_!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net, Ping timeout: 256 seconds)
18:59GodFather has joined IRC (GodFather!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net)
18:59GodFather_ has joined IRC (GodFather_!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net)
19:54GodFather has left IRC (GodFather!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net, Ping timeout: 240 seconds)
19:55GodFather_ has left IRC (GodFather_!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net, Ping timeout: 240 seconds)
20:00GodFather has joined IRC (GodFather!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net)
20:00GodFather_ has joined IRC (GodFather_!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net)
20:01GodFather_ has left IRC (GodFather_!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net, Max SendQ exceeded)
20:07GodFather has left IRC (GodFather!~rcc@h69-21-236-202.lvrgtn.dedicated.static.tds.net, Ping timeout: 264 seconds)
20:49woernie has left IRC (woernie!~werner@pd9e8bc11.dip0.t-ipconnect.de, Remote host closed the connection)
21:48lucascastro has joined IRC (lucascastro!~lucascast@177-185-139-189.dynamic.isotelco.net.br)
21:58ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)