|02:06||GodFather has left IRC (GodFatheremail@example.com, Ping timeout: 264 seconds)|
|04:55||quinox has left IRC (firstname.lastname@example.org, Quit: :wq)|
|04:56||quinox has joined IRC (email@example.com)|
|05:27||alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)|
|05:35||alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)|
|05:49||vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)|
|05:54||ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)|
|06:34||alkisg is now known as alkisg_away|
|07:00||kjackal has left IRC (kjackal!~kjackal@2a02:587:3101:3500:c8ce:bb65:49a7:ffca, Ping timeout: 246 seconds)|
|07:00||kjackal_ has left IRC (kjackal_!~kjackal@2a02:587:3101:3500:c8ce:bb65:49a7:ffca, Ping timeout: 246 seconds)|
|07:28||mikkel has joined IRC (firstname.lastname@example.org)|
|07:30||semo163 has joined IRC (semo163!58c8d653@gateway/web/freenode/ip.18.104.22.168)|
hello there . Cannot find out why thin clients freeze about 2 hours after startup. Ubuntu 14.04 ltsp x64 ltsp5 pnp server and clients
nbd server client version is 3.7
|07:37||alkisg_away is now known as alkisg|
semo163: are they freezing only inside the user session or also when they're in ldm?
It doesn't matter if some one is doing something or not. Client just freezes. Only hard reset button helps
I use auto login in lts.conf
after restart of diskless client in gets nbd root and starts session after autologin
user may use firefox as ltsp-localapps firefox or just libreoffice it doesnt matter wat hi uses
on server i installed lubuntu environment
already tried to change net.ipv4.tcp_keepalive_probes=50 as was suggested
Try without logging in
This will minimize the issue to only nbd + networking issues, not to ssh timeouts etc
I have clients here with 14.04 that work for days without problems
So it's not a general issue that affects all installations ec
You mean disable autologin and just wait for disconnect ?
semo163: I know a place where the firewall silently disconnects my ssh sessions after a while. Security measure I guess.
there is no firewall on server
semo163: you can also put SCREEN_02=shell in lts.conf, to get a shell instead of ldm
That will make it easier to see if the client hanged or not, to see kernel panics etc
thank you alkisg
as a last resort today after work will try nbd from upstream (3.17 I guess) 16.04 release
something tells me that it nbd client issue
sebd: iptables are flushed no firewall (ufw or so is installed on server)
sebd: not installed I mean
ok semo163 and nothing active between server and clients ?
sebd: no they are in small lan... no firewall . switch can not be an issue because ping from ather PC to LTSP server goes well
Your dhcp server doesn't have 2 hours lease time and assign the expired IP to another client, does it?
The default tcp timeout is 2h 11 minutes, but it shouldn't affect nbd connections with the usual keepalive etc.
will check dhcp. thanks for such a thouhgt
nbd client uses usual (after installation params) /sbin/nbd-client 192.168.1.18 -N /opt/ltsp/amd64 /dev/nbd0 -swap -persist
/sbin/nbd-client 192.168.1.18 /dev/nbd9 -N /opt/ltsp/amd64
all clients have different hw (all have about 1Gb of RAM just no HD on em) but behave the same way
thera are 4 as yet but I will add more after resolve this
(10:58:23 πμ) semo163: /sbin/nbd-client 192.168.1.18 /dev/nbd9 -N /opt/ltsp/amd64 ==> that should only be a temporary mount for 1 second
Btw, do you have the greek schools ppa in your sources?
greek-schools-ppa: https://launchpad.net/~ts.sch.gr/+archive/ppa/ supports LTS Ubuntu releases with newer LTSP versions, bug fixes etc
yes i've got greek schook in ppa ltsp5 was installed with this ppa
actually on client i've got ps aux|grep nbd /sbin/nbd-client 192.168.1.18 -N /opt/ltsp/amd64 /dev/nbd0 -swap -persist 2 records and one record /sbin/nbd-client 192.168.1.18 /dev/nbd9 -N /opt/ltsp/amd64
at all run time of thin client
meanwhile nbdstat on server says this client got only one nbd connection
actually nbd is lsof which says nbd-serve 8412 nbd 6u IPv4 1391882 0t0 TCP ltsp.csm.local:nbd->baksheeva.csm.local:39580 (ESTABLISHED)
If nbd-client stays around after the connection was closed, it sounds like a bug. That wouldn't be the one affecting you though.
|09:19||alkisg is now known as alkisg_away|
|10:46||izzle121 has left IRC (izzle121!~izzle121@2601:193:c200:1d00:52e5:49ff:fec0:534b)|
|10:48||GodFather has joined IRC (GodFatheremail@example.com)|
|11:36||kjackal has joined IRC (firstname.lastname@example.org)|
|11:48||GodFather has left IRC (GodFatheremail@example.com, Remote host closed the connection)|
|11:49||Faith has joined IRC (Faith!~paty_@unaffiliated/faith)|
|11:53||GodFather has joined IRC (GodFatherfirstname.lastname@example.org)|
|12:07||GodFather has left IRC (GodFatheremail@example.com, Remote host closed the connection)|
|12:07||GodFather has joined IRC (GodFatherfirstname.lastname@example.org)|
|12:16||GodFather has left IRC (GodFatheremail@example.com, Ping timeout: 260 seconds)|
|12:19||gvy has joined IRC (gvy!~mike@altlinux/developer/mike)|
|13:13||PeperPots has left IRC (PeperPots!sid1218@gateway/web/irccloud.com/x-aodyqbphqxbtjpxm, Remote host closed the connection)|
|13:14||semo163_ has joined IRC (semo163_!5345b224@gateway/web/freenode/ip.22.214.171.124)|
|13:15||PeperPots has joined IRC (PeperPots!sid1218@gateway/web/irccloud.com/x-urvywrmqrgvbrqce)|
alkisg: installed nbd from upstream ubuntu (16.04), so far so good (no freezes as yet). On client there's only one nbd-client process now @sbin/nbd-client 192.168.1.18 -N /opt/ltsp/amd64 /dev/nbd0 -swap -persist -systemd-mark
could someone please show out of ps -aux|grep nbd from ubuntu ltsp5 pnp diskless client command
and ps aux|grep ssh as well
|13:56||ben_roose has joined IRC (firstname.lastname@example.org)|
|14:03||alkisg_away is now known as alkisg|
semo163_, so you think that nbd-client from 14.04 is broken?
# ps aux|grep nbd
root 287 1.4 0.0 2208 56 ? Ss 17:04 0:00 @sbin/nbd-client 192.168.67.1 -N /opt/ltsp/i386 /dev/nbd0 -swap -persist systemd-mark
root 291 1.0 0.0 0 0 ? S< 17:04 0:00 [nbd0]
root 602 0.0 0.0 2208 96 ? Ss 17:04 0:00 nbd-client 192.168.67.1 -N swap /dev/nbd1 -swap
root 605 0.0 0.0 0 0 ? S< 17:04 0:00 [nbd1]
root 2860 0.0 0.0 2208 76 ? S 17:05 0:00 nbd-client 192.168.67.1 /dev/nbd9 -N /opt/ltsp/i386
# ps aux|grep ssh
root 2962 0.3 3.4 7724 5068 pts/2 Ss+ 17:05 0:00 ssh -Y -t -M -S /var/run/ldm_socket_2816_server -o NumberOfPasswordPrompts=1 -o ConnectTimeout=10 -l ltsp -o Ciphers=arcfour128,aes128-ctr server echo LTSPROCKS; exec /bin/sh -
root 3034 0.0 3.1 7724 4632 tty7 S 17:05 0:00 ssh -x -a -oClearAllForwardings=yes -oControlPath=/var/run/ldm_socket_2816_server -2 server -s sftp
root 3035 0.0 0.1 31216 216 ? Ssl 17:05 0:00 sshfs -o disable_hardlink,allow_other,nonempty,ControlPath=/var/run/ldm_socket_2816_server server:/home/ltsp /home/ltsp
root 3043 0.0 3.2 7724 4700 tty7 S 17:05 0:00 ssh -x -a -oClearAllForwardings=yes -oControlPath=/var/run/ldm_socket_2816_server -2 server -s sftp
not sure as yet will see if thin clients stay connected overnight
semo163_, did you do the "test if clients hang at ldm" part?
Did they hang there?
doing it now
But with a different nbd-client, so you won't know for sure...
I've upgraded nbd so cannot tell you about prev version
now monitoring console of one of them
one I rebooted with SCREEN_02=shell without autologin
it still get ltsp welcome login screen ... I left 07 screen as is without logining in it and switched to 02 then tail -fn30 /var/log/syslog
not sure if it's right way to isolate LDM or not...
LDM or not doesn't matter, it's sshfs or nbd that matters, and since you haven't logged in you're only using nbd
Although a weird mix of old nbd-server, new nbd-client etc
ok. no mix i've installed new nbd client and server from 16.04 and rebuild image with ltsp-update-image --cleanup /
after 2 clients were booted with new version of nbd client. One with autologin second without login
in 30 min first results :-)
usually they hangs after 2hours aprx.
|14:23||mikkel has left IRC (email@example.com, Quit: Leaving)|
alkisg: freezed client with just nbd session (without LDM)
syslog on both parts (server and client) shows nothing unusual (no client disconnect or so...)
strange, but with LDM (second client) is still running
second one also freezed -(
could someone send output from /ets/ssh/ssh_config sshd_config
no need it. This is nbd for sure. But how to debug it ?
|16:09||gvy has left IRC (gvy!~mike@altlinux/developer/mike, Quit: Leaving)|
|16:13||vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)|
|16:25||Mowens_ has joined IRC (Mowens_!4395c282@gateway/web/freenode/ip.126.96.36.199)|
|16:29||robb_nl has joined IRC (firstname.lastname@example.org)|
Hello - reading up on LTSP - looks like you have to PXE your clients to get it's OS-- is there an alternative solution that can easily be used over the WAN?
The whole idea behind LTSP is having clients without a harddisk. Clients without a harddisk need to get their software from somewhere.
You could install Ubuntu on a USB stick I guess?
But what you're doing now, is kind of like going to a butcher and asking for vegetables. ;-)
LTSP clients have no OS themselves. They get it from the server, via the network.
Or maybe I'm totally misunderstanding the question?
|16:36||Phantomas has joined IRC (Phantomas!~ftsamis@ubuntu/member/phantomas)|
Are you just looking for a way to provide remote desktops over the internet?
Ahhh i got ya.
Yes, long explanation coming. :)
|16:45||GodFather has joined IRC (GodFatheremail@example.com)|
Check out x2go if you just want remote desktops from a central server over the internet
Yes, I am looking for a way to provide remote desktops over the internet. I was looking at this all wrong. I come from an extensive background in Citrix and windows terminal server, and currently exploring the linux alternatives for my employer. The ultimate end goal is to create the ability to provide a desktop to any user's device. (phone, tablet, laptop, desktop, thin client, or other) from anywhere. It looks like X2go has a good
yours appears to run much thinner, and I like that. :)
I have a x2go POC and I like that, I just wanted to give you guys a good try incase I missed something in the documentation
|17:05||GodFather has left IRC (GodFatherfirstname.lastname@example.org, Ping timeout: 248 seconds)|
You can combine LTSP and x2go
I do that at one of the companies I work for too. LTSP for the local thin clients, x2go for the remote offices.
|17:29||dtcrshr has left IRC (dtcrshr!~datacrush@unaffiliated/datacrusher, Quit: Saindo)|
|17:30||bradyj has joined IRC (bradyj!49cb7058@gateway/web/freenode/ip.188.8.131.52)|
I have just installed LTSP with Lubuntu 14.04, everything went smooth, however I am unable to login to the thin client.
|17:35||darkend has joined IRC (darkend!c837bdad@gateway/web/freenode/ip.184.108.40.206)|
|17:40||darkend has left IRC (darkend!c837bdad@gateway/web/freenode/ip.220.127.116.11, Quit: Page closed)|
|17:42||bradyj has left IRC (bradyj!49cb7058@gateway/web/freenode/ip.18.104.22.168, Ping timeout: 250 seconds)|
|17:44||semo163_ has left IRC (semo163_!5345b224@gateway/web/freenode/ip.22.214.171.124, Ping timeout: 250 seconds)|
|17:49||darkend has joined IRC (darkend!c837bdac@gateway/web/freenode/ip.126.96.36.199)|
I install and configure the server and later create de image.
hy. i have a little problem with a ltsp server in debian wheezy.
but the client say that not found de pxe.0 file.
if it's a new install, i wouldn't recommend wheezy
though it's probably just a misconfiguration with dhcp
the ltsp server no have a dhcp server inside.
well the dhcp server is an dedicated server
ok, then configure your dhcp server to tell it to boot from the ltsp server.
or use proxydhcp
the cliente can see the dhcp server but can´t see the client image
!proxydhcp | echo darkend
darkend proxydhcp: A proxy DHCP server is defined by the PXE specification as a server which sends auxiliary boot information to clients, like the boot filename, tftp server or rootpath, but leaves the task of IP leasing to the normal DHCP server. More info: https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP
we also use a diff. DHCP server that we configured to send a client to the LTSP server, works fine
in first instance, i install it on ubuntu 14.04 like a --fat-client and work very well.
now my boss order me tha change to debian and create de image like thin client and don´t work.
|18:06||robb_nl has left IRC (email@example.com, Remote host closed the connection)|
|18:13||Mowens_ has left IRC (Mowens_!4395c282@gateway/web/freenode/ip.188.8.131.52, Ping timeout: 250 seconds)|
|18:15||sutula has left IRC (firstname.lastname@example.org, Ping timeout: 276 seconds)|
darkend: try ltsp-config dnsmasq
darkend: but why are you running wheezy?
|18:17||sutula has joined IRC (email@example.com)|
darkend: current debian stable release jessie is already almost a year old
|18:25||gravetech has joined IRC (gravetech!433ac2c2@gateway/web/freenode/ip.184.108.40.206)|
I was hoping someone could help with a question about LDM_XSESSION in the lts.conf?
I'm attempting to follow the instructions here: http://ubuntuforums.org/showthread.php?t=2177959
The problem is I am not using xfce and I can't seem to get the client to login with the LDM_XSESSION script in place
|18:31||lbssousa has joined IRC (firstname.lastname@example.org)|
|18:32||GodFather has joined IRC (GodFather!~rcc@2600:1007:b02d:772f:b1f8:cba0:93c1:3786)|
@vagrantc: I use wheezy because is that i have. i´m in Cuba and the access to repos are very difficult
gravetech: I think it would be better to ask what you need from scratch, not "help me on this forum post"
I don't agree with the way this forum post handles ltsp, there are much better ways to do what he's trying to do
@alkisg sounds good let me start over!
So I am attempting to setup an LTSP server to assist with some computer-based training that we have starting here at my work. Currently we have three Ubuntu 14.04 boxes with Guest Sessions enabled that wipe out anything they do after they log-out. I am looking for similar functionality from LTSP
I'd like it if they could log-in as a guest and then when they log out (or log in the next time) wipe their settings back to a template
I am trying to do this with some spare computers that are PXE booting
The long-term goal is to run it with RPi3's
darkend: ah, that's difficult. wheezy should be able to do what you're needing
gravetech: there are some posts on email@example.com that do exactly that ...
|18:52||* vagrantc also likes using libpam-mount to mount a tmpfs homedir on login|
especially with fat clients
|18:53||* vagrantc had been meaning to integrate that directly into ltsp for some time now but never got it set up|
How a can have many users in a --fat-client???
one for each terminal
anyways, good luck folks, gotta head out
|18:57||* vagrantc waves|
|18:57||vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)|
i create two users and only mcan acces with the user with i create the client image.
ok i will try again. bye
|19:00||darkend has left IRC (darkend!c837bdac@gateway/web/freenode/ip.220.127.116.11, Quit: Page closed)|
gravetech: ok, i'll give you 3 tutorials
ltsp-pnp: ltsp-pnp is an alternative (upstream) method to maintain LTSP installations for thin and fat clients that doesn't involve chroots: https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp
This is to get ltsp up and running with the spare boxes
raspberrypi: (#1) Ubuntu/LTSP on Pi 2: https://help.ubuntu.com/community/UbuntuLTSP/RaspberryPi, or (#2) Debian/LTSP (with raspbian chroot) on Pi: http://cascadia.debian.net/trenza/Documentation/raspberrypi-ltsp-howto/, or (#3) unofficial Ubuntu/LTSP (with raspbian chroot) on Pi: http://pinet.org.uk/
#1 is for when you get the rpi3's
And for the guest sessions, it's one script, let me locate the url..
I think I found your post on the mail archives @alkisg
You create a /opt/ltsp/i386/usr/share/ldm/rc.d/S00-guest-sessions
gravetech: note though that with the ltsp-pnp tutorial, there's no chroot, so you put it in /usr/share/ldm/rc.d/S00-guest-sessions
Ok perfect, just one more question: do I still need to have multiple accounts (one for each client connecting)?
Thanks, that would have tripped me up!
With this how-to, yes, because their home is on the server and it needs to be on a different path,
OK I thought so. Thank you!
but it's possible to have only one guest account, e.g. "ltsp", with /home mounted from the server,
via nbd, or from the tmpfs in ram
I'll take a look in to that
is there any way to execute command from ubuntu ltsp 5 pnp server to the client (let say shutdown -r now what I need)
!epoptes | echo semo163:
semo163: epoptes: Epoptes is a computer lab administration and monitoring tool. It works on Ubuntu and Debian based labs with LTSP or non-LTSP servers, thin and fat clients, standalone workstations, NX clients etc. More info: http://www.epoptes.org
semo163: short tutorial: sudo apt-get install epoptes; sudo ltsp-update-image -c /
alkisg: thank you, but I'll have to do it next day (I left the place already -( )
no way esle but epoptes ?
I don't understand the problem
You want to install a software but you left and you are looking for another software?
How will that help?
If you have ssh to the server, you can install whatever you want... if not... no
no I mean I'm far away from client now
Is the client logged in?
i can login to server
but after installation I need to reboot client
i can not do it
Is the client logged in?
yes they are loged in
Are they thin clients or fat?
You can do it with epoptes then
login to ltsp server (lubuntu session runs on server)
ok will try to install now
install epoptes, `su` to the user accounts, and run /usr/share/epoptes-client/get-display to get access to their displays, and /usr/share/epoptes-client/endsession --reboot to reboot the thin clients
thank you very much . will try
do run ltsp-update-image -c / as well so that you can control them graphically after the first reboot
semo163: note that you said "yes they are thin, diskless". But ltsp fat clients are also diskless.
If you're using ltsp-pnp, by default clients with >400 mb ram are fat clients
They run the desktop session locally, not on the server
In that case you can't use the method I said
In that case you'll have to update the image and wait for them to logout, because the new image will make them reboot at ldm
alkisg: no they run desktop session on server for sure
dispite they all have 1Gb of RAM
semo163: that's not the default though, so you must have specified that in lts.conf, by LTSP_FATCLIENT=False
You can run ps aux and check if you see the user processes on the server
All of them running gnome-session etc
ps says they all run on server now
*not gnome-session, lxde-session or whatever its name is
If you see one lxde-session for each user, they're thin
I did /usr/share/epoptes-client/get-display DISPLAY=192.168.1.41:7
then /usr/share/epoptes-client/endsession --reboot I don't know how to reboot in this environment
output from server
i guess i have to deleay till morning -(
I did and got this "I don't know how to reboot in this environment"
this is output from ltsp server
Did you run the export command?
Is that Lubuntu 14.04?
What's the output of this? echo $DISPLAY
managed to reboot by prefixing SUDO
...reboot the server?!
F....k yes it was server.... Lost all clients now for sure
You don't want sudo there
Yes unfortunately the xorg, ssh, nbd connections are lost, you can't access them after server reboot unless you had panic=xxx in the kernel cmdline
If i had known then that i know now .... (pearl jam i guess) :-)
5 zombie processes (they are)
but stations are pinging
The kernel on the clients is running, but he'll never get its "disk" back (nbd)
So it cannot longer even find the reboot command
no processes of them
alkisg: All right thank you veeeeery much indeed. Tomorrow will find out further
how to logout here who knows ?
from chat i mean
usually a /quit
|19:50||semo163 has left IRC (semo163!58c8d653@gateway/web/freenode/ip.18.104.22.168, )|
So I am able to get a root shell in my "shell" screen script, but my ldm screen script fails to log in. I *cannot* su to user "test" from my shell because of a missing passwd entry. Is this missing passwd entry also the reason that I can't login via LDM?
If that's likely, could someone tell me what part of the LTSP process is supposed to sync the passwd file so I can un-break my configuration?
LDM checks logins against the server, so you shouldn't have issues there, but its possible that you need to grant that user exemptions to password policies
On the server's auth.log I see that the "test" user successfully authenticates with SSH, and then it recieves a client-disconnect.
What do you mean grant exemptions?
like if your user needed a kerberos tgt to access resources, your script wouldn't be able to grant that
if you don't already know you have security constraints being enforced on that user, you probably don't
Ah, okay. Yeah, nothing like that.
there is an lts.conf directive you can use to set the password, but I do not recall it, I believe it is related to this thouhg (one moment while I try to remember how to invoke the bot)
Error: "ltsp" is not a valid command.
SCREEN_02: To get a root shell on an Ubuntu thin client: https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting#Using_a_shell_SCREEN
|20:02||lbssousa has left IRC (firstname.lastname@example.org, Quit: lbssousa)|
that one will let you get a root shell within the live system, but you seem to be having more of an issue connecting to the server if I understand you correctly
Yes, that works. That's where I'm noticing that I can't su to my "test" user.
ah, you probably don't want to su to them locally
they wouldn't have the sshfs mounted then
|20:53||GodFather has left IRC (GodFather!~rcc@2600:1007:b02d:772f:b1f8:cba0:93c1:3786, Ping timeout: 268 seconds)|
|21:00||Faith has left IRC (Faith!~paty_@unaffiliated/faith, Quit: Leaving)|
|21:06||gravetech has left IRC (gravetech!433ac2c2@gateway/web/freenode/ip.22.214.171.124, Ping timeout: 250 seconds)|
|21:11||Phantomas has left IRC (Phantomas!~ftsamis@ubuntu/member/phantomas)|
|21:20||tharkun has left IRC (tharkun!~0@unaffiliated/tharkun, Ping timeout: 244 seconds)|
|21:30||ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)|
|21:38||tharkun has joined IRC (email@example.com)|
|22:10||kjackal has left IRC (firstname.lastname@example.org, Ping timeout: 264 seconds)|
|22:18||dtcrshr has joined IRC (dtcrshr!~datacrush@unaffiliated/datacrusher)|
|23:14||vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)|
|23:24||ben_roose has left IRC (email@example.com, Remote host closed the connection)|
|23:36||GodFather has joined IRC (GodFatherfirstname.lastname@example.org)|