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


Channel log from 6 July 2020   (all times are UTC)

01:03vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
01:46wilbur has joined IRC (wilbur!~wilbur666@41.218.210.117)
01:47
<wilbur>
doing a standard debian 18.04 server ltsp client, and getting the following error. note i added the use to visudo would that kill it?
01:47
root@ltsp:/home/william# ltsp image moonlight
01:47
Running: losetup -rP /dev/loop1 /srv/ltsp/moonlight.img
01:47
Running: mount -t tmpfs -o mode=0755 tmpfs /tmp/tmp.Hl6Zej5oCv/tmpfs
01:47
Running: mount -t ext4 -o ro,noload /dev/loop1p2 /tmp/tmp.Hl6Zej5oCv/tmpfs/0/looproot
01:47
Running: mount -t overlay -o upperdir=/tmp/tmp.Hl6Zej5oCv/tmpfs/0/up,lowerdir=/tmp/tmp.Hl6Zej5oCv/tmpfs/0/looproot,workdir=/tmp/tmp.Hl6Zej5oCv/tmpfs/0/work /tmp/tmp.Hl6Zej5oCv/tmpfs /tmp/tmp.Hl6Zej5oCv/root/
01:47
Cleaning up moonlight before mksquashfs...
01:47
Traceback (most recent call last):
01:47
File "/usr/share/ltsp/client/login/pwmerge", line 440, in <module>
01:47
main(sys.argv)
01:47
File "/usr/share/ltsp/client/login/pwmerge", line 434, in main
01:47
pwm = PwMerge(args[0], args[1], args[2], **dopts)
01:47
File "/usr/share/ltsp/client/login/pwmerge", line 117, in __init__
01:47
self.dpasswd, self.dgroup = self.read_dir(ddir, dur or dgr)
01:47
File "/usr/share/ltsp/client/login/pwmerge", line 151, in read_dir
01:49
i tried running "passwd" on the client when running as the root user, set a simple password for it, still no joy
02:37ben_nabiy has joined IRC (ben_nabiy!~bennabiy@207-032-203-101.cust.rezmail.net)
06:02wilbur67 has joined IRC (wilbur67!~wilbur666@88.151.226.12)
06:05wilbur has left IRC (wilbur!~wilbur666@41.218.210.117, Ping timeout: 272 seconds)
06:05wilbur67 is now known as wilbur
06:23RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)
06:45ben_nabiy has left IRC (ben_nabiy!~bennabiy@207-032-203-101.cust.rezmail.net, Ping timeout: 258 seconds)
08:07
<wilbur>
any help with this would be greatly appreciated
08:19
ltsp image / <-- this works so guessing must be client
08:51woernie has left IRC (woernie!~werner@pd9e8bf82.dip0.t-ipconnect.de, Ping timeout: 244 seconds)
08:52woernie has joined IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de)
08:53danboid has joined IRC (danboid!~ISDADS\sg@cpc126962-macc4-2-0-cust227.1-3.cable.virginm.net)
08:53
<danboid>
alkisg, I presume you're the main epoptes dev?
08:54
Should I be able to test epoptes in a VM?
08:54
Either VB or qemu
09:17alkisg_web has joined IRC (alkisg_web!1f98fec3@31-152-254-195.pat.amp.cosmote.net)
09:17
<alkisg_web>
danboid, yes to all
09:17
<danboid>
alkisg_web, Hi!
09:18
OK, good
09:18
<alkisg_web>
Hi! From phone cant type a lot
09:19
wilbur, run pwck inside the image
09:19
<danboid>
I know Veyon also supports Windows. Does epoptes have any advantages over Veyon?
09:19
Like, easier config?
09:19
<alkisg_web>
Italc didn't work and we developed epoptes because of that
09:20
Dunno about veyon it came much later
09:20
<wilbur>
many thanks, will try soon
09:20woernie has left IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de, Remote host closed the connection)
09:20
<danboid>
Yeah I know it "the new iTALC"
09:21
<alkisg_web>
Epoptes is very easy to setup and very flexible
09:21
It supports ltsp out of the box
09:21
<wilbur>
should i run pwck as root or as the admin user?
09:21
<alkisg_web>
With sudo
09:21
<danboid>
One advantage epoptes has for me is it is in the 16.04 repos whilst veyon pnly recently entered the repos
09:22
OOTB LTSP support is a big win too
09:22
what does LTSP support mean tho?
09:23
I know what LTSP is ofc
09:23
but what does epoptes LTSP support bring?
09:23
<alkisg_web>
Automatic client discovery etc
09:24
<danboid>
Massive win for LTSP users then
09:25
<alkisg_web>
We develop both ltsp and epoptes so we make sure they play nice
09:25GodFather has left IRC (GodFather!~rcc@d53-64-7-141.nap.wideopenwest.com, Ping timeout: 240 seconds)
09:33alkisg_web has left IRC (alkisg_web!1f98fec3@31-152-254-195.pat.amp.cosmote.net)
09:53
<danboid>
alkisg, What size of class can be managed with epoptes?
09:56
alkisg, epoptes lets you send messages to one or all clients right? Its just text right, no support for voip chat?
09:57
I very much doubt it supports voice chat :)
09:58
Being able to send messages should be enough
09:59
Say its a wired gigabit LAN, whats the max number of clients that can be managed
10:03
I don't get its security tho. It seems that any user in the epoptes group can control clients. What if more than one machine on the lan has epoptes installed?
10:04
Ah hold on
10:05
Must the epoptes server be the same machine / IP as the LTSP server?
11:22woernie has joined IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de)
11:32wilbur has left IRC (wilbur!~wilbur666@88.151.226.12, Quit: Going offline, see ya! (www.adiirc.com))
11:33wilbur has joined IRC (wilbur!~wilbur666@41.66.227.27)
11:34
<wilbur>
thanks everyone resolved the issue with ltsp failing, looked like a keyboard/chair error, the installer for ubuntu 18.04 must not have finished correctly. did a fresh install and worked well
12:12TheProf has left IRC (TheProf!TheProf@72.53.213.81, Quit: Going offline, see ya! (www.adiirc.com))
12:21
<wilbur>
with the client the /home/user/.profile is missing along with the other files in the directory, is this normal? is there a way to build them on the ltsp server?
12:28ben_nabiy has joined IRC (ben_nabiy!~bennabiy@207-032-203-101.cust.rezmail.net)
12:29alkisg_web has joined IRC (alkisg_web!1f98fec3@31-152-254-195.pat.amp.cosmote.net)
12:30
<alkisg_web>
wilbur, home is normally mounted via sshfs
12:30
It's not contained in the image
12:31
danboid, epoptes doesn't need to be in lan
12:31
It should be able to serve thousands of clients
12:35
<danboid>
How is auth handled then?
12:35
<alkisg_web>
Auth? Users in epoptes group can launch it, that's all
12:36
<danboid>
I mean what stops anyone booting a Linux machine on the LTSP network and controlling clients desktops?
12:37
controlling/viewing
12:37
<alkisg_web>
He doesn't have the epoptes server private cerificate
12:38
See the installation page for how the clients trust the certificate initially
12:39
<danboid>
OK
12:39
Thanks
12:39
<alkisg_web>
Np
12:48alkisg_web has left IRC (alkisg_web!1f98fec3@31-152-254-195.pat.amp.cosmote.net)
12:49
<wilbur>
so if i wanted to add something to /home/user for example, how would i go about that please?
12:52ben_nabiy has left IRC (ben_nabiy!~bennabiy@207-032-203-101.cust.rezmail.net, Ping timeout: 272 seconds)
13:19wilbur67 has joined IRC (wilbur67!~wilbur666@41.66.230.104)
13:21wilbur has left IRC (wilbur!~wilbur666@41.66.227.27, Ping timeout: 256 seconds)
13:21wilbur67 is now known as wilbur
13:38
<wilbur>
is there a manual page or simliar for showing how to configure / add t o the /home as i am not familar with mounting via sshfs ?
13:39alkisg_web has joined IRC (alkisg_web!1f98fec3@31-152-254-195.pat.amp.cosmote.net)
13:39
<wilbur>
sorry for repeat question, i didn't scroll down enough
13:40
<alkisg_web>
wilbur, you'd just put that in the server /home/user, not in the image
13:40
sshfs is the default, you don't need to enable it
13:41mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Ping timeout: 256 seconds)
13:41
<wilbur>
am confused as on the ltsp server i have /home/william/.profile, however it is not on the pxe client
13:43
<alkisg_web>
What's the output of this on the client? mount | grep home
13:46
<wilbur>
returns nothing
13:46
<alkisg_web>
This is wrong then, do you have sshfs installed?
13:47
<wilbur>
echo $PWD
13:47
this gives /home/william
13:47
sshfs on the host,, checking now
13:47
<alkisg_web>
Type sshfs
13:47
On the client
13:48
Also try su otheruser
13:48
To see if you get error messages
13:48
<wilbur>
sshfs installed on both host and client
13:48
i did get a error message when first loading in
13:48
<alkisg_web>
Gotta go, later
13:48
<wilbur>
using automatic log
13:49
.Login incorrect.
13:49alkisg_web has left IRC (alkisg_web!1f98fec3@31-152-254-195.pat.amp.cosmote.net)
13:49
<wilbur>
To run a command as administrator (user "root"), use "sudo <command".
13:51
ok, i do "sudo su" to switch to root, then i do "su william",,, message comes up read: Conenction reset by peer .Login incorrect.
13:55mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
13:57
<wilbur>
am running in single NIC mode, do i have to do this? Change IPAPPEND 3 to IPAPPEND 2 ?
14:20woernie has left IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de, Remote host closed the connection)
14:27
<wilbur>
worked it out, had to add the user into ltsp.conf under the client mac
15:02TheProf has joined IRC (TheProf!TheProf@72.53.213.81)
15:12sutula has left IRC (sutula!~sutula@184.97.13.190, Ping timeout: 256 seconds)
15:37woernie has joined IRC (woernie!~werner@ip6-2a03-7500-09b4-3b00-49c7-4e70-86d8-76ba.dyn.netcomnetz.de)
15:37sutula has joined IRC (sutula!~sutula@184.97.13.190)
15:37GodFather has joined IRC (GodFather!~rcc@c-69-136-135-7.hsd1.mi.comcast.net)
15:49woernie has left IRC (woernie!~werner@ip6-2a03-7500-09b4-3b00-49c7-4e70-86d8-76ba.dyn.netcomnetz.de, Quit: No Ping reply in 180 seconds.)
15:50woernie has joined IRC (woernie!~werner@ip4-188-74-17-86.dyn.netcomnetz.de)
16:04GodFather has left IRC (GodFather!~rcc@c-69-136-135-7.hsd1.mi.comcast.net, Ping timeout: 258 seconds)
16:22lucascastro has joined IRC (lucascastro!~lucascast@177-185-139-41.isotelco.net.br)
16:38RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Quit: Please remember your own message. It'll be read as soon as possible.)
17:08vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
17:09
<wilbur>
does each time a client loads have a unique uuid ? is there a way to set it static or use the host?
17:16danboid has left IRC (danboid!~ISDADS\sg@cpc126962-macc4-2-0-cust227.1-3.cable.virginm.net, Quit: Leaving)
18:05woernie has left IRC (woernie!~werner@ip4-188-74-17-86.dyn.netcomnetz.de, Ping timeout: 264 seconds)
18:06woernie has joined IRC (woernie!~werner@ip4-188-74-17-86.dyn.netcomnetz.de)
18:22woernie has left IRC (woernie!~werner@ip4-188-74-17-86.dyn.netcomnetz.de, Remote host closed the connection)
18:25wilbur67 has joined IRC (wilbur67!~wilbur666@41.218.216.4)
18:28wilbur has left IRC (wilbur!~wilbur666@41.66.230.104, Ping timeout: 256 seconds)
18:28wilbur67 is now known as wilbur
18:28
<alkisg>
wilbur: yes, the clients have static, unique ids, based on their mac addresses
18:50
<TheProf>
Hello. Is there a recommended way to move user accounts and their files from one LTSP server to another? Our main server drive failed so we're swtiching to another machine and have a few hundred to move and half a TB of /home data. Thank you.
18:53
<vagrantc>
nothing specific to LTSP
18:54
<alkisg>
Indeed, not specific to ltsp, well, except if one wishes to use the pwmerge ltsp tool for that. TheProf: do you have the old /etc/passwd and the old /etc/shadow?
18:54
<vagrantc>
rsync could work, but you want to make sure you create the accounts with the same uid/gid and so on
18:54
although you can chown/chmod as needed after the fact alternately
18:55
<alkisg>
Btw, /me waves to vagrantc and says thanks for ltsp 20.06 ;)
18:57
<vagrantc>
alkisg: you did all the hard work :P
18:57
alkisg: so likewise thanks :)
18:58
i should consider adding support for some more arm systems ... i have a few nice candidates
18:58
finally some are getting accelerated graphics and such with free drivers and all that
18:58
<alkisg>
I'm expecting an odroid soonish
18:59
Some user donated it to motivate me to add ltsp support for it
18:59
<vagrantc>
and decent amounts of ram and ... still somewhat slow CPUs
18:59
which?
18:59
<alkisg>
Other than that, I'm not sure what I'm going to do with it :D
18:59
Dunno
18:59
<vagrantc>
heh
18:59
odroid typically require random signed blobs for arm-trusted-firmware bits
18:59
<alkisg>
I already have 3 remote-desktop setups, one for each rpi version... rpi2, rpi3 and rpi4... I don't need yet another one :D
19:00
Oucch
19:00
Which one are you thinking to add support for?
19:00
<vagrantc>
the rockchip rk3399 boards are looking pretty reasonable ... the rockpro64 should be reasonably well supported
19:00
<TheProf>
Hello. I have access to all the files on the original machine thanks to a backup.
19:00
<vagrantc>
also the rk3328-rock64
19:01
<TheProf>
That includes /etc/passwd and /etc/shadow
19:02
<alkisg>
TheProf: then why don't you just put all that data to a new disk? Linux doesn't care about hardware changes...
19:05
<TheProf>
I have high ignorance with these items (I maintain the system as a volunteer!) so I imagine I can't just copy the old /etc/passwd and /etc/shadow over the new one but need to replace it? Or I need to match up the UID/GID?
19:06
<vagrantc>
you'll need to make sure the uid/gid don't conflict with existing users ... but you should be able to safely sync uid/gid 500+ (other than maybe the initial user, if that's different)
19:10
<TheProf>
Sure I can do that. I am the initial user so I can track that one account as you said. Then I can copy over the old /home files (since there's nothing in the new /home anyways) and then execute a chown/chmod command and be up and running?
19:14
<vagrantc>
the other option would be to just rsync them all as root, and then add the users later and chown/chmod to the appropriate users
19:15
if they're all simply /home/USERNAME or some similar layout where it's easy to tell who should own what files
19:18thefinn93 has left IRC (thefinn93!finn@unaffiliated/thefinn93, Remote host closed the connection)
19:20
<TheProf>
In the past I've used webmin to export to a file the user information (including password, home directory, groups, etc) and then use webmin on the new server that same file and it would create all the folders, permissions, etc. and then I copied over the files. I was trying to avoid installing webmin just for that purpose.
19:21
<alkisg>
less /usr/share/ltsp/client/login/pwmerge
19:21
Usage: pwmerge [--sur=] [--sgr=] [--dur=] [--dgr=] [-l] [-q] sdir ddir mdir
19:21
Merge passwd, group and optionally shadow and gshadow from source directory
19:21
sdir and destination directory ddir into a merge directory mdir.
19:22
I.e. you can merge the old users to the new ones with one command...
19:22
<TheProf>
That's great thank you for the information I will take a look at it
19:23
<alkisg>
I.e. just sudo pwmerge /path/to/old/etc /etc /home/administrator/toexamine/etc
19:23
And if you examine the result and it's fine, then you just copy it to /etc
19:24
(it can also just save to etc directly)
19:25
<TheProf>
There's always great tools out there but just need to find them!
19:25
<alkisg>
It took me a week to write it ;)
19:26
<TheProf>
Even more cool. Thank you.
19:49GodFather has joined IRC (GodFather!~rcc@d53-64-7-141.nap.wideopenwest.com)
19:52thefinn93 has joined IRC (thefinn93!finn@unaffiliated/thefinn93)
20:12wilbur67 has joined IRC (wilbur67!~wilbur666@88.151.226.12)
20:16wilbur has left IRC (wilbur!~wilbur666@41.218.216.4, Ping timeout: 264 seconds)
20:16wilbur67 is now known as wilbur
21:16shored has left IRC (shored!~shored@87-92-92-55.bb.dnainternet.fi, Ping timeout: 246 seconds)
21:18shored has joined IRC (shored!~shored@87-100-202-16.bb.dnainternet.fi)
21:59wilbur67 has joined IRC (wilbur67!~wilbur666@41.66.228.25)
22:00wilbur has left IRC (wilbur!~wilbur666@88.151.226.12, Read error: Connection reset by peer)
22:00wilbur67_ has joined IRC (wilbur67_!~wilbur666@88.151.226.12)
22:00wilbur67_ is now known as wilbur
22:04wilbur67 has left IRC (wilbur67!~wilbur666@41.66.228.25, Ping timeout: 246 seconds)
22:34
<wilbur>
is it possible to have a windows 10 ltsp client?
22:35
<vagrantc>
what do you mean?
22:35
connect to a windows 10 server?
22:36
LTSP is essentially just a way to network boot a computer to run linux ...
22:36wilbur67 has joined IRC (wilbur67!~wilbur666@41.218.223.123)
22:37wilbur has left IRC (wilbur!~wilbur666@88.151.226.12, Read error: Connection reset by peer)
22:38wilbur67 is now known as wilbur
22:41wilbur67 has joined IRC (wilbur67!~wilbur666@88.151.226.12)
22:44wilbur has left IRC (wilbur!~wilbur666@41.218.223.123, Ping timeout: 256 seconds)
22:44wilbur67 is now known as wilbur
22:48
<wilbur>
when i turn off LVM for hard disks the LTSP seems to build better (ubuntu 20.04)
22:49
is ok about the windows, realize now this is purely for linux, am running moonlight-qt to the window box when required
23:40vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)