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


Channel log from 30 September 2019   (all times are UTC)

00:56GodFather has left IRC (GodFather!~rcc@d53-64-7-141.nap.wideopenwest.com, Ping timeout: 240 seconds)
03:58vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585686-205.dhcp.inet.fi, Ping timeout: 240 seconds)
04:00vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-585686-205.dhcp.inet.fi)
04:33vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
04:59woernie has joined IRC (woernie!~werner@p57A0EE73.dip0.t-ipconnect.de)
05:30ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
05:46os_a has joined IRC (os_a!~Thunderbi@195.112.116.22)
06:02kjackal has joined IRC (kjackal!~quassel@2a02:587:3107:2e00:3dfb:ec8c:b557:bd)
07:26matusiak has joined IRC (matusiak!~matusiak@nat00.zb.lnet.pl)
08:50statler has left IRC (statler!~Georg@p54897245.dip0.t-ipconnect.de, Remote host closed the connection)
09:21statler has joined IRC (statler!~Georg@gwrz.lohn24.de)
10:16giacomo has joined IRC (giacomo!52363b1b@host27-59-dynamic.54-82-r.retail.telecomitalia.it)
10:17
<giacomo>
Hi!
10:20
<alkisg>
Hi giacomo
10:26
<giacomo>
Ciao!
10:26
First of all thanks to help me!
10:27
I've installed Mate with LTSP from scratch, but no way to have guest login working.
10:28
I see the guest use at login but when click I've incorrect password message.
10:29
If I set a password (guest) after inserting it seems to login (black screen) but then comes back to login screen.
10:29
There are no messages on Syslog.
10:30
At LTSP installation I've set NFS with command ltsp NFS.
10:38
<alkisg>
I'll be back in 10 mins, wait
10:38
<giacomo>
ok
10:41
<alkisg>
(in the meantime, open the client, and prepare epoptes)
10:41
!vnc-edide
10:41
<ltsp>
vnc-edide: To share your screen with me, open Epoptes → Help menu → Remote support → Host: srv1-dide.ioa.sch.gr, and click the Connect button
10:43
<giacomo>
but with which user I've to login in the client?
10:44
<uumas>
giacomo: You don't need to login on the client. Run epoptes on the server.
10:44
<giacomo>
right!
10:45
<alkisg>
giacomo: ok, let's do this a bit quickly as I'll have to leave again in a bit,
10:45
so yes do this on the server
10:46
<giacomo>
also for me
10:46
we can make this afternoon, when you've time?
10:46
it's lunch time for me
10:46
tell me when you're available
10:46
<alkisg>
In the mornings I'm at the office so I'm online lots of hours; in the afternoon I *might* be online some time, but I can't predict when
10:47
If you're online most afternoon, I can ping you when I come
10:47
Or let's leave it for tomorrow
10:47
<giacomo>
I'm here this afternoon.
10:47
if you have time you can ping me
10:47
<alkisg>
OK
10:47
<giacomo>
Thanks!
11:09GodFather has joined IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net)
11:50Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
12:03dogui72 has joined IRC (dogui72!bb5f6554@187.95.101.84)
12:04dogui72 is now known as dogui-br
12:04kjackal_v2 has joined IRC (kjackal_v2!~quassel@2a02:587:3107:2e00:38d1:e756:4252:d0c3)
12:07kjackal has left IRC (kjackal!~quassel@2a02:587:3107:2e00:3dfb:ec8c:b557:bd, Ping timeout: 276 seconds)
13:09
<alkisg>
giacomo: ping?
13:09
<giacomo>
Ciao!
13:09
I'm here!
13:09
<alkisg>
Wanna do this now?
13:09
OK:
13:09
!vnc-edide
13:09
<ltsp>
vnc-edide: To share your screen with me, open Epoptes → Help menu → Remote support → Host: srv1-dide.ioa.sch.gr, and click the Connect button
13:09
<giacomo>
sure
13:09
thanks!
13:15
<alkisg>
giacomo: first, you had these under [server] instead of under [client]
13:15
So the didn't affect the clients
13:15
But, where's your NFS dir?
13:15
<giacomo>
It's not configured now.
13:15
but giacomo users works!
13:16
there is a commnet on lts.conf
13:16
<alkisg>
Don't you want NFS to be in another server?
13:16
Which server is that?
13:16
<giacomo>
no, wait
13:17
there was on my previous installation
13:17
do I've to configure the remote NFS home?
13:17
<alkisg>
I want to help you configure the final thing
13:17
<giacomo>
ok
13:18
<alkisg>
Tell me how you want it to be
13:18
<giacomo>
wait that I put on lts.conf the NFS server.
13:18
ok?
13:19
<alkisg>
OK, go on
13:21
<giacomo>
done
13:21
<alkisg>
I didn't see anything
13:21
<giacomo>
you can open now again lts.conf
13:22GodFather has left IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net, Ping timeout: 265 seconds)
13:24
<giacomo>
there is not home for guest on the NFS server
13:26
<alkisg>
So, issues so far:
13:26
wrong place for the ltsp.conf parameters, under [server] instead of under [client],
13:26
wrong shell for guest, /bin/sh instead of /bin/bash,
13:26
no /home/guest for guest to login to the server via ssh
13:27
and no nfs in fstab
13:27
Now autologin worked
13:27
<giacomo>
yes
13:27
<alkisg>
Do you need anything else?
13:28
<giacomo>
no, but wait... :)
13:28
<alkisg>
Do you want multiple clients with the same guest template?
13:28
<giacomo>
do I've to put these by hand? I mean right shell and nfs on fstab?
13:29
this...
13:29
no /home/guest for guest to login to the server
13:29
<alkisg>
You put FSTAB_NFS in ltsp.conf; then this puts it to fstab automatically
13:29
<giacomo>
on LTSP server?
13:29
<alkisg>
How did you create the guest user?
13:29
If you used "adduser", it would do everything correctly
13:29
<giacomo>
adduser command
13:29
<alkisg>
You used something broken, what was it?
13:29
Maybe you used useradd instead?
13:30
Anyway, I fixed it now, it's ok
13:31
giacomo: how do you name your PCs? E.g. I name them "pc01", "pc02" etc
13:32
<giacomo>
I've to name using DHCP server.
13:32
<alkisg>
But what are the names?
13:32
<giacomo>
ok as pc01...
13:32
<alkisg>
OK
13:32
How many?
13:33
<giacomo>
I think maximum 25/27 for guest on a computer room.
13:33
<meo>
I use suffixes for board type and video output type (local idiosyncrasy)
13:34
<giacomo>
You're right: I used useradd!
13:35
so I don't need home for guest on my NFS server, right?
13:36
<alkisg>
I thought you *want* home for guest on your nfs server, but not on your ltsp server
13:37
You can do whatever you want, as long as you tell me quickly :)
13:37
Now I created 30 guest homes on your nfs server, and not on your ltsp server
13:38
meo: what's an example hostname for you?
13:40
giacomo: did the client fail to boot? What's the message?
13:40
<giacomo>
have you rebooted it?
13:40
<alkisg>
Yes
13:42
<giacomo>
fails
13:42
<alkisg>
Message?
13:42
<giacomo>
VMMouse at ISA.....
13:42
<alkisg>
Nah, that's not it
13:42
Anyway hard-reset it
13:43
<giacomo>
trying... not simple... :)
13:43
<alkisg>
What's your setup, vmware inside windows?
13:43
<giacomo>
no Windows!!! :)
13:43
<meo>
alkisg: W201-CVDH
13:43
<giacomo>
LTSP server, NFS server and PXE clint are on the same Proxmox.
13:44
<meo>
C is an index in motherboard table, VDH means "vga, dvi, hdmi"
13:44
<alkisg>
meo: ah, the name isn't at the end, doesn't match my hypothesis at the ltsp code ;)
13:44
WCVDH-201 or something would help for autologin etc user management
13:45
giacomo: eh, it would be much simpler if you just had an ltsp server without proxmox, but sure, whatever you like
13:45
E.g. I would be able to install virtualbox inside the server, so that I see an emulated client myself
13:45
<giacomo>
This is for testing!
13:45
<alkisg>
But nested virtualization isn't there yet
13:45
So you need to tell me what the client says
13:46
<giacomo>
but I've several LTSP server running on VMWare and Proxmox and they works fine.
13:46
<alkisg>
Yes I know
13:46
<giacomo>
Do you think that there are some problems with LTSP server as virtual?
13:46
<alkisg>
Not at all
13:46
It just makes things harder and slower with no real benefits, but whatever users like :)
13:46
For some reason virtualization is very "...in"
13:47
<giacomo>
booting...
13:47
invalid user "guest:guest"
13:47
<alkisg>
I've even seen ltsp servers beamed from one proxmox to another with no issues at all
13:47
I don't see the client in epoptes
13:48
<giacomo>
it hangs
13:48
<alkisg>
Try again
13:48
(reboot)
13:49
PRE_INIT_GUEST_HOME="mkdir -p /home/guest; chown 1001:1001 /home/guest"
13:53
giacomo: ok, everything is ready now, see ltsp.conf
13:54
[a2:84:62:72:5d:2e]
13:54
HOSTNAME=pc01
13:54
FSTAB_NFS="192.168.0.54:/home/guests/pc01 /home/guest nfs defaults,nolock 0 0"
13:54
You change pc01 there to the other dirs
13:54
So the same guest account has different homes on each client
13:54
And, now you only need a command to reset /home/guest on login
13:55
<giacomo>
so I've to configure here all my clints PCs, right?
13:55
<alkisg>
This is one method, yes
13:55
Another method is to have a temporary home, which needs more ram,
13:55
but which is automatically cleared on logout and doesn't need the server storage
13:55
<giacomo>
and if I use my DHCP server to assign hostnames?
13:56GodFather has joined IRC (GodFather!~rcc@2600:1007:b118:5cb2:28a4:da5:62ea:5046)
13:56
<alkisg>
Another method is to create a little script that puts the hostname in fstab
13:56woernie has left IRC (woernie!~werner@p57A0EE73.dip0.t-ipconnect.de, Ping timeout: 245 seconds)
13:56
<alkisg>
You can do anything, it's just a couple of shell commands to do it
13:56woernie has joined IRC (woernie!~werner@p57A0EE73.dip0.t-ipconnect.de)
13:57
<giacomo>
what do you mena with "Another method is to have a temporary home, which needs more ram,"?
13:57
RAM on the server?
13:57
<alkisg>
/home/guest needs to exist somewhere
13:57
<giacomo>
I don't need persistent home for geust!
13:57
<alkisg>
It can exist on the nfs server, like now
13:57
It can exist on the *client* ram
13:57
But this will mean that you have less ram available for programs
13:57
So the best way is to have a directory on the nfs server for each pc
13:58
This directory should be re-initialized from a template on client login
13:58
<giacomo>
I plan to have 4GB ram on my clients.
13:59
so yous suggest to have in NFS server and re-initialized at login?
13:59
<alkisg>
It depends on your needs
13:59
I don't know your needs to tell you which one is better for you
13:59
<giacomo>
I don't need to save nothing!
14:00
Better to have cleared guest account everytime.
14:00
<alkisg>
If a user logs in to firefox, then tries to download an .iso, then moves it to a usb stick,
14:00
this will work with nfs home, but not with ram-home
14:00
<giacomo>
The I use a shared folder on NFS server to save files.
14:00
<alkisg>
Because the .iso won't fit to ram
14:00
...why?
14:00woernie has left IRC (woernie!~werner@p57A0EE73.dip0.t-ipconnect.de, Remote host closed the connection)
14:00os_a has left IRC (os_a!~Thunderbi@195.112.116.22, Remote host closed the connection)
14:00
<alkisg>
Why a shared folder instead of normal homes?
14:00
How do you prevent users from deleting everything on the share?
14:01
<giacomo>
to exchange files between teacher and students.
14:02
<alkisg>
And then they delete everything again?
14:03
<giacomo>
this is not a problem
14:03
<alkisg>
OK
14:03
So sure, a tmpfs would also work fine for you
14:03
Want me to set it up? All home in ram?
14:03
<giacomo>
but if I save on the home of the guest a student must use always the same PC.
14:04
<alkisg>
Of course not; that's why users have accounts
14:04
But anyway, I don't have a lot of time
14:04
Let's wrap this up
14:04
Do you want me to set up a ram home for you?
14:05
<giacomo>
We're thinking to users account.
14:05
ok for now and...
14:05
<alkisg>
Here, each user has their own account
14:05
E.g. a1-01 means "the kid, or kids, that work on pc01, from class a1"
14:05
<giacomo>
which kind of school?
14:06
<alkisg>
But if some time pc01 is off, they can log in to pc02 with that a1-01 account
14:06
We have 1000+ schools here, so, all kinds of primary/secondary schools
14:06
So this way they can set their wallpapers, settings, save things etc
14:06
<giacomo>
fantastic!!!
14:06
<alkisg>
And at the end of the year, we clean up their accounts
14:07
<giacomo>
so all school with Linux?
14:07
<alkisg>
Those 1000+ schools are all with ubuntu/ltsp, yes
14:07
There are others with windows
14:07
<giacomo>
and the administration of schools?
14:08
<alkisg>
In my prefecture, around 90% of schools have ubuntu; while in whole of greece, maybe around 10%
14:08
<giacomo>
always Ubuntu?
14:08
<alkisg>
I advice them to use the same version, Ubuntu MATE 18.04, to be able to support it better
14:08
<giacomo>
I like a lot your model!
14:08
<alkisg>
As I'm also solving issues outside of ltsp, e.g. in gcompris, kernel, mate, whatever, not just in ltsp
14:08
<giacomo>
do you have also interactive board?
14:09
<alkisg>
Some schools do, but personally I don't like them :)
14:09
Each has its own software, so teachers need to re-write their activities, so it's a waste of time
14:09
<giacomo>
we're thinking to put away, using simple large TV screen with PCs.
14:09
<alkisg>
A simple projector is usually what teachers need
14:09
Yeah, or large TV
14:10
<giacomo>
We're tryig to find a software fro Android to share the tablet screen of the teacher on the TV.
14:10
so I've plan to use LTSP for such TV!
14:10* alkisg is using vnc in all OSes...
14:10
<alkisg>
OK anyway time to go
14:11
<giacomo>
THANKS A LOT!
14:11
or, in Italy....
14:11
GRAZIE 1000!
14:11
<alkisg>
No worries. Btw, you can hire me per hour if you need support next times.
14:11
Parakalo in Greek (you're welcome)
14:11
<giacomo>
:)
14:12
Ciao!
14:19
<meo>
alkisg: does streaming & audio work over vnc?
14:19
i never tried
14:26
<||cw>
idk about audio, video is like a slideshow
14:28
<alkisg>
video in gigabit = 15 fps
14:29
audio = nope
14:31
<meo>
makes sense
14:32
well i wus gonna block youtube and facebook anyway :D
15:05GodFather has left IRC (GodFather!~rcc@2600:1007:b118:5cb2:28a4:da5:62ea:5046, Ping timeout: 245 seconds)
15:09matusiak has left IRC (matusiak!~matusiak@nat00.zb.lnet.pl, Quit: Leaving)
16:50giacomo has left IRC (giacomo!52363b1b@host27-59-dynamic.54-82-r.retail.telecomitalia.it, Remote host closed the connection)
16:51
<dogui-br>
hello
16:52
how are you? I am testing Ubuntu mate 18.03 64 bits dual Nic. It does not works
16:54
I run all steps
16:54
and ltsp -o dnsmasq -d1 -p0 --dns-server=dns ips
16:58
<alkisg>
dogui-br: hello
16:59woernie has joined IRC (woernie!~werner@p57A0EE73.dip0.t-ipconnect.de)
16:59
<alkisg>
Can I see?
16:59
!vnc-edide
16:59
<ltsp>
vnc-edide: To share your screen with me, open Epoptes → Help menu → Remote support → Host: srv1-dide.ioa.sch.gr, and click the Connect button
17:00
<alkisg>
Is your internal IP=192.168.67.1?
17:10
<dogui-br>
yes alkisg the internal IP is: 192.168.67.1
17:10
<alkisg>
dogui-br: I don't have much free time, can I see over vnc?
17:10
Do the step I wrote above ^
17:11
<dogui-br>
yes one minute
17:17
<alkisg>
dogui-br: vnc was stopped
17:17
Can you run it again?
17:18
<dogui-br>
yes
17:23
<alkisg>
dogui-br: it's working fine, but you have a very slow client
17:25
<dogui-br>
ohh yes
17:25
yes but running nice
17:26
thank you alkisg
17:27
<alkisg>
np
17:35gp has joined IRC (gp!~gp@96.71.93.13)
17:51
<gp>
Where are screen scripts now? /usr/share/ltsp/screen.d/ doesn't seem to exist any more
17:59
My goal is to replicate the LTSP5 environment that had: SCREEN_02="shell"
17:59
SCREEN_03="xterm"
17:59
SCREEN_04="ssh"
17:59
SCREEN_07="ldm"
17:59
SCREEN_05="xfreerdp ..."
18:31statler has left IRC (statler!~Georg@gwrz.lohn24.de, Remote host closed the connection)
18:35
<alkisg>
gp, screen scripts don't exist anymore. You'd handle screens the same way you'd handle them in a non-LTSP system
18:35
(so that they'd also work in wayland etc etc)
18:36
For example, SCREEN_02=shell would be like this: https://wiki.archlinux.org/index.php/Getty#Automatic_login_to_virtual_console
18:38
<gp>
alkisg: Thanks I will read through and familiarize myself. I've only ever configured shell scripts with LTSP. Is there any easy way to configure by client mac address or similar to how LTSP5 allowed?
18:38
<alkisg>
Sure, just put the code under [mac:address] sections ;)
18:39
<gp>
alkisg: awesome.
18:39
<alkisg>
The hard part is finding the "new way to do things with systemd"; putting that under [mac:address] is very easy
18:39
<gp>
alkisg: haha fair enough
18:40
<alkisg>
gp, note that if you find those new ways, and they're better off automated by some ltsp parameters, we can add that code to ltsp
18:40
E.g. it might be useful to reimplement SCREEN_02=shell via systemd units/overrides
18:40
<gp>
alkisg: I will see what I can come up with and report back
18:40
<alkisg>
Great
18:41
(unfortunately it wasn't possible to keep the old methods, they have a lot of race conditions nowadays, as inittab isn't used anymore)
18:42vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
18:57woernie has left IRC (woernie!~werner@p57A0EE73.dip0.t-ipconnect.de, Remote host closed the connection)
19:17
<gp>
alkisg: Have you seen any writeups on this anywhere? I tried in #ubuntu but didn't get anywhere. Would be nice to jumpstart into something that works which I can modify instead of starting from scratch
19:21
hrm actually I think I was over complicating in my head
19:30
<alkisg>
gp, what do you mean writeups? You just need systemd units, there are lots of them, see my link above for an example
19:36vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Ping timeout: 252 seconds)
19:56dogui-br has left IRC (dogui-br!bb5f6554@187.95.101.84)
19:59kjackal_v2 has left IRC (kjackal_v2!~quassel@2a02:587:3107:2e00:38d1:e756:4252:d0c3, Ping timeout: 246 seconds)
20:38vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
20:39Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)
21:00ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
22:14gp has left IRC (gp!~gp@96.71.93.13, Ping timeout: 265 seconds)
22:49vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)