01:41 | lucascastro has joined IRC (lucascastro!~lucascast@177-185-133-183.dynamic.isotelco.net.br) | |
06:47 | ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz) | |
07:20 | RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro) | |
07:25 | jgee has left IRC (jgee!~jgee@190.159.118.121, Ping timeout: 268 seconds) | |
08:17 | Aison has joined IRC (Aison!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19) | |
10:37 | antareS_ has joined IRC (antareS_!bc4ed3f5@245.211.78.188.dynamic.jazztel.es) | |
10:38 | <antareS_> Hello!!! just switching to the new LTSP and coming from PiNet (which made everything veeery easy) and looking for some advice on how to install ltsp in a virtual machine. I've been looking around the past tw days but found little about the new LTSP
| |
10:39 | <alkisg> Hello antareS_
| |
10:39 | Everything about the new ltsp is in ltsp.org
| |
10:40 | https://ltsp.org/docs/installation for the usual ltsp server installation, even if it's in a vm,
| |
10:40 | And https://ltsp.org/docs/installation/raspios/ for raspberries
| |
10:41 | pinet just added a gui to run the ltsp commands, while the code that made everything easy was already in ltsp :)
| |
10:41 | <antareS_> Yes, I read that. I want to make a new fresh install and I've made it already. But no success and I guess it is because I am installing LTSP in a VM.
| |
10:41 | <alkisg> What is the "no success" error message?
| |
10:42 | What part is failing and what error does it show?
| |
10:45 | <antareS_> Basically the RPi's couldn't get the OS. But my question here is about: possible keywords, hints, to search for and try before asking for "real help"... I mean things I should have read thorougly (apart from the ltsp docs) If you think, for instance, that running LTSP in a VM is a no-go
| |
10:45 | <alkisg> You only need the 2 URLs I linked to, and a "bridged mode NIC" in your LTSP VM
| |
10:45 | Nothing more to read about it
| |
10:48 | <antareS_> OK. I'll start over again and come back later.
| |
10:48 | <alkisg> OK
| |
10:48 | antareS_: it's a good idea to do the chrootless mode first, and boot a pc client
| |
10:48 | I.e. all the installation page
| |
10:48 | And THEN to go to the raspios page, and boot a raspberry
| |
10:49 | As raspberries are more difficult to troubleshoot, they don't show messages before they receive their bootcode.bin etc
| |
10:49 | <antareS_> OK but... chrootless means I serve "the server itself" doesn't it?
| |
10:49 | <alkisg> Yes
| |
10:49 | You can delete the image afterwards without issues
| |
10:50 | <antareS_> OK. I'll do the simplest first and then move on. By the way... I'd love to keep my pinet image... I tried to copy the chroot and use it with the new LTSP. is it crazy?
| |
10:51 | <alkisg> From "ltsp server" to "chrootless" it's just `ltsp image / && ltsp ipxe`; while to delete it, it's `rm /srv/ltsp/images/x84_64.img && ltsp ipxe`
| |
10:51 | It should be possible to keep your old pinet image, sure. Although you don't need the ltsp-client packages anymore and you can uninstall them
| |
10:51 | Follow the raspios page inside your pinet chroot
| |
10:52 | Note though that pinet was using the debootstrap command, which resulted in a much lower quality image than the new ltsp
| |
10:52 | I.e. it was missing all the raspberry pi os optimizations
| |
10:58 | <antareS_> Well, I have to ponder if it is an option. I had it configured very simple (just openbox) and I am in a sort of a hurry... and keeping the old image will save a lot of time. But I should move on for sure.
| |
10:59 | <alkisg> Sure, you should be able to keep it even without any changes at all
| |
10:59 | The new LTSP sends its code while it boots, so it doesn't even need an ltsp-client package
| |
11:01 | <antareS_> Aah... I see that no desktop servers (headless?) are not recommended. I wanted to install it in a no-desktop ubuntu 20 server. Could it be an issue? Or the recommendation is just for making things easier with GUIs?
| |
11:02 | <alkisg> It's not a problem to use a headless server, the same instructions apply, even for chrootless
| |
11:02 | The booted client will again be headless, of course
| |
11:03 | The recommendation is there in order to be able to use epoptes to control the clients etc
| |
11:07 | <antareS_> Ok, so in my first attempt I should xpect to have a headless thing (the same as the server, being ltsp chrootles) and if i am able to serve the chroot, as it always used to be. Yhanks
| |
11:07 | Thanks
| |
11:38 | Well, i have to say... it's absolutely appealing... chrootless up and running!!! Now time to try the chroot thing.
| |
12:19 | Well, just installed the old chroot and tested with a laptop. Of course it doesn't boot but at least ipxe menu is modified and I see there are attempts to get the thing. I guess I have the problem with the RPi itself. I followed the netboot procedure, but in my case I have a RPi 3 and no way without SD card. With SD card, however, there is some
| |
12:19 | network activity and, in fact, I get something I guess interesting from wireshark
| |
12:19 | but nothing on screen
| |
12:21 | Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19, Ping timeout: 265 seconds) | |
12:34 | douglas_br has joined IRC (douglas_br!a8b53104@168.181.49.4) | |
12:34 | <douglas_br> hello! How are you?
| |
12:34 | <antareS_> OK... i used wireshark to see what's going on... basically there are complaints about not finding relevant files. I made a simple dump here, just in case you can take a look
| |
12:34 | https://gist.github.com/jtornero/d4705ebab678d5dd3248ae92eb711bff
| |
12:37 | <douglas_br> someone have motherboard with aptio setup utility? (american megatrends BIOS). I have mini pc with this bios and cannot find option to change the boot mode for lan / network / ipxe
| |
13:00 | <alkisg> dragon788: upload screenshots for us to see
| |
13:01 | antareS_: not all the files are needed. What's the output of ls -l /srv/tftp | nc termbin.com 9999 ?
| |
13:01 | dragon788: sorry I meant douglas_br
| |
13:01 | douglas_br: upload screenshots for us to see
| |
13:06 | antareS_: note that rpi3 can boot either with sd-card or without it
| |
13:06 | If you ARE using an sd card, make sure it has the latest bootcode.bin and not an old one; it got fixed a year ago or so
| |
13:06 | <antareS_> https://termbin.com/cgl9
| |
13:07 | <alkisg> antareS_: you didn't follow the raspios page steps carefully
| |
13:07 | antareS_: here's mine: https://termbin.com/tty2
| |
13:07 | This is done by the ltsp kernel step, after you've configured the correct rpi_image in ltsp.conf
| |
13:08 | https://ltsp.org/docs/installation/raspios/#server-preparation
| |
13:08 | This is needed because rpi is implements netbooting in a very, very bad way :)
| |
13:09 | I've filed bug reports about it but they didn't really bother fixing their bugs
| |
13:10 | Note that in ltsp5 (=what you think that pinet did, it was done by ltsp5), an sd card was needed with a local kernel etc
| |
13:10 | In the new ltsp, I reimplemented that part better so the sd card isn't needed anymore
| |
13:10 | <antareS_> No. I guess it was for a new raspios setup. I tried copying the chroot. Guessed those instructions were for new installs and for existing chroots the simple approach (ltsp image [chroot]) will be enough.
| |
13:10 | <alkisg> You'll need half of the instructions there
| |
13:11 | The simple approach would be enough for other architectures, but raspberries need these extra commands and steps
| |
13:11 | You need ALL that page, except for the "chroot preparation" paragraph
| |
13:13 | <antareS_> OK, I just followed the ltsp.conf instructions, I mean, the "Server preparation" but no the others. I'm starting over, thanks a lot!!!!!!!!
| |
13:14 | I guess instead "raspios" it can be named whatever I like (I inherited 'armhf' from my old ltsp/pinet installation)
| |
13:14 | <alkisg> antareS_: it's a good idea to rename armhf to raspios, it'll save you time troubleshooting things
| |
13:14 | But sure, you can name it however you want. Avoid spaces.
| |
13:15 | Also note that things got moved from /opt/ltsp to /srv/ltsp
| |
13:18 | <antareS_> OK, thanks
| |
13:18 | <alkisg> antareS_: also do the steps below this line: At this point, Raspberry Pi OS should be in /srv/ltsp/raspios. This chroot isn't ready for netbooting yet, the following commands are needed:
| |
13:18 | They might not be needed with ltsp5, but do them just in case
| |
13:18 | <douglas_br> dragon788 here: https://imgur.com/ZB7Qf2R
| |
13:19 | <alkisg> douglas_br: I typed "dragon788" by mistake; it was me talking to you; dragon788 hasn't said anything :)
| |
13:20 | douglas_br: the other tabs will be needed too; you'll need like 10 screenshots :)
| |
13:20 | Upload these tabs next: advanced, chipset, boot,
| |
13:25 | <douglas_br> sorry! I need to say to person to send me the screenshots because mini pc is in other city. But, we enter all mode: advanced, chipset, boot.
| |
13:26 | <alkisg> douglas_br: no problem, you may also upload them in the github discussion; I'll go afk for a while anyway, back in a couple of hours...
| |
13:28 | <douglas_br> yes alkisg I did start in github. Thank you
| |
13:38 | Aison has joined IRC (Aison!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19) | |
14:48 | woernie has left IRC (woernie!~werner@p5b2966e7.dip0.t-ipconnect.de, Ping timeout: 240 seconds) | |
14:50 | woernie has joined IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de) | |
15:25 | antareS_ has left IRC (antareS_!bc4ed3f5@245.211.78.188.dynamic.jazztel.es, Quit: Connection closed) | |
15:30 | woernie_ has joined IRC (woernie_!~werner@p5b2966e7.dip0.t-ipconnect.de) | |
15:30 | woernie has left IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de, Ping timeout: 272 seconds) | |
16:14 | Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19, Ping timeout: 265 seconds) | |
16:32 | eu^1909212715 has joined IRC (eu^1909212715!be5c7f0f@190.92.127.15) | |
16:34 | <eu^1909212715> hi, i'm new to this chat. I have problems with ltsp clients
| |
16:36 | <alkisg> Hi eu^1909212715
| |
16:36 | eu^1909212715: what problems?
| |
16:37 | <eu^1909212715> i am this guy https://github.com/ltsp/ltsp/discussions/400
| |
16:38 | <alkisg> It's best if you use a nickname in IRC. To set one, type this command here in irc: /nick alequint8912
| |
16:38 | Let me re-read that discussion...
| |
16:38 | Ah right where your home isn't mounted
| |
16:38 | eu^1909212715 is now known as alequint8912 | |
16:39 | <alkisg> Can I see via vnc? If yes, do this:
| |
16:39 | !vnc-alkisg
| |
16:39 | <ltspbot> vnc-alkisg: To share your screen with me, run this: sudo apt-get --yes install x11vnc; x11vnc -connect alkisg.ltsp.org; this is a reverse connection, it doesn't need port forwarding etc.
| |
16:41 | <alequint8912> ok wait
| |
16:43 | I can not connect
| |
16:44 | <alkisg> What is the error message?
| |
16:44 | <alequint8912> ******************************************************************************
| |
16:44 | Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
| |
16:44 | The scheme stores pixel data offscreen on the VNC viewer side for faster
| |
16:44 | retrieval. It should work with any VNC viewer. Try it by running:
| |
16:44 | x11vnc -ncache 10 ...
| |
16:44 | One can also add -ncache_cr for smooth 'copyrect' window motion.
| |
16:44 | More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
| |
16:44 | 15/02/2021 11:45:08 Making connection to client on host alkisg.ltsp.org port 5500
| |
16:44 | |D-chain|-<>-192.168.70.3:3128-<><>-81.186.20.0:5500-<--denied
| |
16:44 | 15/02/2021 11:45:08 rfbConnectToTcoAddr: failed to connect
| |
16:44 | : Connection refused
| |
16:44 | 15/02/2021 11:45:08 connection failed: Connection refused
| |
16:44 | 15/02/2021 11:45:08 connect_tcp: trying: alkisg.ltsp.org 5500
| |
16:44 | |D-chain|-<>-192.168.70.3:3128-<><>-81.186.20.0:5500-<--denied
| |
16:44 | 15/02/2021 11:45:08 rfbConnectToTcoAddr: failed to connect
| |
16:44 | : Connection refused
| |
16:44 | 15/02/2021 11:45:08 connect_tcp: connection failed: Connection refused
| |
16:44 | 15/02/2021 11:45:08 connect_tcp: re-trying alkisg.ltsp.org 5500
| |
16:44 | <alkisg> !paste
| |
16:44 | <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.
| |
16:45 | <alkisg> Do not paste more than 3 lines in IRC, because freenode will kick/ban you...
| |
16:46 | Do you have a firewall that blocks the connection?
| |
16:46 | Try `sudo ufw disable` in case you have ufw
| |
16:46 | <alequint8912> D-chain|-<>-192.168.70.3:3128-<><>-81.186.20.0:5500-<--denied
| |
16:46 | 15/02/2021 11:45:08 connect_tcp[ipv6]: connect: Connection refused
| |
16:46 | 15/02/2021 11:45:08 connect_tcp[ipv6]: setsockopt IPV6_V6ONLY: Protocol not available
| |
16:47 | <alkisg> Hmm why ipv6?
| |
16:47 | It's an ipv4 address
| |
16:48 | <alequint8912> I don't know, I have an IPv4 address
| |
16:49 | <alkisg> Check your firewall. Maybe that's what's causing all the issues.
| |
16:49 | alequint8912: are you using a proxy to access the internet?
| |
16:50 | Yeah I guess that's the issue, you're going through a proxy and the proxy blocks you
| |
16:51 | Try this: x11vnc -connect alkisg.ltsp.org:80
| |
16:55 | alequint8912 has left IRC (alequint8912!be5c7f0f@190.92.127.15, Ping timeout: 240 seconds) | |
16:55 | <alkisg> OK
| |
17:11 | alequint8912 has joined IRC (alequint8912!be5c7f0f@190.92.127.15) | |
17:11 | <alkisg> alequint8912: so the command you needed was, inside the VM: sudo apt install --install-recommends ltsp epoptes-client
| |
17:11 | That's because stupid Linux Mint disables `--install-recommends`, it's a bad distribution
| |
17:11 | I'll update ltsp.org to note that
| |
17:12 | <alequint8912> s the only distribution that works for me
| |
17:12 | douglas_br has left IRC (douglas_br!a8b53104@168.181.49.4, Quit: Connection closed) | |
17:13 | <alequint8912> the client is very poor
| |
17:13 | intel D2500
| |
17:13 | 2GB ram
| |
17:13 | i try with ubuntu but does not load
| |
17:14 | <alkisg> Ubuntu MATE is much lighter
| |
17:14 | Don't try Ubuntu GNOME, try Ubuntu MATE, I also have the link for the .iso in the installation page
| |
17:14 | And with 2 GB RAM, it might be best to use Ubuntu MATE 18.04 32bit as the client VM
| |
17:15 | <alequint8912> can we prove it?
| |
17:15 | <alkisg> Sure, boot any live cd or installation that you like, open a terminal and type `free`
| |
17:15 | I've done that, and Mint needed a whole lot ram than mate
| |
17:16 | It's: GNOME > KDE > XFCE > MATE > LXDE
| |
17:16 | I don't remember cinnamon, I think it's as heavy as GNOME
| |
17:17 | <alequint8912> this version is Linux mint 18 xcfe
| |
17:17 | <alkisg> OK, so it's just a bit more heavy than ubuntu mate. Is it 32 or 64 bit?
| |
17:17 | <alequint8912> 32
| |
17:17 | <alkisg> OK
| |
17:17 | Which Ubuntu version is that?
| |
17:17 | Is it based on 18.04?
| |
17:17 | <alequint8912> the server?
| |
17:18 | 20.04
| |
17:18 | <alkisg> No, the Linux Mint 18 XFCE
| |
17:18 | <alequint8912> i think 16.04
| |
17:18 | <alkisg> cat /etc/os-release, should have it
| |
17:19 | Anyway I'd go for MATE 18.04; but this should also work
| |
17:21 | <alequint8912> it doesnt say
| |
17:21 | ok i wil type de command
| |
17:22 | you are watching my screen?
| |
17:23 | <alkisg> No, let me see..
| |
17:31 | woernie_ has left IRC (woernie_!~werner@p5b2966e7.dip0.t-ipconnect.de, Remote host closed the connection) | |
17:31 | woernie has joined IRC (woernie!~werner@p5b2966e7.dip0.t-ipconnect.de) | |
17:33 | <alequint8912> ok I create the image
| |
17:34 | and run ltsp ipxe
| |
17:34 | ltsp nfs
| |
17:34 | ltsp initrd
| |
17:41 | vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc) | |
17:46 | woernie has left IRC (woernie!~werner@p5b2966e7.dip0.t-ipconnect.de, Ping timeout: 256 seconds) | |
17:47 | woernie has joined IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de) | |
17:52 | <alkisg> alequint8912: everything ok now?
| |
17:53 | Aison has joined IRC (Aison!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19) | |
18:05 | <alequint8912> no, stay the same
| |
18:06 | Im downloading ubuntu mate 18.04
| |
18:06 | maybe with him it will work
| |
18:08 | I can't add the ltsp ppa repository on linux mint
| |
18:08 | can't install ltsp library
| |
18:12 | <alkisg> alequint8912: it's not needed
| |
18:12 | You ran ltsp image and it didn't work after that?
| |
18:13 | alequint8912: login to theclient, and run sshfs, is it there?
| |
18:14 | <alequint8912> no is not there
| |
18:15 | cant find the package
| |
18:16 | <alkisg> alequint8912: then you didn't run ltsp image properly
| |
18:16 | Maybe you installed sshfs in the copied vm, but not in the correct one
| |
18:17 | <alequint8912> let me see
| |
18:19 | ok in the vm it say missing host
| |
18:19 | but I use that vm when create the image
| |
18:20 | let me do it again
| |
18:20 | I win type thi command ltsp image VM-flat
| |
18:20 | then ltsp ipxe
| |
18:21 | then ltsp nfs
| |
18:21 | and ltsp initrd
| |
18:21 | is correct?
| |
18:34 | ok i bott the client and recognize sshfs
| |
18:34 | and mount home
| |
18:37 | <alkisg> Great
| |
18:39 | <alequint8912> wow it works jajaja
| |
18:39 | save my changes
| |
18:39 | <alkisg> All this because of silly linux mint breaking debian policy with --no-install-recommends :)
| |
18:39 | <alequint8912> thanks you very much
| |
18:39 | <alkisg> You're welcome
| |
18:39 | <alequint8912> so you recomends intall ubuntu mate
| |
18:40 | <alkisg> If you remember to use --install-recommends, then mint isn't an issue, you can keep using it
| |
18:40 | But for new installations, yeah I believe ubuntu mate is superior to mint for a lot of reasons
| |
18:40 | <alequint8912> ok I will try ubuntu
| |
18:40 | <alkisg> With just 2 GB RAM, remember to use a 32bit version, so either up to 18.04, or debian
| |
18:41 | I.e. don't use ubuntu 20.04, it's 64bit only
| |
18:41 | And it wastes a lot of RAM
| |
18:41 | <alequint8912> ok thanks
| |
18:41 | <alkisg> np
| |
18:41 | <alequint8912> so where I give you the stars
| |
18:41 | <alkisg> What stars?
| |
18:42 | For "question solved" in github?
| |
18:42 | <highvoltage> there's an ice-cream tub full of stars, I usually just take one of the gold ones and push it on to alkisg's forehead
| |
18:43 | <alkisg> Ice cream? Where? Where?
| |
18:43 | :D
| |
18:43 | <alequint8912> jaja I dont know the corrent answer, doesnt it work like that
| |
18:43 | ?
| |
18:43 | yes question solved
| |
18:43 | <alkisg> OK let me post a reply
| |
18:44 | alequint8912: last reply there: https://github.com/ltsp/ltsp/discussions/400
| |
18:44 | OK now we're politically correct, we have a star :D
| |
18:47 | <alequint8912> so this chat support only ltsp or other things
| |
18:47 | <alkisg> ltsp and epoptes
| |
18:48 | <alequint8912> ok thanks
| |
18:56 | antareS_ has joined IRC (antareS_!bc4ed3f5@245.211.78.188.dynamic.jazztel.es) | |
19:05 | <highvoltage> alkisg: I scream, you scream, it's 2021, we all scream
| |
19:11 | woernie has left IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de, Ping timeout: 246 seconds) | |
19:12 | <antareS_> Well... in PiNet all the user "lived" ad the server and had their own home at the server. How is it done now?
| |
19:12 | woernie has joined IRC (woernie!~werner@p5b2966e7.dip0.t-ipconnect.de) | |
19:26 | alequint8912 has left IRC (alequint8912!be5c7f0f@190.92.127.15, Quit: Connection closed) | |
19:31 | alequint8912 has joined IRC (alequint8912!be5c7f0f@190.92.127.15) | |
19:31 | alequint8912 has left IRC (alequint8912!be5c7f0f@190.92.127.15, Client Quit) | |
19:36 | woernie has left IRC (woernie!~werner@p5b2966e7.dip0.t-ipconnect.de, Remote host closed the connection) | |
19:36 | woernie has joined IRC (woernie!~werner@p5b2966e7.dip0.t-ipconnect.de) | |
19:41 | woernie has left IRC (woernie!~werner@p5b2966e7.dip0.t-ipconnect.de, Ping timeout: 240 seconds) | |
19:42 | woernie has joined IRC (woernie!~werner@p5b2966e7.dip0.t-ipconnect.de) | |
20:08 | <alkisg> antareS_: pinet is ltsp5. I wrote the code to boot raspberries in ltsp5 myself :)
| |
20:09 | The new LTSP works the same way as the old LTSP, the user accounts and home are on the server
| |
20:10 | I.e. it's best to say "in ltsp5..." than to say "in pinet", because pinet had no code for that; it was all done by ltsp
| |
20:26 | RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Quit: Please remember your own message. It'll be read as soon as possible.) | |
20:45 | <antareS_> alksig: From now on, I'll refer to it as ltsp5... it was just for putting it into context.
| |
20:45 | so fro creating an account, I just create users on the server machine, isn't it?
| |
20:55 | <alkisg> Yes, and you run `ltsp initrd` to have them show up on the clients on the next reboot
| |
21:42 | ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving) | |
22:14 | woernie has left IRC (woernie!~werner@p5b2966e7.dip0.t-ipconnect.de, Remote host closed the connection) | |
23:18 | antareS_ has left IRC (antareS_!bc4ed3f5@245.211.78.188.dynamic.jazztel.es, Quit: Connection closed) | |
23:49 | Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19, Ping timeout: 272 seconds) | |