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


Channel log from 7 May 2018   (all times are UTC)

01:15GodFather has joined IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net)
02:09nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 276 seconds)
02:29vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
03:17GodFather has left IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net, Ping timeout: 264 seconds)
03:28Statler|Home has joined IRC (Statler|Home!~Georg@p54897C08.dip0.t-ipconnect.de)
04:56vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
05:21
<alkisg>
eirikb: by default, clients can't netboot because things break, e.g. network-manager assigns an ip and it breaks the underlying network disk connection
05:21
So the current situation is that most linux distros need tinkering to be able to netboot
05:22
Now sure, ltsp-client adds a bit more than the absolute minimum tinkering, as it offers a lot of configuration too
05:22
<eirikb>
Like a whole desktop system?
05:22
<alkisg>
ltsp-client is less than 1 MB, what do you mean?
05:23
<eirikb>
I didn't install Xorg or anything on either my server, or the client vdi, but when I boot the PXE client I get a desktop environment
05:24
<alkisg>
You'd need ltsp-client-core then, I think that one doesn't depend on xorg
05:25
ltsp-client targets thin clients which need a login manager and xorg etc
05:25
<eirikb>
Nice, I will give it a try
05:26
<alkisg>
You could also read the ltsp code, find the bits that you need and the ones that you don't need, and construct your custom solution
05:27
<eirikb>
By ltsp code do you mean lts.conf?
05:29
<alkisg>
No, most of the ltsp code is in /usr/share/ltsp
05:29
It's shell or python scripts
05:29
You mostly needs the ones in /usr/share/ltsp/init-ltsp.d
05:29
<eirikb>
Am I going to change the source code of the scripts?
05:31
<alkisg>
eirikb: what I'm saying, is that if you want a minimal solution, AND you know how to code, you could see how ltsp does it, and take only the code that you need
05:31
So yes that would involve changing the code
05:32
If you don't know how to read/write code, then try with ltsp-client-core
05:38
<eirikb>
It's just an odd requirement for a product
05:41
<quinox>
you can use Ubuntu LTP and LTSP works out of the box :)
05:42
it works swimmingly on virtualbox, you'll have a working setup in notime
05:43
LTP -> LTS
05:44
<eirikb>
Which is now the latest version. It works better out of the box than with Debian?
05:48
<quinox>
probably
05:49
Ubuntu LTS is the targetted platform, any other flavour of linux depends on contributors
05:50
on other platforms it might work, but it might also require some / lots of tinkering
05:51
like alkisg said, the source code is easy to read python / bash, but it will require knowledge of how the whole system is supposed to work
05:52
<alkisg>
eirikb: debian and ubuntu support in ltsp is the same. Ubuntu is a tiny bit more documented, but it also has more bad documentation
05:52
Since you already have debian up and running, you don't have a reason to switch
05:53
<quinox>
(listen to him, he knows way more than I do)
05:53
<alkisg>
(08:38:16 πμ) eirikb: It's just an odd requirement for a product => why do you say that, ltsp doesn't require you to customize it!
05:53
It's like saying "I don't like libreoffice I want a different toolbar" => ok, write it yourself
05:54
<eirikb>
Sorry I misread your initial statement, missed the "could" part
05:54
<alkisg>
"I don't want all of ltsp" => ok, change it yourself
05:56ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
05:57
<eirikb>
I was more asking about a way to disable the extra install, perhaps there was a flag I didn't see in man
05:59
<alkisg>
The smallest installation you can do is apt install --no-install-recommends ltsp-client-core
06:04
<eirikb>
I should be able to do that in a chroot, or systemd-nspawn or similar?
06:05
<alkisg>
Yes
06:07
<eirikb>
Updated my dev machine and now I can't boot from snapshots (looks like a known bug). This makes things a bit difficult, I might have to test ltsp-client-core later
06:12kutloano^kutloan has joined IRC (kutloano^kutloan!c5feaba7@gateway/web/freenode/ip.197.254.171.167)
06:17kutloano^kutloan has left IRC (kutloano^kutloan!c5feaba7@gateway/web/freenode/ip.197.254.171.167, Ping timeout: 260 seconds)
06:51
<eirikb>
alkisg: Any special way I should mount my vdi? Now I use "sudo mount /dev/sdb1 /mnt", but then "sudo /usr/sbin/ltsp-update-image -c /mnt" throws "mount: mount point /tmp/tmp.0zhAoyhbfE/root/mnt does not exist"
06:53
<alkisg>
eirikb: inside that vdi, is there a /mnt folder?
06:53
<eirikb>
Yes. Tried deleting that now, but doesn't seem to help
06:54
<alkisg>
What's your ltsp version? dpkg -l ltsp-server
06:55
Or: dpkg-query -W ltsp-server
06:55
<eirikb>
5.5.9-2
06:55
Looked at the source of ltsp-update-image, and thought it could be because type is "virtual" in /proc/mounts, but the type is ext4
06:56
<alkisg>
Why is the type virtual?
06:56
<eirikb>
No it's not, I just had a hunch, because of "vdi"
06:56
<alkisg>
I've commited a few related fixes in ltsp-update-image a year ago or so, I'm not sure if installing a newer version of it would help
06:56
!ltsp-source
06:56
<ltsp>
ltsp-source: at https://code.launchpad.net/ltsp
06:56
<alkisg>
Try downloading just ltsp-update-image from there
06:58
<eirikb>
Same error (from ltsp/server/ltsp-update-image)
06:59
<alkisg>
Try running sudo sh -x /usr/sbin/ltsp-update-image -c /mnt, and pastebin the whole output
07:02
<eirikb>
https://gist.github.com/eirikb/5f81f368caf6b2efd4b69b2792cc3cce
07:04
<alkisg>
eirikb: please also pastebin your whole /proc/mounts
07:05
<eirikb>
https://gist.github.com/eirikb/0dfe9dcbc1165e5153cc7a78ec65a105
07:08
<alkisg>
eirikb: can you try this? sudo EXCLUDED_MOUNTS=/mnt ltsp-update-image -c /mnt
07:09
<eirikb>
Same error
07:09
<alkisg>
OK, sorry, it needs more time than I currently have to troubleshoot it :/
07:10
<eirikb>
No problem. Maybe I can log some lines in the script to see where it fails and what it does
07:10
Thanks
07:10
<alkisg>
np
07:21
<eirikb>
alkisg: Just a quick question, could it be the script expects the OS to be located in "/mnt/root"?
07:22
<alkisg>
No, the script doesn't even check for an "OS"
07:22
<eirikb>
E.g., if boot was in another partition it would be /mnt/boot, and the / in /mnt/root
07:22
ok
07:23
<alkisg>
No, in that case you'd need to mount /mnt first with the root partition, and /mnt/boot with the boot partition on top of it
07:23
So ltsp-update-image would read both of them; they "stack"
07:24
There might be bugs of course, but that's the expected behaviour
07:24
<eirikb>
Yeah mounting boot into /boot is what I'm used to
07:24
In this case though everything is in one single partition, for simplicity
07:25
<alkisg>
It's also possible to directly export the .vdi with nbd, without even running ltsp-update-image
07:25
For example I'm using this: qemu-nbd --read-only --partition=1 --connect=/dev/nbd2 /home/alkisg/VirtualBox\ VMs/bionic-mate-sch64/bionic-mate-sch64-flat.vmdk
07:26
...and I have configured nbd to run as root in order to be able to access /dev/nbd2, and I publish /dev/nbd2 with nbd-server
07:26
<eirikb>
I just noticed this: https://git.launchpad.net/ltsp/tree/server/ltsp-update-image#n163 and "$cowroot" would be /mnt/root
07:26
<alkisg>
That way I'm able to publish any one of my 10 VMs with one command, without having to run/wait ltsp-update-image
07:32
<eirikb>
Being able to boot directly from an un-modified vdi image is my dream solution
07:33
<alkisg>
That's what I'm currently doing :)
07:35
<eirikb>
Do you have a recipe for that I could follow?
07:35
<alkisg>
I haven't documented my workflow, no
07:35
<eirikb>
Anything online which resembles the setup? I haven't seen anyone doing anything like that yet
07:36
<alkisg>
I don't know, I haven't searched much about it, and haven't seen it either
07:37
<eirikb>
One would think that with coreos and rancheros such setups would be very common
07:38* alkisg hasn't even seen coreos and rancheros :)
07:38
<eirikb>
OSes made specifically to run containers
07:39
Perfect candidates for diskless booting with a data-disk for docker graph
07:40
<alkisg>
Personally with a normal distro + vbox I'm covered just fine :)
07:41
I don't like the additional overhead of learning specialized distros
07:41
(or containers etc etc)
08:15kjackal has joined IRC (kjackal!~quassel@onopfy.static.otenet.gr)
08:17kjackal_ has joined IRC (kjackal_!~quassel@onopfy.static.otenet.gr)
08:20kjackal has left IRC (kjackal!~quassel@onopfy.static.otenet.gr, Ping timeout: 264 seconds)
08:22kjackal_ has left IRC (kjackal_!~quassel@onopfy.static.otenet.gr, Ping timeout: 264 seconds)
08:22kjackal has joined IRC (kjackal!~quassel@onopfy.static.otenet.gr)
08:34kjackal_ has joined IRC (kjackal_!~quassel@onopfy.static.otenet.gr)
08:37kjackal__ has joined IRC (kjackal__!~quassel@onopfy.static.otenet.gr)
08:37kjackal has left IRC (kjackal!~quassel@onopfy.static.otenet.gr, Read error: Connection reset by peer)
08:40kjackal_ has left IRC (kjackal_!~quassel@onopfy.static.otenet.gr, Ping timeout: 256 seconds)
08:47kjackal has joined IRC (kjackal!~quassel@onopfy.static.otenet.gr)
08:48kjackal_ has joined IRC (kjackal_!~quassel@onopfy.static.otenet.gr)
08:49kjackal__ has left IRC (kjackal__!~quassel@onopfy.static.otenet.gr, Read error: Connection reset by peer)
08:53kjackal has left IRC (kjackal!~quassel@onopfy.static.otenet.gr, Ping timeout: 260 seconds)
09:01Statler|Home has left IRC (Statler|Home!~Georg@p54897C08.dip0.t-ipconnect.de, Remote host closed the connection)
09:54adrianorg has left IRC (adrianorg!~adrianorg@177.18.96.129, Ping timeout: 256 seconds)
09:54adrianorg has joined IRC (adrianorg!~adrianorg@177.18.96.129)
09:59Natureshadow has joined IRC (Natureshadow!45d1515d22@commu.teckids.org)
10:14nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
10:23kjackal_ has left IRC (kjackal_!~quassel@onopfy.static.otenet.gr, Ping timeout: 276 seconds)
10:33kjackal has joined IRC (kjackal!~quassel@2a02:587:3102:4300:18a2:caca:914b:55dd)
10:59nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 256 seconds)
11:02ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Quit: Coyote finally caught me)
11:04ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
11:39nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
11:48Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
11:51ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Quit: Coyote finally caught me)
11:52ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
12:13nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 256 seconds)
12:37nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
12:55nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 276 seconds)
13:06adrianor1 has joined IRC (adrianor1!~adrianorg@177.18.96.129)
13:09markus_e92_ has joined IRC (markus_e92_!~markus_e9@2a01:4f8:120:244a::2)
13:11Natureshadow has left IRC (Natureshadow!45d1515d22@commu.teckids.org, *.net *.split)
13:11adrianorg has left IRC (adrianorg!~adrianorg@177.18.96.129, *.net *.split)
13:11markus_e92 has left IRC (markus_e92!~markus_e9@static.183.64.46.78.clients.your-server.de, *.net *.split)
13:11markus_e92_ is now known as markus_e92
13:14bitchecker has left IRC (bitchecker!~bitchecke@31.131.20.132, Ping timeout: 268 seconds)
13:23bitchecker has joined IRC (bitchecker!~bitchecke@31.131.20.132)
13:34adrianor1 has left IRC (adrianor1!~adrianorg@177.18.96.129, Ping timeout: 240 seconds)
13:36adrianorg has joined IRC (adrianorg!~adrianorg@177.18.96.129)
13:46GodFather has joined IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net)
13:50ben_roose has joined IRC (ben_roose!~roose@roose.cs.wichita.edu)
14:03lucas__ has left IRC (lucas__!~lucas@177-185-141-105.isotelco.net.br, Remote host closed the connection)
14:08TheBoyd has left IRC (TheBoyd!~TheBoyd@2605:a601:652:9500:8877:486:6f9d:3eab, Read error: Connection reset by peer)
14:26nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
14:37Natureshadow has joined IRC (Natureshadow!45d1515d22@commu.teckids.org)
14:53GodFather has left IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net, Ping timeout: 256 seconds)
15:01nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 255 seconds)
15:04nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
15:08GodFather has joined IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net)
15:32Kulas has joined IRC (Kulas!6e369b50@gateway/web/freenode/ip.110.54.155.80)
15:42TheBoyd has joined IRC (TheBoyd!~TheBoyd@2605:a601:652:9500:c0be:7cb:8767:a5c3)
15:53ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Excess Flood)
15:54ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
16:00Kulas has left IRC (Kulas!6e369b50@gateway/web/freenode/ip.110.54.155.80, Ping timeout: 260 seconds)
16:15GodFather has left IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net, Remote host closed the connection)
16:24vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
16:32GodFather has joined IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net)
16:41GodFather has left IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net, Remote host closed the connection)
18:16TheBoyd has left IRC (TheBoyd!~TheBoyd@2605:a601:652:9500:c0be:7cb:8767:a5c3, Quit: Leaving.)
18:22TheBoyd has joined IRC (TheBoyd!~TheBoyd@2605:a601:652:9500:892e:e98a:7311:2174)
18:57Faith_ has joined IRC (Faith_!~Paty_@2001:12d0:2080:200::231:49)
18:59Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Read error: Connection reset by peer)
19:11MeLLy_ has joined IRC (MeLLy_!0c3020c5@gateway/web/freenode/ip.12.48.32.197)
19:14MeLLy_ has left IRC (MeLLy_!0c3020c5@gateway/web/freenode/ip.12.48.32.197, Client Quit)
19:37Faith_ is now known as Faith
19:38Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
19:39ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
19:57erik__ has joined IRC (erik__!~erik@12.48.32.197)
20:40Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)
20:53kjackal has left IRC (kjackal!~quassel@2a02:587:3102:4300:18a2:caca:914b:55dd, *.net *.split)
21:03nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 276 seconds)
21:34
<erik__>
Hello. We have Debian 8 as a LTSP server. We have one user with dual monitors on her thin-client, one is a non-touch and the other is a EOL touch screen. It seems to sort of work except for when you touch the screen, its like its not calibrated and clicks about 5 inches to the left of where I'm actually touching. I looked on the EOL website and found this ( http://support.elotouch.com/Download/Drivers/DriverDownload/ ). But since we're on LTSP, i dont know if I
21:34
actually needed something else. I've search the IRC logs and found where some people were connecting via serial, but this monitor is connected via DVI cable. Sorry if this is long, Im new to IRC.
21:35
Sorry, it does have a USB to the thin client.
21:38
<vagrantc>
how are they normally calibrated?
21:40
<||cw>
painfully.
21:41
<vagrantc>
heh
21:41
!init
21:41
<ltsp>
I do not know about 'init', but I do know about these similar topics: 'lowram-initramfs', 'INIT_COMMAND_SSH', 'INIT_COMMAND_EPOPTES', 'INIT_COMMAND_GUEST'
21:41
<||cw>
basically you run a tool and put the result in a x.conf
21:41
ELO's linux support is pretty poor
21:42
personally I like 3M's better, but it doens't play nice with ltsp either. we've pretty much just given up on touch on thin clients.
21:42
<vagrantc>
so, you'd have to configure lts.conf to run a command on that client that downloads and installs the configuration
21:43
erik__: might also be able to add a hook to ldm to do it on startup ...
21:44
might be able to do it based on the presence of the usb device or something
21:44nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
22:00ben_roose has left IRC (ben_roose!~roose@roose.cs.wichita.edu, Remote host closed the connection)
22:51SYS64738 has left IRC (SYS64738!~capitano@ip-28-80.sn2.clouditalia.com, Ping timeout: 240 seconds)
23:01SYS64738 has joined IRC (SYS64738!~capitano@ip-28-80.sn2.clouditalia.com)
23:05nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 265 seconds)
23:09GodFather has joined IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net)
23:14GodFather has left IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net, Ping timeout: 248 seconds)