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


Channel log from 13 February 2019   (all times are UTC)

06:39kjackal has joined IRC (kjackal!~quassel@2a02:587:3105:5d00:bc45:9b3:1d09:82de)
07:09ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:13
<alkisg>
!cheap-client
07:13
<ltsp>
cheap-client: https://www.gearbest.com/tv-box-c_11262/?attr=2081-1279
07:14
<vagrantc>
alkisg: wouter is asking questions about NBD usage in LTSP ... i know you have some interesting ideas in the works
07:14
<alkisg>
vagrantc: sure
07:15
I'm currently adding support for the generic rootpath naming, like: root=nbd:server:export
07:15
So that it's possible to specify nbd/nfs/iscsi/aoe from dhcp rootpath, without bothering about the cmdline
07:16
What does he want to know, how can I help?
07:16
<vagrantc>
just curious, i guess
07:16
<alkisg>
So he's wondering about usage statistics, or about technical needs?
07:16
<vagrantc>
"oh look, vagrant's around, the LTSP guy, and i'm the NBD guy!" :)
07:16
<alkisg>
Via mail? Or irc?
07:17
Hehe
07:17
So, the new pxelinux.cfg will now be boot.ipxe, with just this cmdline: kernel ltsp/${img}/vmlinuz root=nbd:${srv}:/opt/ltsp/${img}
07:17
And it can be replaced with root=dhcp
07:17
if one puts root in ROOTPATH
07:18
This works out of the box in dracut, so I'm adding a wrapper in initramfs-tools, to be able to use the same cmdline in all distros
07:18kjackal has left IRC (kjackal!~quassel@2a02:587:3105:5d00:bc45:9b3:1d09:82de, Remote host closed the connection)
07:19
<alkisg>
I was also able to create a new ltsp-export-image, that can automatically find the newest kernel in all distros/VMs/isos, using qemu-nbd and heuristics,
07:20
and, the client can boot either from /dev/nbd0 or even /dev/nbd0p1, if one exports the whole disk and not just the partition
07:20
<vagrantc>
somany clever ideas :)
07:20
<alkisg>
So currently I'm playing with booting VMs and .isos that DONT have ltsp installed, using nfs, nbd, aoe etc
07:21
I.e. ltsp-client now is just a separate initrd.img, passed via ipxe or any other loader
07:21
(overlayed to the main one)
07:28
<vagrantc>
yeah, you can typically just append another cpio.gz archive to the end of the initrd with whatever you want ... maybe even multiple cpio archives.
07:31
<alkisg>
And thus be able to install initramfs-tools or dracut hooks even to .iso-based images :)
07:36gintonyc has joined IRC (gintonyc!d433a2a5@gateway/web/freenode/ip.212.51.162.165)
07:37
<gintonyc>
hi, i have a problem on a new server, fresh install of Xubuntu 18.04 and ltsp
07:38
when i launch the thin client, i have "Failed to start network time synchronization"
07:38
<alkisg>
Did you use the greek school ppa?
07:38
<gintonyc>
the service is running on the server
07:38
no, i used the sources of Ubuntu
07:39
<alkisg>
They're broken
07:39
!install
07:39
<ltsp>
install: http://wiki.ltsp.org/wiki/Installation/Ubuntu for Ubuntu, or http://wiki.ltsp.org/wiki/Installation for other distributions
07:39
<gintonyc>
oh nice, thanks, i will try it
07:47
if i don't use the "epoptes", i have to add the ppa in the chroot client or not ?
07:47
<alkisg>
Yes
07:47
<gintonyc>
ok thx
07:47
<alkisg>
Otherwise the client won't boot
07:47
<gintonyc>
ok
07:48
<alkisg>
Epoptes is very nice for troubleshooting client issues
07:48
Do install it :)
07:48
You can remove it later if you don't want it, just an apt purge
07:49
<gintonyc>
it's not just monitoring client ?
07:51kjackal has joined IRC (kjackal!~quassel@2a02:587:3105:5d00:b50f:b97c:8ba9:9b91)
07:51
<gintonyc>
it's still ok to use tftpd-hpa/isc-dhcp-server ? The dhcp server is used for all the network and not juste the ltsp part.
07:54
<Hyperbyte>
gintonyc, you can use whatever dhcp server you want.
07:54
<gintonyc>
ok thanks
07:55
<Hyperbyte>
Just set the correct dhcp options.
07:55
<gintonyc>
the old server is working, i hope the confguration is the same :D
08:07vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
08:11
<gintonyc>
i copied and past this line : "ltsp-build-client --purge-chroot --mount-package-cache --extra-mirror 'http://ppa.launchpad.net/ts.sch.gr/ppa/ubuntu bionic main' \ --apt-keys '/etc/apt/trusted.gpg.d/ts_sch_gr_ubuntu_ppa.gpg' --late-packages epoptes-client"
08:11
Error of GPG / NO_PUBKEY
08:14
<alkisg>
gintonyc: I assume that you didn't do the previous commands, so you don't have the apt key in the server?
08:14
add-apt-repository --yes ppa:ts.sch.gr ==> gives you the key
08:14
ls -l /etc/apt/trusted.gpg.d/ts_sch_gr_ubuntu_ppa.gpg ==> checks if you have it
08:15
<gintonyc>
yes i did it and i see the gpg file in /etc/apt/trusted.gpg.d
08:15
yes i have it
08:16
<alkisg>
gintonyc: so you're saying that ltsp-build-client stopped with an error?
08:16
Or is this just a warning?
08:16
<gintonyc>
stopped with an error, i try again
08:16
<alkisg>
Please put the whole output to pastebin then
08:16
!paste
08:16
<ltsp>
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.
08:17
<gintonyc>
maybe its the reason, i add "--arch i386" in the command
08:17
<alkisg>
No, it shouldn't matter
08:20
<gintonyc>
http://paste.debian.net/1067548
08:21
no in the paste.debian but i did "apt install --yes --install-recommends ltsp-server-standalone epoptes" AND "gpasswd -a ${SUDO_USER:-$USER} epoptes". It was the retry on the past
08:36
<alkisg>
gintonyc: can I check the result with vnc?
08:36
!vnc-dide
08:36
<ltsp>
vnc-dide: To share your screen with me, run this: sudo apt-get --yes install x11vnc; x11vnc -connect srv1-dide.ioa.sch.gr - this is a reverse connection, it doesn't need port forwarding etc.
08:38
<gintonyc>
ok
08:53
<alkisg>
gintonyc: the problem was the backslash
08:53
\ --apt-keys
08:53
This made the parameter " --apt-keys", with a space, so it was ignored
08:54book` has left IRC (book`!~book`@68.ip-149-56-14.net, Quit: Leaving)
08:54
<gintonyc>
ok, but why the backslash is in the command ?
08:54
on the website i mean
08:55
<alkisg>
It is on a separate line
08:55
And there it means \<enter>
08:55
So, "continue to the next line"
08:55
But you put it on the same line, and it meant something else
08:55
<gintonyc>
oh ok.... really sorry to waste your time
08:56
thanks a lot
08:56
<alkisg>
You're welcome
08:56book` has joined IRC (book`!~book`@68.ip-149-56-14.net)
08:56
<alkisg>
Btw, if you copy paste the command, it puts 3-4 spaces, like "\ "
08:56
And that doesn't have any issue
08:57
Somehow you deleted the extra spaces , and it caused the problem
08:57
<gintonyc>
oh i understand... i remember when i deleted the extra spaces -_-
08:57
<alkisg>
:D
08:58
<gintonyc>
it's nice, i learn about ltsp and linux command :D
09:06book` has left IRC (book`!~book`@68.ip-149-56-14.net, Quit: Leaving)
09:15book` has joined IRC (book`!~book`@68.ip-149-56-14.net)
09:49GodFather_ has left IRC (GodFather_!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Read error: Connection reset by peer)
09:49GodFather_ has joined IRC (GodFather_!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
10:50Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
12:29nehemiah has left IRC (nehemiah!~nehemiah@hs-user-138.wia.cz, Remote host closed the connection)
13:01
<gintonyc>
alkisg, i don't if you remember, i came a month ago. I had a problem with my printers in localapps (16.04). Before reinstall a new server, i have migrate the 16.04 to 18.04 and after, i used your PPA. Now, in my thin client, if i use directly LibreOffice, i have the printers but still no printers in localapps
13:02
I installed "cups" in the chroot client and see this howto of Ubuntu : https://help.ubuntu.com/community/UbuntuLTSP/LocalAppsLucidPrinting
13:02
If forgot something ?
13:02
(I not If)
13:08kjackal has left IRC (kjackal!~quassel@2a02:587:3105:5d00:b50f:b97c:8ba9:9b91, Ping timeout: 258 seconds)
13:09kjackal has joined IRC (kjackal!~quassel@ppp-2-86-50-93.home.otenet.gr)
13:20statler has joined IRC (statler!~Georg@gwrz.lohn24.de)
13:28gdi2k has joined IRC (gdi2k!~gdi2k@host86-185-148-160.range86-185.btcentralplus.com)
14:32
<alkisg>
Hyperbyte: so if ltsp properly supported fedora/centos etc, would you switch back from ubuntu?
15:10
gintonyc: where are the printers, on the server or on the client itself, or on another client?
15:13
<gintonyc>
on the server
15:14
with "system-config-printer" on thin client, i see them
15:14
its with localapps the problem
15:17
i thinl i will remove localapps for libreoffice
15:21
<alkisg>
Did you enable printer sharing on the server?
15:21
!print
15:21
<ltsp>
I do not know about 'print', but I do know about these similar topics: 'fatclient-printers', 'printer'
15:21
<alkisg>
!fatclient-printers
15:21
<ltsp>
fatclient-printers: You can publish printers on your network so that fat clients see them, by launching "system-config-printer" and selecting Server → Settings → Publish shared printers connected to this system
15:21
<alkisg>
Btw, if you type "alkisg", I get sound and understand that someone is talking to me...
15:44vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
15:48
<gintonyc>
alkisg yeah the sharing is enable, i had follow the howto
15:49
<alkisg>
gintonyc: what's the output of this command on the server? cupsctl | grep share
15:50
<gintonyc>
_share_printers=1
15:51
<alkisg>
!localxterm
15:51
<ltsp>
localxterm: Any applications that you launch on a thin client actually runs on the server, not on the client itself. If you want to open a program on the client locally, you can type 'ltsp-localapps <program>' in a run dialog or in a terminal. For example, 'ltsp-localapps xterm' to open a terminal running on the client.
15:51
<alkisg>
So, on a localxterm, type this: cat /run/ltsp/ltsp* | nc termbin.com 9999
15:52
What's the resulting URL?
15:54
<gintonyc>
no result, stuck in prompt
15:55
<alkisg>
OK run just this and copy/paste here: cat /run/ltsp/ltsp*
15:56
You probably haven't configured client internet correctly yet
15:58
<gintonyc>
Internet works on thin client, i have to check the firewall
15:59
<alkisg>
It works on the server, i.e. in the thin client session
15:59
Not on the thin client, i.e. in localapps
15:59
I assume you are using a 2-NIC setup and you haven't done NAT on the server?
16:01
<gintonyc>
Yes, only one network card and no nat
16:02
<alkisg>
I see. OK anyway just copy/paste the output via epoptes or something
16:03
<gintonyc>
http://paste.debian.net/1067622
16:04
Firefox works with localapps and it's works, i don't understand why it's not the same for xterm
16:09
<alkisg>
SERVER=192.168.35.202 SERVER="192.168.35.202"
16:09
It really has 2 SERVER lines there?
16:10
OK maybe they're from another file, anyway
16:10
Do you have control of the client via epoptes?
16:10
<gintonyc>
yes
16:10
<alkisg>
OK let's do this quickly with vnc then
16:10
!vnc-dide
16:10
<ltsp>
vnc-dide: To share your screen with me, run this: sudo apt-get --yes install x11vnc; x11vnc -connect srv1-dide.ioa.sch.gr - this is a reverse connection, it doesn't need port forwarding etc.
16:10
<gintonyc>
and yes 2 "SERVER" but weird, only one in lts.conf
16:10
<alkisg>
From the server
16:11
<gintonyc>
ok done
16:19
<alkisg>
gintonyc: seems like a firewall issue
16:19
Disable it, try again
16:20
<gintonyc>
it's disable for the server, i will do it for the thin, u have the address ip of it ?
16:20
35.10 no ?
16:20
<alkisg>
I disconnected, but you can see it with epoptes right click > information
16:20
<gintonyc>
ok thx
16:21
ok i did it
16:23
nothing block in the logs of the firewall
16:24
<alkisg>
cupsctl on the client says "forbidden" though :)
16:24
So something does forbit it :D
16:24
<gintonyc>
:D
16:24
<alkisg>
Sorry, no time to look more into that, it looks like a problem specific just to your setup
16:24
<gintonyc>
ok thanks a lot !
16:24
;)
16:24
<alkisg>
np
16:26
vagrantc: aaand dracut finally starts supporting overlayfs: https://github.com/dracutdevs/dracut/pull/447
16:36gintonyc has left IRC (gintonyc!d433a2a5@gateway/web/freenode/ip.212.51.162.165, Ping timeout: 256 seconds)
16:44
<vagrantc>
alkisg: heh
16:45
<alkisg>
I think I'll use dracut syntax for everyone, it doesn't work now but it will in the future. In the mean time, inline patches :D
16:50josefig has joined IRC (josefig!~jose@unaffiliated/josefig)
16:53
<josefig>
hello, again my ltsp clients have no internet, my server was shutdown because some upgrade of memory and after that we have no internet. I have fat clients ubuntu 18.04, I followed again the guide from alkisg but nothing changed :(
16:54
I have 2 NICs and i was using dnsmasq as usual
16:54* alkisg needs a break for now, more troubleshooting will need to wait for another day :)
17:07
<josefig>
:(
17:33
i fixed, thanks :)
17:33* josefig is getting good experience with ltsp =)
17:33
<vagrantc>
join the elite developer team! :)
17:35
<josefig>
I'm a developer btw :P
18:24statler has left IRC (statler!~Georg@gwrz.lohn24.de, Ping timeout: 246 seconds)
18:34kjackal has left IRC (kjackal!~quassel@ppp-2-86-50-93.home.otenet.gr, Ping timeout: 246 seconds)
18:34kjackal has joined IRC (kjackal!~quassel@2a02:587:3105:5d00:b50f:b97c:8ba9:9b91)
18:52kjackal has left IRC (kjackal!~quassel@2a02:587:3105:5d00:b50f:b97c:8ba9:9b91, Ping timeout: 258 seconds)
18:52kjackal_v2 has joined IRC (kjackal_v2!~quassel@ppp-2-86-50-93.home.otenet.gr)
20:48Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)
21:49ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Remote host closed the connection)
22:06adrianor1 has joined IRC (adrianor1!~adrianorg@201.22.248.253.dynamic.dialup.gvt.net.br)
22:09adrianorg has left IRC (adrianorg!~adrianorg@189.58.232.45.dynamic.adsl.gvt.net.br, Ping timeout: 246 seconds)
22:29kjackal_v2 has left IRC (kjackal_v2!~quassel@ppp-2-86-50-93.home.otenet.gr, Ping timeout: 258 seconds)