huh. systemd apparently only starts gettys on otherwise un-used ttys 1-6 ...
our screen scripts appear to be enough to block them from starting.
that pretty much works perfectly for ltsp...
too bad it kills kittens to use systemd...
|00:40||* vagrantc sighs|
|00:45||vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)|
|01:22||khildin has left IRC (firstname.lastname@example.org, Quit: I'm gone, bye bye)|
|02:47||cryptrat has left IRC (cryptrat!411abcf6@gateway/web/freenode/ip.184.108.40.206, Ping timeout: 246 seconds)|
|03:32||vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)|
|05:20||telex has left IRC (email@example.com, Remote host closed the connection)|
|05:22||telex has joined IRC (firstname.lastname@example.org)|
|06:37||alexxtasi has left IRC (alexxtasi!~alex@unaffiliated/alexxtasi)|
|06:59||alexxtasi has joined IRC (alexxtasi!~alex@unaffiliated/alexxtasi)|
|07:15||bobby_C has joined IRC (bobby_Cemail@example.com)|
|07:23||vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)|
|08:00||bennabiy has left IRC (bennabiy!~bennabiy@unaffiliated/bennabiy, Read error: Connection reset by peer)|
|08:01||bennabiy has joined IRC (bennabiy!~bennabiy@unaffiliated/bennabiy)|
|08:03||NeonLicht has left IRC (NeonLicht!~NeonLicht@darwin.ugr.es, Ping timeout: 264 seconds)|
|08:06||mealstrom1 has left IRC (mealstrom1!~Thunderbi@220.127.116.11, Quit: mealstrom1)|
|08:11||work_alkisg has joined IRC (firstname.lastname@example.org)|
|08:41||cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Read error: Connection reset by peer)|
|08:43||cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)|
|08:45||vlt has joined IRC (email@example.com)|
|08:53||xiphias256 has left IRC (firstname.lastname@example.org, Ping timeout: 264 seconds)|
|08:53||mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Ping timeout: 266 seconds)|
|08:53||work_alkisg has left IRC (email@example.com, Remote host closed the connection)|
|08:53||mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)|
|08:55||xiphias256 has joined IRC (firstname.lastname@example.org)|
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.
This is an strace of vim. The IP address 192.168.1.80 that appears from line 1573 was client A.
Any idea what's going on here?
|09:56||bobby_C has left IRC (bobby_Cemail@example.com, Quit: Goin' down hard)|
|10:12||NeonLicht has joined IRC (NeonLicht!~NeonLicht@darwin.ugr.es)|
vlt, thin clients?
|11:27||khildin has joined IRC (firstname.lastname@example.org)|
|12:15||forum has joined IRC (forum!8f32cb56@gateway/web/freenode/ip.18.104.22.168)|
|12:16||forum has left IRC (forum!8f32cb56@gateway/web/freenode/ip.22.214.171.124)|
Hyperbyte: Erm … yes.
It's a default LTSP setup with PXE booting thin clients.
|12:42||mealstrom has joined IRC (mealstrom!~Thunderbi@126.96.36.199)|
|12:45||Grembler has joined IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net)|
|13:02||workingcats has left IRC (email@example.com, Quit: Leaving)|
|13:14||championofcyrod1 has joined IRC (firstname.lastname@example.org)|
|13:21||muppis_ is now known as muppis|
|13:33||Grembler has left IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net, Quit: I Leave)|
What is the best way to move/copy an LTSP image from one LTSP server to another?
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.
just kept refreshing resolver state... and flashing the login screen back up.
lol @ apt-get install -y pidgin ...
After this operation, 167 MB of additional disk space will be used.
Do you want to continue?
orly?! 167 MB...
|14:08||dsugar100 has joined IRC (email@example.com)|
that's like the size of Windows 3.11
|14:09||cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Remote host closed the connection)|
|14:09||workingcats has joined IRC (firstname.lastname@example.org)|
|14:11||cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)|
|14:14||alexxtasi has left IRC (alexxtasi!~alex@unaffiliated/alexxtasi)|
vagrantc: did you update packaging on ldm?
championofcyrod1: that would be something... windows 3.11 as a terminal option
|14:42||test__ has joined IRC (test__!41308ed8@gateway/web/freenode/ip.188.8.131.52)|
|14:44||test__ has left IRC (test__!41308ed8@gateway/web/freenode/ip.184.108.40.206, Client Quit)|
bennabiy: any idea how I should go about copying my LTSP fat client image from one server to another?
should i just be able to copy the /opt/ltsp/amd64 folder?
same network ?
How did you make your client image?
with --fat-client ?
heh, i meant as far as LTSP was concerned... I used the ltsp-build-image with --fat-client...
however I've made changes to the chroot, chrome, opt folder addons, sssd, etc...
instead of creating a brand new image and going through and re-customizing a bunch of stuff...
I would just use rsync, or tar and nc
I'd like to just move the /opt/ltsp/amd64 folder over...
but arent there some kind of checksums floating around for that image?
Or if you have the space, tar it to a server, and then redistribute it from there to all the rest of the servers
Since things like IP are not hard coded into it, you can move it
for example, how does the client know the server's image has changed when i update?
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
if you wanted, you could just distribute the .img file to the servers
do all your customizations in one chroot, and then just copy the .img
ltsp-pnp method does not even use a chroot, per-se
|14:59||alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)|
alkisg will let us know
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
like if i need to make changes in the future
rsync -aHAX --numeric-ids
thanks alkisg... and i should be able to chroot /opt/ltsp/<folder> and make changes, the update the image again in the future?
(on the new server)
championofcyrod1: if you want to keep propagading updates, you should find some easier way
If you run `chroot apt-get install some-app` on server1, you can just do that on server2 as well
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?)
Sure, it's a copy
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
err , -aWHAX
so i basically did:
sudo rsync -aHAX -e "ssh -p 2222" --numeric-ids /opt/ltsp/amd64 <user>@<destination-host>:~/
once it's done, i'll cp/mv it into the /opt/ltsp/ folder (replacing the amd64 one that is already there)
and try $ ltsp-update-image
do I need to do 'ltsp-update-kernel' ? since this host has a different kernel version?
bennabiy: you think that when the destination is empty, they still use the delta algorithm?
championofcyrod1: you need ltsp-update-sshkeys and ltsp-update-image
alkisg, it does try
ltsp-update-sshkeys <-- And thats what I didn't do last time i tried this... which probably got me in trouble.
|15:29||mealstrom has left IRC (mealstrom!~Thunderbi@220.127.116.11, Remote host closed the connection)|
|15:29||mealstrom has joined IRC (mealstrom!~Thunderbi@18.104.22.168)|
|15:33||Cyrius1234 has joined IRC (Cyrius1234!4622ab6a@gateway/web/freenode/ip.22.214.171.124)|
Hi there. Where were your premade scripts located at again?
|15:41||mealstrom has left IRC (mealstrom!~Thunderbi@126.96.36.199, Ping timeout: 250 seconds)|
alright... doing ltsp-update-image and going to test it out... bbl
|15:51||championofcyrod1 has left IRC (email@example.com)|
|16:03||championofcyrodi has joined IRC (firstname.lastname@example.org)|
well.. the image boots and I'm at the login screen... same problem as last time though... can't login
maybe i can use tty1 and log in as the image's root account
hmmm no luck.
did you use the creds you used on server side?
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?
If so, then yes.
|16:18||mealstrom has joined IRC (mealstrom!~Thunderbi@188.8.131.52)|
looks like the authentication works...
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
(just tried update sshkeys, image and bounced the fat client... still same)
oh, i think i got it.
interesting... the home folder is empty
which is why i'm getting logged back out... because the /home/<user> does not exist. (figured it out w/ tty1)
but on the ltsp server it's definitely there...
weird... it's like i'm able to log in to the image, but the sshfs isnt working.
and i can ssh into the server w/ the same account and see my home folder just fine
Try with LTSP_FATCLIENT=False and LOCALAPPS=False
That way sshfs (local home) will be disabled
When you say 'Try with' you mean add those parameters to lts.conf?
and reboot the client...
to pass the local printers thru xfreerdp do I need to set this up in the chroot?
errr rather should I make this a fatclient or shouldnt matter
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
You can also run `apt-get install package` from there to dynamically see which packages you want
So in half an hour all your questions will be answered... :)
xfreerdp-specific questions are more relevant to the xfreerdp support channels, than to #ltsp though...
worried more about how the client handles the printer itself
It'd be faster to run xfreerdp than to ask here
Do I need to do anything special to have USB printer support
also, why can I not run firefox on the thinclient and the server at the same time?
firefox has a pid lock file in /var/run based on username
So I need to assign a static IP then use jetpipe?
i dont know what jetpipe is
i would say just google 'running multiple firefox instances' but its likely they can conflict sharing the same cache space
|17:44||Faith has joined IRC (Faith!~paty@unaffiliated/faith)|
|17:49||FrankBlues has joined IRC (FrankBluesemail@example.com)|
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.
This is an strace of vim. The IP address 192.168.1.80 that appears from line 1573 was thin client A.
|17:53||championofcyrodi has left IRC (firstname.lastname@example.org)|
vlt: vim problems are not related to ltsp, so first try to reproduce it without ltsp, then report it to the vim developers
*to the screen developers
E.g. it might happen when screen is ran via ssh and the connection is not closed properly
Or it might happen because of failed reverse dns requests
alkisg: Ok, that's something to begin with. Thank you :-)
|18:10||FrankBlues has left IRC (FrankBluesemail@example.com, Remote host closed the connection)|
|18:11||FrankBlues has joined IRC (FrankBluesfirstname.lastname@example.org)|
|18:25||championofcyrodi has joined IRC (email@example.com)|
can I just steal the printer setup for a printer and throw it in the chroot?
i feel so frustrated by this... Now I can't even log in w/ tty1
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...
screen_02: To get a root shell on an Ubuntu thin client: https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting#Using_a_shell_SCREEN
championofcyrodi: do this ^
ill try that now
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
opennx? why not x2go?
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
okay so it looks like the /home folder is no longer mounted via SSHFS, and the sss daemon wasnt started.
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>.
just had to mkdir /home/<user> first
now i'm just getting 'no response from server'...
|19:05||alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Remote host closed the connection)|
ssh [INFO]: calling rc.d pressh scripts.
ssh [CRITICAL]: no response, restarting
|19:19||vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)|
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'
nbd-server-bug: nbd-server hanging bug: https://github.com/yoe/nbd/commit/741495cb08503fd32a9d22648e63b64390c601f4, solved in version 3.4-1
seem to be affected by LP#1330671, but using a kernel that's more recent than the version claimed to have fixed the issue
at least, the symptoms are similar, if not identical ...
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...
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:35||zamba has left IRC (firstname.lastname@example.org, Ping timeout: 256 seconds)|
|19:46||DraZoro has joined IRC (DraZoroemail@example.com)|
|19:49||uXus has left IRC (uXus!~uXus@184.108.40.206, Ping timeout: 272 seconds)|
I have configured a fat-client boot environment. I am trying to mount a nfs share I created, with no luck so far.
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.
I had to apt-get install nfs-common
then use 'sudo mount.nfs'
but to mount on boot... not sure
I was just checking the guide again .... I came across the options FSTAB0="server://..."
|20:02||uXus has joined IRC (uXus!~uXus@220.127.116.11)|
I notice /etc/fstab is created dynamically when the fat-client boot
eesh. got burned by RM_SYSTEM_SERVICES not including isc-dhcp-server and tftpd-hpa ... ltsp-pnp defaulting to dnsmasq really is tricky.
I am interested to mount on boot ...
|20:06||championofcyrod1 has joined IRC (firstname.lastname@example.org)|
|20:07||championofcyrodi has left IRC (email@example.com)|
Do I need to restart the server as well every time I modify the "lts.conf" file.
just the fat client (/var/lib/tftpboot/ltsp/$ARCH/lts.conf
Yes that is the one I am modifying
yea, tftpd apparently just reads from it when client requests...
like index.html on httpd
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
so i blew away my container, tried again... and now it just works...
championofcyrod1: Good for you
I guess I am reading the guide wrong or something let me give a try again.
i don't know what got jacked up... apparently it was something.
hrm. my nbd problems on trusty were actually due to a rouge dhcp server running on the thin client itself! heh.
vagrantc: I will keep an eye on that as well.
|20:22||CT_ has joined IRC (CT_!2930dff2@gateway/web/freenode/ip.18.104.22.168)|
|20:24||championofcyrod1 has left IRC (firstname.lastname@example.org)|
|20:26||zamba has joined IRC (email@example.com)|
|20:27||mealstrom has left IRC (mealstrom!~Thunderbi@22.214.171.124, Ping timeout: 264 seconds)|
|20:27||championofcyrod1 has joined IRC (firstname.lastname@example.org)|
How does one create a local usb printer on the thinclient
you add it to the server
|20:30||championofcyrod1 has left IRC (email@example.com)|
now if I have to deploy 120 of these?
can I steal the install from a physical system and throw it in the chroot?
|20:37||DraZoro has left IRC (DraZorofirstname.lastname@example.org)|
|20:46||khildin has left IRC (email@example.com, Quit: I'm gone, bye bye)|
Cyrius1234: IIRC there's way to automatically do that via cups
or maybe LP? have you checked the list of guides on the launchpad wiki?
I was thinking I could just copy /dev/lp0 into /opt/ltsp/amd64/dev/lp0?
The printers I am using will be identical for all of the systems
|20:53||mealstrom has joined IRC (mealstrom!~Thunderbi@126.96.36.199)|
|21:01||Cyrius1234 has left IRC (Cyrius1234!4622ab6a@gateway/web/freenode/ip.188.8.131.52, Quit: Page closed)|
|21:06||Faith has left IRC (Faith!~paty@unaffiliated/faith, Quit: Saindo)|
|21:08||vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)|
|21:10||andygraybeal has joined IRC (firstname.lastname@example.org)|
|21:16||telex has left IRC (email@example.com, Remote host closed the connection)|
|21:18||telex has joined IRC (firstname.lastname@example.org)|
|21:27||vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)|
|21:39||dsugar100 has left IRC (email@example.com, Quit: dsugar100)|
|22:17||zamba has left IRC (firstname.lastname@example.org, Ping timeout: 245 seconds)|
|22:20||zamba has joined IRC (email@example.com)|
|22:21||zamba has joined IRC (firstname.lastname@example.org)|