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


Channel log from 6 August 2014   (all times are UTC)

00:29
<vagrantc>
huh. systemd apparently only starts gettys on otherwise un-used ttys 1-6 ...
00:29
our screen scripts appear to be enough to block them from starting.
00:30
that pretty much works perfectly for ltsp...
00:40
too bad it kills kittens to use systemd...
00:40* vagrantc sighs
00:45vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
01:22khildin has left IRC (khildin!~khildin@ip-213-49-85-66.dsl.scarlet.be, Quit: I'm gone, bye bye)
02:47cryptrat has left IRC (cryptrat!411abcf6@gateway/web/freenode/ip.65.26.188.246, Ping timeout: 246 seconds)
03:32vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
05:20telex has left IRC (telex!~telex@freeshell.de, Remote host closed the connection)
05:22telex has joined IRC (telex!~telex@freeshell.de)
06:37alexxtasi has left IRC (alexxtasi!~alex@unaffiliated/alexxtasi)
06:59alexxtasi has joined IRC (alexxtasi!~alex@unaffiliated/alexxtasi)
07:15bobby_C has joined IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at)
07:23vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
08:00bennabiy has left IRC (bennabiy!~bennabiy@unaffiliated/bennabiy, Read error: Connection reset by peer)
08:01bennabiy has joined IRC (bennabiy!~bennabiy@unaffiliated/bennabiy)
08:03NeonLicht has left IRC (NeonLicht!~NeonLicht@darwin.ugr.es, Ping timeout: 264 seconds)
08:06mealstrom1 has left IRC (mealstrom1!~Thunderbi@46.63.63.163, Quit: mealstrom1)
08:11work_alkisg has joined IRC (work_alkisg!~alkisg@plinet.ioa.sch.gr)
08:41cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Read error: Connection reset by peer)
08:43cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)
08:45vlt has joined IRC (vlt!~nobody@lvps87-230-93-209.dedicated.hosteurope.de)
08:53xiphias256 has left IRC (xiphias256!~finn@cm-84.208.202.70.getinternet.no, Ping timeout: 264 seconds)
08:53mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Ping timeout: 266 seconds)
08:53work_alkisg has left IRC (work_alkisg!~alkisg@plinet.ioa.sch.gr, Remote host closed the connection)
08:53mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
08:55xiphias256 has joined IRC (xiphias256!~finn@cm-84.208.202.70.getinternet.no)
09:00
<vlt>
Hello. I found a weird LTSP/screen/vim related problem (using Ubuntu 12.04): A user logs in on client A, starts a "screen" session, then logs in on B, attaches to the screen session and everything runs fine. But as soon as client A shuts down it takes ages to start vim in that screen session.
09:00
http://paste.ubuntu.com/7968533/
09:01
This is an strace of vim. The IP address 192.168.1.80 that appears from line 1573 was client A.
09:01
Any idea what's going on here?
09:56bobby_C has left IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at, Quit: Goin' down hard)
10:12NeonLicht has joined IRC (NeonLicht!~NeonLicht@darwin.ugr.es)
11:14
<Hyperbyte>
vlt, thin clients?
11:27khildin has joined IRC (khildin!~khildin@ip-213-49-85-242.dsl.scarlet.be)
12:15forum has joined IRC (forum!8f32cb56@gateway/web/freenode/ip.143.50.203.86)
12:16forum has left IRC (forum!8f32cb56@gateway/web/freenode/ip.143.50.203.86)
12:22
<vlt>
Hyperbyte: Erm … yes.
12:23
It's a default LTSP setup with PXE booting thin clients.
12:42mealstrom has joined IRC (mealstrom!~Thunderbi@46.63.71.254)
12:45Grembler has joined IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net)
13:02workingcats has left IRC (workingcats!~workingca@212.122.48.77, Quit: Leaving)
13:14championofcyrod1 has joined IRC (championofcyrod1!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
13:21muppis_ is now known as muppis
13:33Grembler has left IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net, Quit: I Leave)
13:57
<championofcyrod1>
What is the best way to move/copy an LTSP image from one LTSP server to another?
13:57
I'm thinking about just copying the /opt/ltsp/amd64 folder, but I feel like the last time I tried to do something like that the image wouldn't log in.
13:58
just kept refreshing resolver state... and flashing the login screen back up.
14:08
lol @ apt-get install -y pidgin ...
14:08
After this operation, 167 MB of additional disk space will be used.
14:08
Do you want to continue?
14:08
orly?! 167 MB...
14:08dsugar100 has joined IRC (dsugar100!~dsugar@columbia.tresys.com)
14:08
<championofcyrod1>
that's like the size of Windows 3.11
14:09cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Remote host closed the connection)
14:09workingcats has joined IRC (workingcats!~workingca@212.122.48.77)
14:11cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)
14:14alexxtasi has left IRC (alexxtasi!~alex@unaffiliated/alexxtasi)
14:32
<bennabiy>
vagrantc: did you update packaging on ldm?
14:33
championofcyrod1: that would be something... windows 3.11 as a terminal option
14:42test__ has joined IRC (test__!41308ed8@gateway/web/freenode/ip.65.48.142.216)
14:44test__ has left IRC (test__!41308ed8@gateway/web/freenode/ip.65.48.142.216, Client Quit)
14:54
<championofcyrod1>
bennabiy: any idea how I should go about copying my LTSP fat client image from one server to another?
14:54
<bennabiy>
rsync?
14:54
<championofcyrod1>
should i just be able to copy the /opt/ltsp/amd64 folder?
14:54
<bennabiy>
same network ?
14:55
How did you make your client image?
14:55
with --fat-client ?
14:55
<championofcyrod1>
heh, i meant as far as LTSP was concerned... I used the ltsp-build-image with --fat-client...
14:55
however I've made changes to the chroot, chrome, opt folder addons, sssd, etc...
14:55
instead of creating a brand new image and going through and re-customizing a bunch of stuff...
14:55
<bennabiy>
I would just use rsync, or tar and nc
14:56
<championofcyrod1>
I'd like to just move the /opt/ltsp/amd64 folder over...
14:56
but arent there some kind of checksums floating around for that image?
14:56
<bennabiy>
Or if you have the space, tar it to a server, and then redistribute it from there to all the rest of the servers
14:56
Since things like IP are not hard coded into it, you can move it
14:57
<championofcyrod1>
for example, how does the client know the server's image has changed when i update?
14:58
<bennabiy>
There is more to do than just put the image in place, but as far as moving the actual files, you can just copy the same chroot to as many locations as you want. You just need to make sure to config tftp and nbd to make proper use of the files provided
14:58
if you wanted, you could just distribute the .img file to the servers
14:59
do all your customizations in one chroot, and then just copy the .img
14:59
ltsp-pnp method does not even use a chroot, per-se
14:59alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
14:59
<bennabiy>
alkisg will let us know
14:59
;)
14:59
<championofcyrod1>
hmmm yea... but the old server is going to get re-purposed, so i'll want to be able to rebuild the img file at some point
14:59
<alkisg>
Hi guys
14:59
<championofcyrod1>
like if i need to make changes in the future
15:00
<Hyperbyte>
Hey Alkis!
15:04
<alkisg>
rsync -aHAX --numeric-ids
15:04
<championofcyrod1>
thanks alkisg... and i should be able to chroot /opt/ltsp/<folder> and make changes, the update the image again in the future?
15:05
(on the new server)
15:06
<alkisg>
championofcyrod1: if you want to keep propagading updates, you should find some easier way
15:06
If you run `chroot apt-get install some-app` on server1, you can just do that on server2 as well
15:08
<championofcyrod1>
and if i rsync the folder from server1 to server 2, and server1 dies, i'll still be able to modify and update the images on server2? (even though it was originally built on server1?)
15:08
<alkisg>
Sure, it's a copy
15:19
<bennabiy>
alkisg: you can add to the rsync command W to be able to copy the whole file, if it is the first time you are copying it to the server
15:19
err , -aWHAX
15:21
<championofcyrod1>
so i basically did:
15:21
sudo rsync -aHAX -e "ssh -p 2222" --numeric-ids /opt/ltsp/amd64 <user>@<destination-host>:~/
15:22
once it's done, i'll cp/mv it into the /opt/ltsp/ folder (replacing the amd64 one that is already there)
15:23
and try $ ltsp-update-image
15:23
do I need to do 'ltsp-update-kernel' ? since this host has a different kernel version?
15:24
<alkisg>
bennabiy: you think that when the destination is empty, they still use the delta algorithm?
15:24
championofcyrod1: you need ltsp-update-sshkeys and ltsp-update-image
15:24
<bennabiy>
alkisg, it does try
15:25
<championofcyrod1>
ltsp-update-sshkeys <-- And thats what I didn't do last time i tried this... which probably got me in trouble.
15:29mealstrom has left IRC (mealstrom!~Thunderbi@46.63.71.254, Remote host closed the connection)
15:29mealstrom has joined IRC (mealstrom!~Thunderbi@46.63.71.254)
15:33Cyrius1234 has joined IRC (Cyrius1234!4622ab6a@gateway/web/freenode/ip.70.34.171.106)
15:35
<Cyrius1234>
Hi there. Where were your premade scripts located at again?
15:41mealstrom has left IRC (mealstrom!~Thunderbi@46.63.71.254, Ping timeout: 250 seconds)
15:46
<championofcyrod1>
alright... doing ltsp-update-image and going to test it out... bbl
15:51championofcyrod1 has left IRC (championofcyrod1!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
16:03championofcyrodi has joined IRC (championofcyrodi!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
16:04
<championofcyrodi>
well.. the image boots and I'm at the login screen... same problem as last time though... can't login
16:04
maybe i can use tty1 and log in as the image's root account
16:06
hmmm no luck.
16:06
<Cyrius1234>
did you use the creds you used on server side?
16:07
<championofcyrodi>
Your asking if I used the same credentials to log in to the Fat Client as I would to log in to the actual LTSP server?
16:07
If so, then yes.
16:18mealstrom has joined IRC (mealstrom!~Thunderbi@46.63.63.163)
16:20
<championofcyrodi>
looks like the authentication works...
16:20
but it just bounces be back to the login screen once the mouse switches to a spinner and i think the desktop is going to load
16:20
(just tried update sshkeys, image and bounced the fat client... still same)
16:23
oh, i think i got it.
16:24
interesting... the home folder is empty
16:24
which is why i'm getting logged back out... because the /home/<user> does not exist. (figured it out w/ tty1)
16:24
but on the ltsp server it's definitely there...
16:25
weird... it's like i'm able to log in to the image, but the sshfs isnt working.
16:26
and i can ssh into the server w/ the same account and see my home folder just fine
16:32
<alkisg>
Try with LTSP_FATCLIENT=False and LOCALAPPS=False
16:33
That way sshfs (local home) will be disabled
16:35
<championofcyrodi>
When you say 'Try with' you mean add those parameters to lts.conf?
16:37
<alkisg>
championofcyrodi: yes
16:37
and reboot the client...
16:37
<championofcyrodi>
ok
16:46
<Cyrius1234>
to pass the local printers thru xfreerdp do I need to set this up in the chroot?
16:47
errr rather should I make this a fatclient or shouldnt matter
16:50
<alkisg>
Cyrius1234: you're asking too many theoretical questions; just run ltsp-build-client, start a client with SCREEN_07=xterm, and run manually xfreerdp from there, to see which command line parameters work
16:50
You can also run `apt-get install package` from there to dynamically see which packages you want
16:51
So in half an hour all your questions will be answered... :)
16:51
<Cyrius1234>
lol
16:51
<alkisg>
xfreerdp-specific questions are more relevant to the xfreerdp support channels, than to #ltsp though...
16:52
<Cyrius1234>
worried more about how the client handles the printer itself
16:52
<alkisg>
It'd be faster to run xfreerdp than to ask here
16:52
Really
16:52
:)
16:56
<Cyrius1234>
Do I need to do anything special to have USB printer support
16:57
also, why can I not run firefox on the thinclient and the server at the same time?
16:58
<championofcyrodi>
firefox has a pid lock file in /var/run based on username
16:58
*i think*
17:00
<Cyrius1234>
So I need to assign a static IP then use jetpipe?
17:00
<championofcyrodi>
i dont know what jetpipe is
17:01
i would say just google 'running multiple firefox instances' but its likely they can conflict sharing the same cache space
17:44Faith has joined IRC (Faith!~paty@unaffiliated/faith)
17:49FrankBlues has joined IRC (FrankBlues!~alangshal@c-174-52-163-152.hsd1.ut.comcast.net)
17:50
<vlt>
Hello. I found a weird LTSP/screen/vim related problem (using Ubuntu 12.04): A user logs in on thin client A, starts a "screen" session, then logs in on B, attaches to the screen session and everything runs fine. But as soon as client A shuts down it takes ages to start vim in that screen session.
17:51
http://paste.ubuntu.com/7968533/
17:51
This is an strace of vim. The IP address 192.168.1.80 that appears from line 1573 was thin client A.
17:53championofcyrodi has left IRC (championofcyrodi!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
17:53
<alkisg>
vlt: vim problems are not related to ltsp, so first try to reproduce it without ltsp, then report it to the vim developers
17:53
*to the screen developers
17:54
E.g. it might happen when screen is ran via ssh and the connection is not closed properly
17:54
Or it might happen because of failed reverse dns requests
17:55
<vlt>
alkisg: Ok, that's something to begin with. Thank you :-)
18:10FrankBlues has left IRC (FrankBlues!~alangshal@c-174-52-163-152.hsd1.ut.comcast.net, Remote host closed the connection)
18:11FrankBlues has joined IRC (FrankBlues!~alex@c-174-52-163-152.hsd1.ut.comcast.net)
18:25championofcyrodi has joined IRC (championofcyrodi!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
18:27
<Cyrius1234>
can I just steal the printer setup for a printer and throw it in the chroot?
18:34
<championofcyrodi>
i feel so frustrated by this... Now I can't even log in w/ tty1
18:35
i can SSH to the server from my normal desktop and authenticate with my user, but the fat client displays no error... just reboots the login screen...
18:35
<alkisg>
!screen_02
18:35
<ltsp>
screen_02: To get a root shell on an Ubuntu thin client: https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting#Using_a_shell_SCREEN
18:35
<alkisg>
championofcyrodi: do this ^
18:36
<championofcyrodi>
ill try that now
18:37
whats weird is that it worked... and I was all like, "cool... just need to install pidgin, chrome and opennx, the rebuild the image." all that went well.. and then i just couldnt log in once it came back up
18:38
<alkisg>
opennx? why not x2go?
18:41
<championofcyrodi>
because the users I have have been using opennx, so it was more comfortable for them... also i think i had issues getting x2go to connect proper
18:42
okay so it looks like the /home folder is no longer mounted via SSHFS, and the sss daemon wasnt started.
18:58
sssd was failing because the conf file for it wasnt permissions 600... how that changed? i don't know... once logged in i was able to use sshfs on the command line for my home folder @ 'server' with my credentials, and mounted it to /home/<user>.
18:58
just had to mkdir /home/<user> first
18:59
now i'm just getting 'no response from server'...
19:05alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Remote host closed the connection)
19:07
<championofcyrodi>
from /var/log/ldm.log
19:07
ssh [INFO]: calling rc.d pressh scripts.
19:07
ssh [CRITICAL]: no response, restarting
19:19vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
19:20
<vagrantc>
!nbd
19:20
<ltsp>
I do not know about 'nbd', but I do know about these similar topics: 'disable-nbd-proxy', 'nbd-proxy', 'nbd-compression', 'quick-nbd-tests', 'nbd-client', 'nbd-server-bug', 'nbd-trusty-bug'
19:20
<vagrantc>
!nbd-server-bug
19:20
<ltsp>
nbd-server-bug: nbd-server hanging bug: https://github.com/yoe/nbd/commit/741495cb08503fd32a9d22648e63b64390c601f4, solved in version 3.4-1
19:20
<vagrantc>
!nbd-trusty-bug
19:20
<ltsp>
nbd-trusty-bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330671
19:22
<vagrantc>
hrm.
19:22
seem to be affected by LP#1330671, but using a kernel that's more recent than the version claimed to have fixed the issue
19:23
at least, the symptoms are similar, if not identical ...
19:27
<championofcyrodi>
where would i find the 'pressh' scripts, and the corresponding variables on the client? server has the right IP, and i can sshfs mount manually...
19:28
only thing I can think of is that the SSH_OVERRIDE_PORT=2222 isnt being picked up properly... but that doesnt make sense because the debugging step of enabling a shell on tty2 is working...
19:35zamba has left IRC (zamba!marius@flage.org, Ping timeout: 256 seconds)
19:46DraZoro has joined IRC (DraZoro!~maboe@41.48.223.242)
19:49uXus has left IRC (uXus!~uXus@217.77.222.72, Ping timeout: 272 seconds)
19:49
<DraZoro>
I have configured a fat-client boot environment. I am trying to mount a nfs share I created, with no luck so far.
19:50
I am not sure which file to use ... I used the /etc/fstab from the chroot and update the image with no luck as well.
19:55
<championofcyrodi>
I had to apt-get install nfs-common
19:55
then use 'sudo mount.nfs'
19:56
but to mount on boot... not sure
20:02
<DraZoro>
I was just checking the guide again .... I came across the options FSTAB0="server://..."
20:02uXus has joined IRC (uXus!~uXus@217.77.222.72)
20:02
<DraZoro>
I notice /etc/fstab is created dynamically when the fat-client boot
20:03
<vagrantc>
eesh. got burned by RM_SYSTEM_SERVICES not including isc-dhcp-server and tftpd-hpa ... ltsp-pnp defaulting to dnsmasq really is tricky.
20:04
<DraZoro>
I am interested to mount on boot ...
20:06championofcyrod1 has joined IRC (championofcyrod1!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
20:07championofcyrodi has left IRC (championofcyrodi!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
20:08
<DraZoro>
Do I need to restart the server as well every time I modify the "lts.conf" file.
20:09
<championofcyrod1>
no
20:09
<DraZoro>
championofcyrod1: Thanks
20:09
<championofcyrod1>
just the fat client (/var/lib/tftpboot/ltsp/$ARCH/lts.conf
20:09
<DraZoro>
Yes that is the one I am modifying
20:10
<championofcyrod1>
yea, tftpd apparently just reads from it when client requests...
20:10
like index.html on httpd
20:11
<DraZoro>
I am wondering if this option "FSTAB_0..FSTAB_9" is till effective. Because within the fat-client's fstab I only see the generated lines
20:12
<championofcyrod1>
so i blew away my container, tried again... and now it just works...
20:12
finally
20:13
<DraZoro>
championofcyrod1: Good for you
20:13
I guess I am reading the guide wrong or something let me give a try again.
20:13
<championofcyrod1>
i don't know what got jacked up... apparently it was something.
20:18
<vagrantc>
hrm. my nbd problems on trusty were actually due to a rouge dhcp server running on the thin client itself! heh.
20:21
<DraZoro>
vagrantc: I will keep an eye on that as well.
20:22CT_ has joined IRC (CT_!2930dff2@gateway/web/freenode/ip.41.48.223.242)
20:24championofcyrod1 has left IRC (championofcyrod1!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
20:26zamba has joined IRC (zamba!marius@flage.org)
20:27mealstrom has left IRC (mealstrom!~Thunderbi@46.63.63.163, Ping timeout: 264 seconds)
20:27championofcyrod1 has joined IRC (championofcyrod1!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
20:29
<Cyrius1234>
How does one create a local usb printer on the thinclient
20:30
<championofcyrod1>
you add it to the server
20:30championofcyrod1 has left IRC (championofcyrod1!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
20:30
<Cyrius1234>
now if I have to deploy 120 of these?
20:32
can I steal the install from a physical system and throw it in the chroot?
20:37DraZoro has left IRC (DraZoro!~maboe@41.48.223.242)
20:46khildin has left IRC (khildin!~khildin@ip-213-49-85-242.dsl.scarlet.be, Quit: I'm gone, bye bye)
20:50
<||cw>
Cyrius1234: IIRC there's way to automatically do that via cups
20:50
or maybe LP? have you checked the list of guides on the launchpad wiki?
20:52
<Cyrius1234>
I was thinking I could just copy /dev/lp0 into /opt/ltsp/amd64/dev/lp0?
20:53
The printers I am using will be identical for all of the systems
20:53mealstrom has joined IRC (mealstrom!~Thunderbi@46.63.63.163)
21:01Cyrius1234 has left IRC (Cyrius1234!4622ab6a@gateway/web/freenode/ip.70.34.171.106, Quit: Page closed)
21:06Faith has left IRC (Faith!~paty@unaffiliated/faith, Quit: Saindo)
21:08vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
21:10andygraybeal has joined IRC (andygraybeal!~andy@h195.231.22.98.dynamic.ip.windstream.net)
21:16telex has left IRC (telex!~telex@freeshell.de, Remote host closed the connection)
21:18telex has joined IRC (telex!~telex@freeshell.de)
21:27vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
21:39dsugar100 has left IRC (dsugar100!~dsugar@columbia.tresys.com, Quit: dsugar100)
22:17zamba has left IRC (zamba!marius@flage.org, Ping timeout: 245 seconds)
22:20zamba has joined IRC (zamba!marius@flage.org)
22:21zamba has joined IRC (zamba!marius@flage.org)