|05:44||quinox has left IRC (firstname.lastname@example.org, Quit: WeeChat 3.3)|
|05:47||quinox has joined IRC (email@example.com)|
|06:57||ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)|
|08:00||vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100e, Quit: leaving)|
|11:12||woernie has left IRC (firstname.lastname@example.org, Ping timeout: 240 seconds)|
|11:12||woernie has joined IRC (email@example.com)|
|11:26||woernie has left IRC (firstname.lastname@example.org, Ping timeout: 256 seconds)|
|13:35||woernie has joined IRC (email@example.com)|
|13:48||woernie has left IRC (firstname.lastname@example.org, Remote host closed the connection)|
|13:49||woernie has joined IRC (email@example.com)|
|13:50||woernie has left IRC (firstname.lastname@example.org, Remote host closed the connection)|
|13:51||woernie has joined IRC (email@example.com)|
|15:58||danboid has joined IRC (firstname.lastname@example.org)|
Im at a loss as to whats happening with ltsp. I removed the old images then created a new one but its still booting the old one somehow yet I can,t see how thats posibble. There is only one ltsp image file under /srv/ltsp and its got todays date. Very weird!
I know its the old one as my current image is using lightdm but the previous image was using gdm and thats what Im seeing
Ah but I see it hasnt updated the files in /srv/tftp/ltsp/Ubuntu-20.04
maybe I had to delete that dir too?
|16:07||lucascastro has left IRC (email@example.com, Remote host closed the connection)|
I presumed 'ltsp image' woulf
updated that every time it got run?
|16:09||lucascastro has joined IRC (firstname.lastname@example.org)|
I was just going off a wiki article on how to remove old images
It said you just needed to remove tge
the image file basically but it seems there is more to it
I used the same name for the image
The .img image get renamed to .old when you run ltsp image
OK so this time Ive deleted the /srv/tftp/ltsp/Ubuntu-20.04/ dir and the ltsp image and Im trying again
The already booted clients keep using the .old image until they're rebooted
If that's not what you mean, then maybe you have a second server that you forgot... it's pretty common :)
The old image was deleted and the client had been turned off for weeks
we can use lightdm right? Its not the ltsp scripts reverting my image back to gdm is it?
I thought you use Ubuntu MATE alkisg? That defaults to lightdm, I think
ltsp doesn't touch the default dm configuration at all
So yeah, for my ubuntu mate it's lightdm, but if you install gdm there, it'll switch to gdm because of ubuntu/debian, not because of ltsp
I didnt think so. Its the weirdest bug
Ive seen in along time
It sounds more like a sysadmin bug :D
You have some wrong configuration somewhere in your image
What is the procedure for deleting / replacing an image?
If you want to use the same name
Are the any gotchas?
There was no .old image as I deleted the old one first
It's nothing notable, you just rename / move things
Oh I know what it must be
I used created a snapshot in the vm. Ill have to get rid of that first right?
.vmdk lets you create snapshots but ltsp image probably doesnt know which one to use
Thats the only thing I can think of
ltsp doesn't support snapshots
It's using the underlying image
It's just a mount command
There's no fancy library that reads snapshots etc involved
mount can't read snapshots, so ltsp can't read snapshots
I created the image in virtualbox so yes, that does let you create snapshots
Im going to remove the snapshot and see if that fixes it
Yes, it was the snapshot causing probs. You have to delete all snapshots in virtualbox before running ltsp image
No, ltsp image will work if you have snapshots, but it will take the underlying image, the first one that you see in the "vbox snapshots" window
Correct but 99% of the time the user wants to current state of the vm
So it seems pamltsp cannot mount my home dirs via sshfs, any idea why? /home is mounted on ZFS
alkisg - I thought you used zfs for your home dirs?
In one of 1000 setups, sure
I cant quite see the full error on the lightdm login page
What I can see is
.Pamltsp failed to mount home via SSHFS:read
Presumably I need to tweak pamltsp to work with ZFS?
You can try to login in vt2 to see the full error message
Yes, full error is
.Pamltsp failed to mount home via SSHFS: read: Connection reset by peer
So is this more likely a zfs config issue or does the pamltsp script need to be changed?
The LTSP server is using mdraid10 xfs for its disks except for /home which is ZFS
The server home is not related to the client sshfs mount
Try to run sshfs manually from elsewhere and see what the problem is
The server home can be zfs, samba, whatever; sshfs doesn't care about that
OK, I'll try mounting the same users home via sshfs on my laptop
This command works fine to mount the same home dir
sshfs email@example.com:/home/sgs548 /home/dan/mnt/
|17:28||lucascastro has left IRC (firstname.lastname@example.org, Ping timeout: 256 seconds)|
That is the ZFS home dir / user that pamltsp cant mount
Im not running iptables on the LTSP server yet so its not that
Ive disabled ssh password logins on the LTSP server
Ill have to enable that wont I? :)
I think I know the answer to that one
Nah, still getting the same error
with ssh passwords enabled
Do I have to do some special config to get pamltsp to work with ldap?
Im using nslcd and I could login on a Ubuntu VM using nslcs but not LTSP
using nslcd for LDAP but no LTSP
Is LTSP known to work with nslcd?
nslcd seems much easier to configure than sssd-ldap
and I expected it wouldn;t care which one I used but maybe it does matter
In fact sssd-ldap wasnt a choice for us yet as we're still using LDAP not LDAPS. sssd only supports LDAPS
Think Ill have to leave this g
for today as Im all out of ideas
alkisg - Have you heard any reports of people successfully using nslcd with LTSP?
danboid: I've added support for sssd to work out of the box
For other variants, there's no autodetection, and you'll need to manually set PAMLTSP=0 etc, see the ltsp.conf man page
etc? Are there any other vars you knoe
know Ill have tochange?
Sorry typing on a crappy pocket BT keyboard
alkisg - PAMLTSP doesnt have an entry in the ltsp.conf man page. Shall I open a bug report for that?
So I dont know which section of ltsp.conf to add it to
Its not in the included ltsp.conf either
danboid: indeed, sorry, it's PAM_AUTH_TYPE: https://github.com/ltsp/ltsp/issues/338#issuecomment-735230997
If you want LDAP authentication with SSHFS homes, it's PAM_AUTH_TYPE=Additional under [clients]
Nope. Ive added that line, ran 'ltsp initrd' and rebooted but still get the same error
And can you ssh from the ltsp client to the server?
Open a root shell and try `ssh user@server`
If that doesn't work, then you can't use sshfs
I have successfully ssh'd from VT2 of a LTSP client onto the LTSP server
not as root tho'
why would that matter?
Maybe i should try PAM_AUTH_TYPE=0 ?
Hmm no, that disables sshfs
Because sshfs doesn't work if ssh doesn't work
So will I have to switch to using NFS for the home dirs toget this to work?
|19:10||lucascastro has joined IRC (email@example.com)|
Are there any disadvantages to using NFS vs SSHFS fo rthe home dirs?
With PAM_AUTH_TYPE=Additional, you should be able to login to vt2 even if sshfs didn't work
I.e. even if pamltsp isn't working, your own pam should allow the login
Im getting the same sshfs mount error using Additional but I can ssh into the LTSP server fine
It's not an ltsp issue then
it's bad pam configuration
Ive only configured nslcd. You mean my nslcd config is bad or is there something else I need to configure?
I installed libpam-ldapd
as part of installing nslcd
Thats my nslcd config
I realise youve prob never used nslcd but you might spot something?
I removed the password obvs
I mean that with PAM_AUTH_TYPE=0, YOU are responsible to have the clients login work, as ltsp then isn't involved at all
And if that isn't working, then you need to fix pam
OK well I didnt test 0, Ive only bben tryinh with Additional
It's pretty much the same
additional means "stuff to do after the login succeeds"
Id have to read up on NFS before I try 0 tho as Ive never really used it
So you should be able to login even without a mounted home
And it will tell you "no home, logging in with HOME=/"
AFTER you have that working, then you can look at mounting home
Yes, its doing that
"no home, logging in with HOME=/"
I can login, its just not mounting home
|19:38||lucascastro has left IRC (firstname.lastname@example.org, Ping timeout: 256 seconds)|
|19:39||lucascastro has joined IRC (email@example.com)|
|19:44||lucascastro has left IRC (firstname.lastname@example.org, Ping timeout: 240 seconds)|
|19:50||danboid has left IRC (email@example.com, Quit: Client closed)|
|20:33||ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)|
|20:51||p00l3r has joined IRC (firstname.lastname@example.org)|
hi i have some problem with ltsp, im a user of a server with an image of ubuntu without pass of root or superuser, but when i installed virtualbox and created an ubuntu machine the problem is inside of the VM dont work the share file or usb (the guset addittion and extension pack are instaalled), someone can help me about this
|20:57||vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100e)|
in the host i dont have the problem of usb, just on VM (guest)
disculpen mi ingles xD
no hay problema :)
p00l3r: i missed what you said earlier ... what is the problem with usb ?
p00l3r: you mean that you have a virtualbox issue? There's a #vbox IRC channel afaik
Also AFAIK to do USB forwarding, your user needs to be a member of the vboxusers group
But ask in #vbox, they'll tell you, it's not an LTSP issue
|22:00||lucascastro[m] is now known as LucasCastro[m]|
|23:28||bcg_ has left IRC (email@example.com, Ping timeout: 268 seconds)|
|23:49||bcg_ has joined IRC (firstname.lastname@example.org)|