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


Channel log from 5 February 2011   (all times are UTC)

00:02alkisg has joined #ltsp
00:08
<root__>
hi... Login Incorrect help???
00:10vagrantc has joined #ltsp
00:17
<alkisg>
root__: distro/version?
00:19
<root__>
ubuntu 10.04
00:20
<alkisg>
Try: sudo ltsp-update-sshkeys && sudo ltsp-update-image
00:20
<root__>
ok..
00:21
is it necessary to connect to internet for this...
00:22
<alkisg>
No
00:24
<root__>
alkisg:: why .. this problem occurs..
00:25
<alkisg>
*If* it's solved after those commands, then the problem is that you changed the server IP
00:25
<root__>
cause i have installed this filesystem fresh..
00:25
<alkisg>
So you needed to update the ssh keys for the chroot
00:26
<root__>
ok.. any need to restart DHCP server,..
00:28
<alkisg>
No
00:29
<root__>
i did this.. but noiw have problem.. unable to start X-server
00:31
<alkisg>
This means that your chroot was modified since the last time that you run ltsp-update-image... is this really a fresh installation?
00:31
What's the actual error message that you see?
00:31
<root__>
yes..
00:32
xserver failed. press enter to continue
00:33
<alkisg>
Can you put your lts.conf to pastebin?
00:33
!pastebin
00:33
<ltspbot>
alkisg: "pastebin" :: the LTSP pastebin is at http://ltsp.pastebin.com. Please paste all text longer than a line or two to the pastebin, as it helps to reduce traffic in the channel. Don't forget to paste the URL of the text here.
00:34
<alkisg>
Both your /var/lib/tftpboot/ltsp/i386/lts.conf and your /opt/ltsp/i386/etc/lts.conf
00:34Kicer86 has joined #ltsp
00:39
<root__>
there is no lts.conf in /var/lib/tftpboot/ltsp
00:40
<alkisg>
OK, the other one then
00:40
<root__>
ok..
00:41map7_ has joined #ltsp
00:44
<root__>
here is my lts.conf. http://ltsp.pastebin.com/dFhMt8YE
00:45
<alkisg>
Why are you using SCREEN_01=startx?
00:45
And why are you using this file, instead of /var/lib/tftpboot etc?
00:45
And why is this file so old, i.e. 2003?
00:46
Are you using LTSP 5.2 that comes with Ubuntu 10.04? Or you're the one that was using LTSP 4?
00:47
<root__>
actually.. i had tried using LTSP-4.2 .. and i applied same options fot this also..
00:47
<alkisg>
So now you're using LTSP 5.2?
00:47
<root__>
yes..
00:48
can you give mi running lts.conf
00:48
<alkisg>
OK. When you first opened that file there was a big warning that said "Don't use the file, it's no longer used from here"
00:48
<root__>
or how to create it???
00:49
which file???
00:49
<alkisg>
Here is the original /opt/ltsp/i386/etc/lts.conf file: http://pastebin.com/N5jAV22T
00:50
Put it in your chroot, replacing the one you have now, and run `sudo ltsp-update-image` again.
00:50
<root__>
yes i have this ... i have stored as a bachup file..
00:51
you mean replace lts.conf/???
00:51
<alkisg>
Yes
00:51
<root__>
in /opt.... path???
00:51
<alkisg>
Yes
00:51
<root__>
ok...
00:54
i done it but no content appear in file..
00:55
<alkisg>
Right. See the notice that it says?
00:55
# **** THIS FILE SHOULD NO LONGER BE USED FROM HERE !!! ****
00:55
Now try: sudo ltsp-update-image
00:55
and reboot the client
00:56
<root__>
thanks... alkisg it works...
00:57
now i can login into...
00:57
<alkisg>
If you need to put anything in lts.conf, create a new file in /var/lib/tftpboot/ltsp/i386/lts.conf
00:57
<muppis>
4.2 should be erased from internet.
00:57
<root__>
thank you very much..???
00:57
yes.. but i had got its source code.. and i used it...
00:57
<alkisg>
4.2 is fine if one has clients with 16 or 32 mb ram. But only then... :)
01:28root__ has quit IRC
01:31mordocai is now known as mordocai_sleepin
01:31mordocai_sleepin is now known as mordocai_sleep
02:28vagrantc has quit IRC
02:49
<muppis>
alkisg, do you have any experience from bluetooth on client?
02:58Kicer86 has quit IRC
03:10Gremble has joined #ltsp
03:15alkisg has quit IRC
03:23Gremble has quit IRC
03:48komunista has joined #ltsp
04:14Kicer86 has joined #ltsp
04:28markit has joined #ltsp
04:29
<markit>
hi, do I need to rebuild chroot if I modify (create) /etc/ltsp/nbdswapd.conf? and if I modify /var/lib/tftpboot/ltsp/i386/lts.conf?
04:29
(I want to enable swap and assign 512MB)
04:30
<muppis>
I'm not sure about nbdswap.conf, but no need for update after lts.conf modify.
04:31
<markit>
muppis: any idea about how to check if nbdswap is succesfully enabled?
04:32alkisg has joined #ltsp
04:32
<markit>
well, maybe I'd better googling first :)
04:32
<muppis>
markit, alkisg is right guy to say that. Haven't used that.
04:33
<markit>
muppis: in fact I'm applying a pair of his suggestions, lol, but now I've some dubt
04:33
<alkisg>
muppis: no experience with bluetooth
04:33
<markit>
and did not noticed he is online
04:33
<alkisg>
markit: you don't need to run ltsp-update-image
04:33
<markit>
hi alkisg, I'm experimenting with bdsdwap you suggested me 2 days ago
04:34
<alkisg>
!localxterm
04:34
<ltspbot>
alkisg: "localxterm" :: while sitting on a thin client, open a gnome terminal. In that, run: ltsp-localapps xterm. An xterm will open. That xterm runs locally, so any commands you enter there are executed directly on the client.
04:34
<alkisg>
To verify that your swap is working, run "free" in a localxterm
04:34
<markit>
alkisg: so good, thanks a lot
04:35
<muppis>
alkisg, ok. I think I've give up with ltsp in htpc. Need for local hw comes so high so it easier install locally.
04:36
<markit>
alkisg: btw, never tried to add 2 nics torward ltsp clients switch, and use bounding?
04:36
so you can double bandwidth (1+1gbit)
04:36
I know nothing about bounding, wondering if switch needs some special feature to support it
04:36
<muppis>
markit, should work fine if your switch supoorts bonding.
04:37
<markit>
muppis: oh, how can I tell? some iee_something to look at?
04:37
<muppis>
markit, yes.
04:38
<markit>
muppis: ok, I will google later, thanks for the tip
04:39
btw, with 14 clients running libreoffice writer, I had cpu 57%, and lan usage going up and down but up to 709KB/s, so not my issue, just asking
04:39
sorry, cpu 5%
04:39
ram 57%
04:39
swap 0
04:40
only problem are the old hardware with really slow graphic
04:42
wow, swap works :))
04:43
<NeonLicht>
Where did tou put the swap file/partition?
04:43
<markit>
going to school to apply my new script and alkisg modifications
04:43
NeonLicht: ugh... do I have to specify?
04:43
<NeonLicht>
markit: Don't you?
04:43
<markit>
in the host I have /swap in sda
04:44
do I have to specify for bbd too?
04:44
<NeonLicht>
So, do you have a local swap partition?
04:45
<markit>
reading google seems it uses /var/opt/ltsp/swapfiles
04:46
buy can't find in kubuntu 10.10
04:46
<alkisg>
(12:36:46 PM) markit: alkisg: btw, never tried to add 2 nics torward ltsp clients switch, and use bounding? ==> yes, I wrote my experience in https://help.ubuntu.com/community/UbuntuLTSP/Trunking
04:46
4 nics, ==> 4x100 mbps = 400 mbps bandwidth
04:47
<markit>
wow, thanks. Any answer to NeonLicht question about swap location?
04:47
<alkisg>
The ltsp swap files are created in /tmp
04:48
<markit>
alkisg: you really know ltsp inside and out
04:49
<NeonLicht>
So, swap is using swap files on the server, right?
04:49
<alkisg>
NBD_SWAP yes. USE_LOCAL_SWAP, no
04:49
USE_LOCAL_SWAP uses any locally available swap partitions
04:50
<markit>
how can you specify that local partition?
04:50
<alkisg>
Create? or specify?
04:50
<markit>
I've installed PXE on the internal HD
04:50
well, with fdisk I can create a swap partition
04:50
<alkisg>
You don't need to specify it, it's autodetected if it exists
04:50
<NeonLicht>
And so, my question for markit was what type of swap he was using, whether he set up a local swap partition/file or a remote (on server) swap file, or what.
04:51
<markit>
but how can I tell ltsp where it is? (i..e /dev/sda)
04:51
<alkisg>
(12:51:13 PM) alkisg: You don't need to specify it, it's autodetected if it exists
04:51
<markit>
alkisg: hehe, while typing I can't read, sorry :)
04:52
<muppis>
markit, using onscreen keyboard?
04:52
<markit>
so next time I have old clients to setup, I will create a swap partition
04:52
muppis: no, hitting "enter" before look again at the chat window
04:52
muppis: my english is really low level, apologise
04:53
s/can't/don't
04:53
<muppis>
markit, well, it ain't my native as well.
04:53
<alkisg>
markit: https://help.ubuntu.com/community/UbuntuLTSP/GParted
04:53
This might help
04:55
<markit>
alkisg: oh, thanks a lot
04:56
"For clients with only 64MB RAM, you might want to add " mine are all > 256, do you think that adding swap (nbd one) is really needed?
04:57
maybe the problem was due to different reasons (I was unable to reproduce)
04:57Gremble has joined #ltsp
04:57
<alkisg>
The NBD swap file I suggest there is only used during the resize operation
04:57
For 256 RAM it shouldn't be necessary
04:58
<markit>
"resize" operation of what?
04:58
windows maybe?
04:59
<alkisg>
Yes, e.g. if you have 1 NTFS partition and you want to shrink it to make a 512MB swap partition
05:02
<markit>
ok, some misunderstanding but at the end I've got thanks
05:12
<alkisg>
markit: just to clarify, yes, I think that thin clients with 256 MB RAM do need swap space.
05:12
<markit>
ah, I understood the opposite, thanks for the clarification
05:12
btw, shouldn't "LDM_LIMIT_ONE_SESSION=True" be the default?
05:13
if a client crashes, the students logs again but his files are still open in previous session
05:13
a big mess
05:19
mm "who" shows the user 3 times
05:19
pts/1 2 and 3, first two with IP, last with (ltsp128)
05:20
so don't think LDM_LIMIT_ONE_SESSION=True worked as expected
05:21
(if I slay him and re-log, I have only 2 lines as usual as result of "who" command)
05:25
mmm but kwrite is no more present after some time I "disconnected, switched off, reconnected and booted" the client (not logged in yet)
05:25
while "who" tells the user is still there
05:25
I'm confused
05:33alkisg has quit IRC
05:33alkisg has joined #ltsp
06:31NeonLicht has quit IRC
06:41NeonLicht has joined #ltsp
06:46mistik1_ has joined #ltsp
06:50mistik1 has quit IRC
06:50mistik1_ is now known as mistik1
06:53NeonLicht has quit IRC
06:56NeonLicht has joined #ltsp
06:59alkisg has quit IRC
07:45MorningSon has joined #ltsp
07:47alkisg has joined #ltsp
08:06Kicer86 has quit IRC
08:31Kicer86 has joined #ltsp
08:51brendan`- has joined #ltsp
09:08mikkel has joined #ltsp
09:22NeonLicht has quit IRC
09:22brendan`- has quit IRC
09:24brendan`- has joined #ltsp
09:29klausade has joined #ltsp
09:33NeonLicht has joined #ltsp
09:41Gremble has joined #ltsp
09:42brendan`- has quit IRC
09:58RiXtEr has quit IRC
09:58RiXtEr has joined #ltsp
10:10bobby_C has joined #ltsp
13:02mordocai_sleep has quit IRC
13:09mordocai has joined #ltsp
14:17mordocai has quit IRC
14:18mordocai has joined #ltsp
14:48vagrantc has joined #ltsp
15:04Kicer86 has quit IRC
15:18vagrantc has quit IRC
15:25mordocai is now known as mordocai_afk
15:40vagrantc has joined #ltsp
15:57mordocai_afk is now known as mordocai
16:01mordocai has quit IRC
16:17mordocai has joined #ltsp
16:23mordocai has quit IRC
16:36mordocai has joined #ltsp
16:39markit has quit IRC
16:39alkisg has quit IRC
16:46mordocai has quit IRC
16:51mordocai has joined #ltsp
17:18bobby_C has quit IRC
17:23NeonLicht has quit IRC
17:27Kyle__ has joined #ltsp
17:27
<Kyle__>
Hello.
17:28
Anyone have some tricks for getting dpkg-reconfigure to build the right kernel modules when your ltsp-server is running a different kernel than your ltsp clients?
17:30mikkel has quit IRC
17:30NeonLicht has joined #ltsp
17:34mordocai is now known as mordocai_afk
17:55mordocai_afk is now known as mordocai
17:56trey_ has joined #ltsp
17:56trey__ has joined #ltsp
17:56
<trey__>
oh man am I pulling my hair out over an issue anyone in here an ltsp guru?
17:57
i understand WHY I can't see the local drives on the clients but I can I if I WANT to
17:58
I can see CD and USB just fine... can anyone help?
17:59komunista has quit IRC
18:20trey_ has quit IRC
18:20trey__ has quit IRC
18:32mordocai has quit IRC
18:48zz_evil_root is now known as evil_root
18:52otavio has joined #ltsp
18:53grasshopper has joined #ltsp
18:55grasshopper has left #ltsp
18:56grasshopper__ has joined #ltsp
18:59
<grasshopper__>
QUESTION: My LTSP clients fail to login for clients which have their /home folders located elsewhere - for instance, we have some userids that have their hom in /localhome
19:00
We are using LTSP in EduBuntu - I was under the impression that once logged in, the clients were simply making an SSH desktop connection to the thin client server. Why should the location of the home folders make any difference (as long as they exist on the thin client server)?
19:16
<HrdwrBoB>
it does
19:16
but it also mounts /home using ltspfs
19:18
<grasshopper__>
Why does it mount /home if you have not set it to run any local apps?
19:18
By the way - thanks for answering :)
19:19
<stgraber>
because localapps are enabled by default
19:19
edit your lts.conf (/var/lib/tftpboot/ltsp/i386/lts.conf)
19:19
<grasshopper__>
OK - I was not aware of that - I did not set any of the LOCAL_APPS settings in my lts.conf
19:19
<stgraber>
to contain:
19:20
LOCAL_APPS=False
19:20
(in the [default] section or for only a subset of your network, depends on your setup)
19:21
<grasshopper__>
OK - I will give that a try. I have some user accounts on my thin client server that have home folders on /localhome. The user accounts that have home folders in /home work fine on the thin clients, but the users with home folders on /localhome do not...
19:21
<stgraber>
current default is that if LOCAL_APPS is not explicitly set to false, it's considered as true (it's been like that for a while)
19:22
<grasshopper__>
I also noticed that a /localhome folder is created locally on the thin client when I attempt to login with these users... which was puzzling
19:22
<stgraber>
that's weird, I've been quickly looking at the code and I don't see anywhere where we expect $home to be /home/<something> ...
19:23
if everything worked as expected, it should create /localhome/<username> and mount it over sshfs
19:23
if it doesn't we have a bug somewhere
19:26
<grasshopper__>
I did some sniffing around in the ltsp-client-setup scripts in /opt/ltsp/i386/etc/init.d and noticed there is a call to a configure_home script that had some code dealing with setting up /home folders
19:29
I have not figured it out completely yet - I am still learning about how the LTSP system works - the online HOWTOS are helpful, but it would be easier to debug if I actually knew how it worked :)
19:30
<HrdwrBoB>
I am having trouble with clicfs
19:31
I altered the ext3 image
19:31
<grasshopper__>
How do local apps work? If you are running on the thin client server through a SSH desktop connection, do your local apps simply run in a separate window locally? Is that why you need /home mounted on the workstation?
19:31
<HrdwrBoB>
resized it using resize2fs -M, then used mkclicfs
19:31
but I keep getting journal aborted errors
19:31
and the filesystem fails
19:31
and stops working
19:32
<stgraber>
grasshopper__: yes, localapps are installed directly in the chroot and show just like any other window, though it needs your home directory to be mounted to save data
19:37
<grasshopper__>
stgraber__: OK - thanks for the info. Right now the client with home folders in /localhome log in and the desktop flashes for a moment and then the login screen returns. I will disable localapps to simplify matters first, they I will also take another look and see if /localhome/<username> is mounted over sshfs to the thin client server.
20:01vagrantc has quit IRC
20:25vagrantc has joined #ltsp
20:27otavio has quit IRC
20:27evil_root is now known as zz_evil_root
20:45grasshopper__ has quit IRC
21:23Faithful has joined #ltsp
21:51dgroos has joined #ltsp
21:51vagrantc has quit IRC
21:54vagrantc has joined #ltsp
22:04vagrantc has quit IRC
22:37dgroos has quit IRC
22:51Kyle__ has quit IRC
23:54sweetpi has joined #ltsp