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


Channel log from 20 April 2010   (all times are UTC)

00:05alkisg has joined #ltsp
00:06japerry has joined #ltsp
00:53alkisg has quit IRC
01:18mikkel has joined #ltsp
02:06gnunux has joined #ltsp
02:07
<gnunux>
hi
02:50alkisg has joined #ltsp
04:00highvoltage has quit IRC
04:00highvoltage has joined #ltsp
04:06slidesinger has quit IRC
04:35cyberorg has quit IRC
04:40cyberorg has joined #ltsp
04:44litlebuda has quit IRC
05:29ogra_ has joined #ltsp
05:29ogra has quit IRC
05:30ogra_ is now known as ogra
05:30ogra has joined #ltsp
06:02alkisg1 has joined #ltsp
06:04alkisg has quit IRC
06:06jammcq has quit IRC
06:07alkisg1 has quit IRC
06:08hersonls has joined #ltsp
06:20alkisg has joined #ltsp
06:24johnny has left #ltsp
06:25pmatulis has joined #ltsp
06:30otavio has joined #ltsp
06:45scottmaccal has joined #ltsp
06:46
<scottmaccal>
Morning LTSP. Long time... I trust all is well.
06:56highvoltage has quit IRC
06:56klausade has quit IRC
06:56dberkholz has quit IRC
06:56vbundi has quit IRC
06:56sutula has quit IRC
06:56dmarkey has quit IRC
06:56jonkke has quit IRC
06:57try2free has joined #ltsp
06:57ogra has quit IRC
06:58ogra has joined #ltsp
06:59dragonbch has joined #ltsp
06:59
<dragonbch>
hello friends
07:00
yet I have a problem with ltsp-build-client
07:00
:(
07:01brites has joined #ltsp
07:02
<alkisg>
dragonbch: what problem?
07:02brites has joined #ltsp
07:03
<dragonbch>
I'm trying run the line with argument for it donwload the component of a repo in my hd :
07:03
ltsp-build-client --base /opt/ltsp/ --arch i386 --dist lenny --mirror ftp://192.168.74.3/debian
07:03highvoltage has joined #ltsp
07:03klausade has joined #ltsp
07:03dberkholz has joined #ltsp
07:03vbundi has joined #ltsp
07:03sutula has joined #ltsp
07:03dmarkey has joined #ltsp
07:03jonkke has joined #ltsp
07:03
<dragonbch>
but seem not download complete
07:03
for example
07:04
the directorie /opt/ltsp/i386 is clear
07:05
sorry my english not is good
07:05
<alkisg>
I don't think that's a valid mirror line
07:05
<dragonbch>
I speak spanish
07:05
<alkisg>
http://ts.sch.gr/repo stable main
07:05
You need something like that ^^^
07:06
<dragonbch>
the problem is that I am cut by a proxy
07:06
<alkisg>
(unless debian ltsp discovers the components automatically, I'm not sure)
07:06
<dragonbch>
and I not have access
07:06
:s
07:06
<alkisg>
doesn't --http-proxy help there?
07:07
<dragonbch>
no
07:08try2free has left #ltsp
07:09
<dragonbch>
only I have the repository on my hd
07:09
<alkisg>
Then you need to tell debootstrap to find your repository
07:09
That's not ltsp-related
07:10
E.g. you can use apt-file in your sources...
07:11
The --mirror takes effect *after* the initial chroot is generated
07:11
ltsp-build-client calls debootstrap to generate the initial chroot
07:11
So you need to enable debootstrap to find the necessary packages, e.g. with apt-file or some other way
07:13
<dragonbch>
mmm
07:13
thank!
07:13bancodopovo has joined #ltsp
07:14
<bancodopovo>
dah hadouken Ryu
07:14bobby_C has joined #ltsp
07:15bancodopovo has quit IRC
07:17
<dragonbch>
alkisg is obligatori this:
07:17
NOTE: adding default dist and components to security mirror:
07:17
http://security.debian.org/ lenny/updates main
07:17
<alkisg>
You can bypass that with --security-mirror
07:18
<dragonbch>
mmm
07:25
<brites>
Hi, I'm trying boot my ltsp in a thinclient but something's wrong and I can not identify. The boot is made by pxe, the splash is displayed on the screen but the boot gets stuck in <initramfs>.
07:26
it would be problem in NFSD?
07:26
<alkisg>
brites: distro/version?
07:31kusznir has quit IRC
07:32highvoltage has quit IRC
07:32kusznir has joined #ltsp
07:32
<brites>
I generated the image and the root system in Xubuntu 9.10 and am trying to wheel her Slackware. (I copied the tftpboot and / opt / ltsp Xubuntu for Slackware, my inetd.conf and exports are okay)
07:34
<alkisg>
So the server is slackware and the chroot is xubuntu 9.10?
07:34
<brites>
Yes
07:34
<dragonbch>
my mirror no run with "stable"
07:34
W: Failed to fetch ftp://192.168.74.3/debian/dists/stable/main/binary-i386/Packages Unable to fetch file, server said '/debian/dists/stable/main/binary-i386/Packages: No such file or directory '
07:35* alkisg has no clue about slackware
07:37
<brites>
= (...Okay
07:44highvoltage has joined #ltsp
07:48kusznir has quit IRC
07:49Gadi has joined #ltsp
07:50
<Gadi>
alkisg: ping
07:50
<alkisg>
gadi, pong
07:50
<Gadi>
hey - I found the instability in squashfs that stgraber must have seen
07:50
evidently lucid's kernel has issues compressing fragments
07:51
as soon as I use a -noF, I have no more problems
07:51kusznir has joined #ltsp
07:52
<Gadi>
it kills the compression, tho
07:52
171MB goes to 295MB
07:52
<alkisg>
Isn't that what stgraber put in ltsp-update-image.conf?
07:52
NO_COMP="-noF -noD -noI -no-exports"
07:52* Gadi wonders why the liveCD team hasn't seen this
07:53
<Gadi>
alkisg: yeah, well he turns off everything
07:53
but, I have found problems only with fragments
07:53
<alkisg>
...but the live cd works fine, though, so?!
07:53
Ah got it
07:53
<Gadi>
with everything turned off, you go to well over 500MB
07:53
I don't know that the liveCD does work fine
07:54
you only see it when you hit a file that is on a fragment
07:54
the liveCD may have gotten lucky?
07:54
:)
07:54
<alkisg>
I've installed lucid a dozen times and I heard many people installing lucid with no (file related) problems so far... How often would that happen?
07:54
Maybe the block size matters?
07:54
<Gadi>
well, here's an example
07:55
so, in one of my squashfs images, the file /usr/bin/groups was on a fragment
07:55
so, if I booted to a shell and did something like:
07:55
md5sum /usr/bin/groups
07:55
I would get squashfs errors
07:55
but, if I did md5sum <some other file>, it would be ok
07:56
so, as long as nothing needed to run /usr/bin/groups,
07:56
everything was fine
07:56
remember, if you use the liveCD to install, it only runs one or two programs in the liveCD itself
07:57
the OS is installed from uncompressed debs on the CD
07:57
it would be interesting to boot a liveCD, open a terminal window, and run: md5sum /usr/bin/*
07:57
or /usr/sbin/*
07:58
and see if there are errors
07:58
<alkisg>
That's easy to do, moment...
07:59kusznir has quit IRC
08:02
<alkisg>
Gadi, both dirs check out fine
08:02
<Gadi>
hmm
08:03
I wonder how they are squashing their fs
08:03
<alkisg>
With just 1 processor?! :)
08:03
<Gadi>
nah - I tried that
08:03
it didn't help
08:03
<alkisg>
Hrm, ogra, any clues here? ^^^
08:04
(what is the command that is used for compressing the ubuntu live cd)
08:04
<ogra>
look in the livecd-rootfs package source
08:04
<alkisg>
Ty
08:04
<ogra>
simply mksquashfs
08:05kusznir has joined #ltsp
08:06
<Gadi>
hmm, seems the regular CD simply adds a -sort
08:08
<alkisg>
So maybe sorting forces mksquashfs to use some kind of caching, which helps
08:09
Gadi can you try with a sort file with just 1 line in it: /path/to/not/existing/file 32767
08:11
!compiz
08:11
<ltspbot`>
alkisg: "compiz" :: if compiz is giving you problems, one way to disable it for all users is: sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/session/required_components/windowmanager metacity
08:11vmlintu has joined #ltsp
08:29thunsucker has joined #ltsp
08:30johnny has joined #ltsp
08:33brites is now known as br_ain
08:45
<dragonbch>
alkisg problem solved... :)
08:45
<alkisg>
dragonbch: nice
08:45
Did you use apt-file?
08:47
<dragonbch>
I was needing organice the repo local
08:47
just that
08:48
needed to organize the repository*
08:56korcan has joined #ltsp
08:57korcan has joined #ltsp
08:59komunista has joined #ltsp
09:00
<komunista>
hello all
09:02
<br_ain>
Opa
09:09mikkel has quit IRC
09:14
<br_ain>
plz, what is the sequence of the boot process of ltsp?
09:15litlebuda has joined #ltsp
09:25japerry has quit IRC
09:34
<cyberorg>
br_ain, something like this http://en.opensuse.org/How_Does_KIWI-LTSP_work
09:41
<br_ain>
cyberorg, Thx!
09:50
<Gadi>
alkisg: do you know if nbd-client is killed and restarted in the rootfs after the switch from initramfs?
09:51* Gadi does not believe it is, but recalls perhaps it once being that way
09:51
<alkisg>
Gadi, I'm not sure. I think that was the case before nbd-proxy, but I haven't checked the source at that point...
09:51
<Gadi>
ok
09:51sbalneav has joined #ltsp
09:51
<Gadi>
yeah, I have not found anything in the source to suggest it anymore
09:51* alkisg wishes luck on Gadi's nbd explorations nevertheless :)
09:51
<sbalneav>
Morning all
09:51
<alkisg>
!s
09:51
<ltspbot`>
alkisg: "s" :: Scotty!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
09:51
<Gadi>
yeah, well.
09:51
!s
09:51
<ltspbot`>
Gadi: "s" :: Scotty!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
09:52bobby_C has quit IRC
09:53
<Gadi>
alkisg: I can't decide if the problem is nbd or squashfs
09:53
:)
09:53
or door #3
09:53
:)
09:53
<alkisg>
Hmmm
09:54
<Gadi>
but, you get tons of errors when the file it can't read is /lib/libudev ;)
09:55
it seems to be different files every boot, BUT it also seems to be the same file for any given boot
09:55
which says to me it is an nbd thing
09:58
<alkisg>
If you start a standalone machine, connect to the server with nbd-client, and dd the whole drive 2 times, and compare them? Won't that tell you if it's an nbd problem or not?
10:01
<thunsucker>
Gadi: door behind #3 might be a Zonk
10:07tstafford has joined #ltsp
10:15staffencasa has joined #ltsp
10:17japerry has joined #ltsp
10:17The_Code has joined #ltsp
10:21dragonbch has left #ltsp
10:33gnunux has quit IRC
10:40Faithful has quit IRC
10:54dragonbch has joined #ltsp
10:55Faithful has joined #ltsp
10:57
<dragonbch>
alkisg I must specify Manu in the dhcpd.conf MAC and IP of each client that will connect to servirdor ltsp?
10:58
<alkisg>
Not unless you have some really specific needs...
10:58
<dragonbch>
for example.
10:58
host apex {
10:58
hardware ethernet 00:e0:7d:7c:84:d5; #mac del client
10:58
fixed-address 192.168.74.23; #client
10:58
next-server 192.168.74.1; #server
10:58
filename "pxelinux.0";
10:58
}
10:59
mm
11:04
alkisg this's my dhcp configuration, but I think don't is good for ltsp *look* http://pastebin.com/Lhqecx3P
11:05
you think something is missing
11:26japerry has quit IRC
11:28japerry has joined #ltsp
11:30jhutchins has quit IRC
11:50
<alkisg>
!seen stgraber
11:50
<ltspbot`>
alkisg: stgraber was last seen in #ltsp 5 days, 13 hours, 41 minutes, and 25 seconds ago: <stgraber> sounds tricky to implement (on the fly gettext language change)
11:52
<vbundi>
does anyone else's localapps firefox crash a lot? I just installed it using apt-get install firefox, should I be using 'ubufox'?
11:52scottmaccal has quit IRC
11:54scottmaccal has joined #ltsp
11:54The_Code has quit IRC
11:54The_Code has joined #ltsp
11:56br_ain has quit IRC
12:01evilx has joined #ltsp
12:01thunsucker has left #ltsp
12:28dragonbch has left #ltsp
12:32munson has joined #ltsp
12:32
<munson>
well well well...howdy folks
12:33
decided to put a regular ol 1950ś (exagerating) hub after the layer3 switch and all works fine, cept I still would like to have all clients on this layer 3 but really...who cares right
12:50
<elias_a>
Good evening!
12:51
I am trying to make a demo server out of laptop with this documentation: https://help.ubuntu.com/community/UbuntuLTSP/LaptopDemo
12:51
I am experiencing odd problems.
12:52
My wlan seems to die when I plug in the client to the LAN NIC.
12:52
<alkisg>
elias_a: what problems? And, what's your actual use? Maybe proxydhcp would be better suited in your case?
12:52
wlan dies ==> maybe a routing problem?
12:52
<elias_a>
alkisg: Could be.
12:52
<alkisg>
Are you using network manager?
12:52
<elias_a>
Yes.
12:53
<alkisg>
Did you declare a static connection for eth0 with no routes?
12:53
(no gateways, I mean)
12:53
<elias_a>
Is it OK that my wlan is eth1 instead of wlan0
12:53
<alkisg>
Sure
12:54
<elias_a>
alkisg: That might be the problem - I'll check.
12:54
<alkisg>
So you should have eth0 = static with no route, eth1 = dhcp (networkmanager)
12:55
<elias_a>
no route meaning there is no gateway nor dns?
12:55
<alkisg>
No gateway
12:55
...and you don't need dns either for that connection
12:57
Also if you're trying to use /etc/network/interfaces to make eth0 == static, there was a bug with networkmanager, connections disappeared when you tried to do that
12:57
<elias_a>
Is this OK for interfaces? http://pastebin.com/uExtit9G
12:57
<alkisg>
I don't think it's solved yet
12:57
Is that Karmic?
12:57
<elias_a>
Ahh.. bloody hell.
12:57
<alkisg>
*system connections, that is. You can use user connections though
12:58
I.e. in network manager you should *not* check the "make this connection available for all users" button
12:58
<elias_a>
Yep - it's Karmic.
12:58
<alkisg>
It's ok. You don't need network nor broadcast, but it doesn't hurt to put them there
12:58
<atkuepker>
ick NM. step #1 of our deployment document: aptitude remote network-manager
12:59
<alkisg>
elias_a: So just make a user connection in network manager, not a system connection
12:59
<elias_a>
OK.
12:59
<alkisg>
atkuepker: it's handy for wireless networks, laptops etc though...
12:59
elias_a: another, probably better way to do it, is to completely stop using /etc/network/interfaces
13:00
<elias_a>
atkuepker: Cannot live without NM.
13:00
<alkisg>
...and make eth0 == static from within network manager
13:00
<atkuepker>
agreed, for laptops. We had horrible difficulties with it until we yanked it off the servers.
13:00denisesball has joined #ltsp
13:01
<elias_a>
atkuepker: Correct - in my case it is a must. Lots of travelling and using 2 different VPNs.
13:01
alkisg: good idea.
13:01
<alkisg>
elias_a: the bug I'm referring to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/391040
13:02
If you're experiencing the same, do post there
13:02
<elias_a>
The wlan was not a system connection.
13:02
<alkisg>
OK, was the connection lost from the menu?
13:02
Or it just wasn't working right?
13:03
<elias_a>
It was in the menu but not working.
13:04
<alkisg>
OK, different problem then, ignore the link above
13:04
<elias_a>
The funny thing is that wlan stops working after plugging the client or a switch to the NIC
13:04jcastro has quit IRC
13:04
<alkisg>
Check if it's working now that you don't have a route in eth0
13:05jcastro has joined #ltsp
13:05
<elias_a>
Even if the NIC is definned in interfaces file :)
13:05
I'll try.
13:05cliebow has joined #ltsp
13:06epaphus has joined #ltsp
13:06denisesball has quit IRC
13:06
<epaphus>
Hello guys, i have an LTSP network (new) where the clients are booting VERY slow.. the dhcp lease, the tftp download.. once it does that everything is ok
13:06
It can take like about 5 min
13:06
to boot 1
13:07
the switch is not saturated
13:07
what could be the problem? The server doesnt have anything relevant in /var/log/daemon , and messages
13:07
<alkisg>
The dhcp lease?
13:07
<epaphus>
alkisg, yeah. Where each thin client gets the IP.. that part is super slow
13:08
<alkisg>
The first lease? From the PXE stack, before even loading pxelinux?
13:08
<epaphus>
alkisg, correct
13:08
<alkisg>
Doesn't it timeout at 60 secs at that point?
13:08
<epaphus>
yes, when i said 5 min i meant it between that lease and the tftp download
13:08
thats whats taken a long time
13:09
<alkisg>
I'm not sure I got this right. So, is it a dhcp problem or a tftp problem?
13:09
(or both?)
13:09
<epaphus>
both . both processes are very slow
13:09
<alkisg>
If it gets an IP address and *then* it delays, it's a tftp problem
13:10
<epaphus>
where is the log for tftp ?
13:10
<alkisg>
distro/version?
13:10
<epaphus>
ubuntu 9.10
13:10
<alkisg>
(brb)
13:11
For tftp you'd need to put --verbose in /etc/default/tftpd-hpa
13:11
<epaphus>
ahhh ok... thank you ill check that :)
13:11
brb
13:11denisesball has joined #ltsp
13:12
<komunista>
on debian testing (in VBox) I have created fresh client chroot, and I see that opt/ltsp/i386/etc/udev/rules.d/70-persistent-net.rules is the same as server's one
13:12
is this my mistake, please?
13:12jhutchins has joined #ltsp
13:14br_ain has joined #ltsp
13:15
<alkisg>
epaphus: I've seen several cases where Ubuntu's pxelinux.0 had this problem, but I never saw dhcp3-server causing slow boots. If it's _only_ after pxelinux is loaded, try downloading the latest one from sid, as Ubuntu's is ancient...
13:23
<epaphus>
alkisg, thank you
13:23
it is intermittent
13:23
all of the sudden all is well
13:23
:(
13:28
<komunista>
epaphus: only idea, do you have only one DHCP server on netvork? I was similar problem (no PXE), and I find then second DHCP server (bad interface binding)...
13:29
<elias_a>
alkisg: This is really funny - if I define the NIC in /interfaces, the wlan that is taken care by NM dies.
13:29
Shows OK in the appled but bits&bytes won't move.
13:30
I'll try to define the NIC in NM
13:30
<alkisg>
elias_a: type `route -n` at that point
13:30
To see if everything is OK with your routes...
13:30
But yeah, defining it within NM is a better way to do it :)
13:33
<denisesball>
hey all, i'm trying to connect to my ltsp server from my PC and i thought xdmcp over xnest would work but the screen is just black
13:33
i want to be able to login to the ltsp person just as a user would
13:38
<epaphus>
komunista, yes only one DHCP server
13:39
<komunista>
epaphus: I'm sorry :-)
13:39
<epaphus>
np
13:41
<alkisg>
denisesball: ltsp 5 doesn't use xdmcp
13:41
If you enabled it on your server then it should work, but that's unrelated to ltsp
13:41
<denisesball>
alkisg: ok, i think i'm seeing that now. so is there a way to connect with tsclient or something similar from an existing desktop that doesnt need to boot the image?
13:41
<elias_a>
Funny - connecting NIC kills the wlan connection even if nic is defined in NM.
13:42
<denisesball>
just so i can test things from my machine
13:42
<alkisg>
denisesball: whatever other method applies to standard linux desktops. E.g. I'm using neatx currently.
13:44
elias_a: upload your nm files to pastebin if you want; for system connections they're in /etc/NetworkManager/system-connections, for user-only connections I don't know but you can google it...
13:44
(somewhere in ~/.config or ~/.local...)
13:49
<denisesball>
alkisg: never heard of neatx
13:49
<alkisg>
denisesball: have you heard of nx or freenx?
13:49
<elias_a>
alkisg: This is what the routes look like in 1) non functioning state and 2) functioning state.
13:49
http://pastebin.com/5PCDUMJd
13:51
1) is caused with the same setup by only plugging a cable into the NIC.
13:52
<alkisg>
elias_a: they need to be in different subnets
13:52
Don't use the same subnet for both eth0 and eth1
13:53
Put eth0 in 192.168.1.x or somethine like that.
13:53
<denisesball>
alkisg: yeah i use NX, but wouldnt that require installing an NX server on the ltsp server?
13:53
<alkisg>
denisesball: yes, neatx-server
13:53
<denisesball>
can i simply connect the same way the terminals?
13:53
do
13:53
<alkisg>
It's the latest free nx server implementation from google
13:53
<denisesball>
like ldm/SSH?
13:53
<alkisg>
denisesball: the terminals connect with ssh -X or with some xauth magic when DIRECTX is true
13:54
<denisesball>
right, i figured i would just do that, but skipping the PXE boot
13:54
<alkisg>
So sure, try ssh -X, if that's speedy enough for you then you don't need nx
13:55
You won't get a full session though...
13:55
<denisesball>
i did try that, but i dont know what to run after i logged in
13:55
<alkisg>
Ah, and xnest...
13:56
Hmm yeah I got it
13:56
<denisesball>
xnest isnt installed on the ltsp server though
13:58
<elias_a>
alkisg: True :) Stupid me :)
13:58
(too tired - I guess)
13:58
<alkisg>
elias_a: don't worry you're not the first that got hit by that ;)
14:01
<elias_a>
alkisg: :)
14:01
<denisesball>
alkisg: so what would i run once I'm ssh'd with the X11 forwarding? how do i get ldm?
14:02
<alkisg>
denisesball: ldm runs on the client, not on the ltsp server
14:02
So I don't know how you'd get it...
14:03
<denisesball>
hm, this seems like it should be easier
14:05
i suppose i could enable xdmcp for GDM instead of LDM
14:08
yep, that worked perfectly alkisg
14:08
gksudo cp /usr/share/doc/gdm/examples/custom.conf /etc/gdm/
14:08
gksudo gedit /etc/gdm/custom.conf
14:08
Add the line “Enable=true” after the “[xdmcp]” line
14:08
restart gdm, done
14:09
<alkisg>
Yup... trivial
14:09
ldm on the clients without installing it would be tricky though ;)
14:10
<denisesball>
yeah i didnt really make the connection that gdm was still on there
14:10
<alkisg>
ldm *isn't* installed on the server
14:10
There's only gdm
14:10
<denisesball>
right, i gotcha
14:10vagrantc has joined #ltsp
14:11
<denisesball>
this is fast enough, i just wanna be able to login and see what techs are seeing when they have problems
14:11
although i keep getting disconnected every few minutes for some reason...
14:12
<alkisg>
xdmcp is the fastest of all for lan connections
14:12
<vagrantc>
xdmcp isn't any faster than ldm with LDM_DIRECTX=True
14:12
<alkisg>
vagrantc: he wants to use it in non-ltsp clients
14:12
<vagrantc>
except for initial login
14:13
<denisesball>
vagrantc: do you know of a way to connect like that from a regular desktop?
14:13
<alkisg>
So ldm isn't an option...
14:13
<denisesball>
yeah thats i was curious about
14:32br_ain has quit IRC
14:34
<Gadi>
denisesball: you can use a script like this http://pastebin.com/jNtyV7AL , modify the LDM_SERVER IP, add the ssh host key of that IP to your known_hosts file, and apt-get install xnest ldm and you can ldm from your desktop, if you like
14:35
it won't run through everything that the client does, but it will be similar
14:36
<denisesball>
Gadi: interesting, thanks!
14:36
did you write that?
14:37
<Gadi>
one of the TODOs I always had on the back-burner was to make ldm standalone like that. I copied the screen script and just modified it
14:37
<denisesball>
installing ldm locally wont mess with my gdm right?
14:37
<Gadi>
one of these days, we should do it cleanly
14:37
nope
14:37
it's not a real display manager
14:37
:)
14:39
denisesball: you may also want to look into setting up VNC shadowing on the clients
14:39
then, as long as they are booting to a login screen, you can vnc into them and log in directly from the thin client
14:39
<denisesball>
Gadi: yeah that may be an option, but not really what I was looking for right now
14:40
script doesnt appear to work for me
14:41
<Gadi>
what does it do?
14:41
(run as sudo btw)
14:42
<denisesball>
yeah i noticed that
14:42
when running as sudo, nothing happens
14:42
hangs there for a bit and back to the prompt
14:42
<Gadi>
you have ldm and xnest installed?
14:42
<denisesball>
yeah
14:42
$ dpkg -l | egrep 'xnest|ldm'
14:42
ii ldm 2:2.0.38-0ubuntu5 LTSP display manager
14:42
ii ldm-ubuntu-themes 2:2.0.38-0ubuntu5 Themes for the LTSP Display Manager
14:42
ii libwildmidi0 0.2.2-2 software MIDI player library
14:43
ii xnest 2:1.6.0-0ubuntu14.1 Nested X server
14:43pmatulis has quit IRC
14:43
<Gadi>
and you changed LDM_SERVER in the script to point tours?
14:43
er, to yours?
14:43
<denisesball>
yep
14:43
$ cat ldm.sh | grep LDM_SERVER
14:43
LDM_SERVER=10.30.40.149
14:43
same IP i use with xdmcp
14:44
i have an idea
14:44
do i have to be on the same term server subnet?
14:44
cuz thats the outside IP
14:45
do i have to be on the network ltsp gives out dhcp addresses?
14:45scottmaccal has quit IRC
14:45
<Gadi>
port 22 is open?
14:45
<denisesball>
yep, im ssh'd into it
14:46
<Gadi>
does it hang for more than 5 seconds?
14:47
<denisesball>
yeah definitely
14:47
$ time sudo ./ldm.sh
14:47
real 0m15.124s
14:47
user 0m0.030s
14:47
sys 0m0.030s
14:47
$
14:49
<Gadi>
weird. works for me
14:50
does sudo Xnest :2 work?
14:50
(maybe Xnest is broken there for some reason)
14:51
<denisesball>
depends what you mean by "works"
14:51
a window with a black screen pops up
14:51
does it matter that im on a dual display?
14:51
<Gadi>
with an X cursor?
14:51
<denisesball>
no just completely black
14:51
<Gadi>
ah, right
14:51
same here
14:51
ok, thats good
14:52
how about: sudo xinit -- /usr/bin/Xnest :2
14:53
<denisesball>
yeah brings up a mostly black window with a usable terminal in the corner
14:54
<Gadi>
and: sudo xinit /usr/sbin/ldm -- /usr/bin/Xnest :2
14:56cliebow has quit IRC
14:56
<denisesball>
yep, works
14:56
looks like the ldm screen
14:56
<Gadi>
hmm
14:57
maybe a cut/paste problem with the script I pasted?
14:57
<denisesball>
my network idea isnt right?
14:57
ill download instead of copy/paste
14:57
<Gadi>
yeah, try that
14:58
I would have expected you to at least get the ldm screen
14:58
if it were a network problem, you may have issues logging in
14:59
<denisesball>
well like i said, im hitting the outside interface, not the inside one the ltsp clients hit
15:01
<Gadi>
right - but the login screen should come up anyway
15:01
it's just a gtk greeter on the local side
15:02
<denisesball>
kinda weird now, wont execute the downloaded one even renames as a .sh with executable permissions
15:02
using sh i get output not at least
15:02
$ sudo sh ltsp.sh
15:02
: not found:
15:02
: not found:
15:02
: not found:
15:02
: bad trapTERM
15:02
ltsp.sh: 1: cleanup: not found
15:04
<Gadi>
that's just at a regular terminal shell on your local machine?
15:04
ie a gnome-terminal?
15:04
<denisesball>
yep
15:04
i dont know why i cant ./ it now though
15:05
oops
15:06evilx has quit IRC
15:06
<denisesball>
nope, looks good
15:06
odd
15:06
<Gadi>
that is weird
15:06
can you try opening a new terminal window
15:06
maybe the environment got messed up?
15:07
<denisesball>
yeah same thing
15:07
my other scripts work fine
15:08dragonbch has joined #ltsp
15:10
<denisesball>
i re copied and pasted into the old one i used and same result
15:10
dunno why making a new one is so weird
15:10
<Gadi>
weird
15:10
I just d/l'd the pastebin
15:10
<dragonbch>
alkisg the client pc sey me:
15:10
TFTP....
15:10
tftp: open timeout
15:10
<Gadi>
and diffed against what I pasted
15:10
and it says every line is different
15:11
<dragonbch>
say*
15:11
<denisesball>
wtf
15:11
<Gadi>
!pastebot
15:11
<ltspbot`>
Gadi: "pastebot" :: The LTSP pastebot is at http://ltsp.pastebin.com. Please paste all text longer than a line or two to the pastebot, as it helps to reduce traffic in the channel. Don't forget to paste the URL of the text here.
15:11
<denisesball>
i just clicked raw and copied and pasted that the first time
15:13
<Gadi>
http://ltsp.pastebin.com/533JHFN2
15:13
let's try that
15:13
<denisesball>
k
15:13
should i click download then?
15:14
Gadi: same result for me when clicking download
15:15
<Gadi>
cut/paste from raw worked better
15:15
<denisesball>
this is the strangest thing ever
15:16
yeah copy/paste raw seems to work better
15:16
still same result though
15:16
just hangs there and eventually get me back to prompt
15:17
<Gadi>
weird
15:17
<denisesball>
would it matter that i ran it as user before sudo the first time?
15:17
could there be stale stuff around?
15:17
<Gadi>
I don't think so
15:18
<denisesball>
i wish i could see what its dying on
15:19
<Gadi>
denisesball: at the top of the script (after the first line) put a line that reads: set -x
15:19
then, run it again
15:21
<denisesball>
+ xinit /usr/sbin/ldm -- /usr/bin/Xnest :2 -auth /var/run/ldm-xauth-RNsWRwXOc/Xauthority -br
15:21
that line
15:21
just hangs
15:21
then eventually runs the cleanup
15:22
/usr/share/ltsp/xinitrc
15:22
in your script
15:22
that doesnt exist for me
15:22
<Gadi>
thats ok
15:22
<denisesball>
its in /etc/X11/xinit/xinitrc
15:22
ok
15:22
<Gadi>
while its hanging, can you check in another window for the existence of /var/run/ldm-xauth-RNsWRwXOc/Xauthority
15:22
<denisesball>
yeah i did that already lol
15:23
it did
15:23
exist
15:23
do u know what
15:23
while its hanging there
15:23
i pasted the exact same command in another tab, and the window does pop up
15:27
so i have a bunch of output from the xinit command its trying to run if i try it in that other window which its hanging if u wanna see
15:28
<Gadi>
sure, you can paste it
15:29
<denisesball>
http://pastebin.com/6Wcc2FYm
15:29
i ran that while it was hanging on that same command with the script
15:30
<Gadi>
that's just at a login screen?
15:30
<denisesball>
it doesnt actually connect
15:31
but it gives me output
15:31
unlike the script
15:31
<Gadi>
ah, maybe in the script, remove the >/dev/null 2>&1 at the end of the xinit line
15:31
also, are you running inside a virtual machine?
15:32
<denisesball>
oh duh, i shouldve seen that
15:32
no, im not
15:32
<Gadi>
are you running on a thin client?
15:32
<denisesball>
+ xinit /usr/sbin/ldm -- /usr/bin/Xnest :2 -auth /var/run/ldm-xauth-HALVthLYs/Xauthority -br
15:32
No protocol specified
15:32
Fatal server error:
15:32
Unable to open display ":0.0".
15:32
thats what i see now
15:32
no, not a thin client
15:32
giving up.
15:32
xinit: No such file or directory (errno 2): unable to connect to X server
15:32
xinit: No such process (errno 3): Server error.
15:32
thats the end before the cleanup
15:33
<Gadi>
in a terminal, type: xhost +localhost
15:33
and then try again
15:33
<denisesball>
worked!
15:34
<Gadi>
what distro are you on, btw?
15:34
<denisesball>
ubuntu 9.04
15:34
i do get a login screen now, but it doesnt log in :(
15:35
shoot, hang on
15:35
<Gadi>
did you add the ssh public key of the server you are connecting to?
15:35* vagrantc recommends tcp/ip over carrier pidgeon
15:35
<denisesball>
im sorry, the script still fails, i ran that command separately andit worked
15:35
im still getting that same error with your script
15:35
+ xinit /usr/sbin/ldm -- /usr/bin/Xnest :2 -auth /var/run/ldm-xauth-hqPTxWImO/Xauthority -br
15:35
No protocol specified
15:35
Fatal server error:
15:35
Unable to open display ":0.0".
15:35
giving up.
15:36
xinit: No such file or directory (errno 2): unable to connect to X server
15:36ogra_cmpc has quit IRC
15:36
<denisesball>
xinit: No such process (errno 3): Server error.
15:36
still got that
15:36
<Gadi>
try: xhost +
15:36
and then: sudo <script>
15:36
<denisesball>
looks like it worked that time
15:37
trying to login, taking a long time
15:37
and eventually it died
15:37
<Gadi>
are you over a wan?
15:37
<denisesball>
no, actually connected to the same switch in my office
15:38alkisg has quit IRC
15:38
<denisesball>
hangs at "verifying password" and eventually dies
15:38
<Gadi>
ok, try this (temporarily)
15:38
edit (with sudo): /etc/ssh/ssh_config and add the line: StrictHostKeyChecking no
15:38
then, try again
15:40johnny has left #ltsp
15:40
<denisesball>
that did work
15:41
wait a sec
15:41Eghie has joined #ltsp
15:41
<denisesball>
no, i put the key in .ssh/known_hosts
15:41johnny has joined #ltsp
15:42
<Gadi>
denisesball: since you run it as sudo, it actually needs to be in /root/.ssh/known_hosts
15:42
<denisesball>
i did that too
15:42
<Gadi>
OR in the global /etc/ssh/ssh_known_hosts
15:43
<denisesball>
i put the dsa and rsa keys in both ~/.ssh/known_hosts as well as /root/.ssh/known_hosts
15:43
<Gadi>
are you prompted when you do: sudo ssh <ip>
15:44
<denisesball>
just for password
15:44
$ sudo ssh 10.30.40.149
15:44
root@10.30.40.149's password:
15:44
<Gadi>
ah, then that should be good
15:44
try removing the line in ssh_config and see if it still works
15:44
<denisesball>
yep i did
15:45
still works
15:45
<Gadi>
good
15:45
<denisesball>
whew
15:45
that was fun
15:45
<Gadi>
I'll say
15:45
whew
15:46
<denisesball>
only think is i think its making the window the width of one of my displays, but the actual resolution inside the window the width of my whole display
15:46
so i can basically only see half of it
15:46
but no biggie
15:46
<Gadi>
well, you can man Xnest
15:46
and adjust to taste
15:47
(on the last line of the script)
15:47
<denisesball>
yep, i figured
15:47
thanks a ton for the help Gadi, nice to have options
15:48
<Gadi>
we're all about options here
15:48
:)
15:48ogra_cmpc has joined #ltsp
15:49CAN-o-SPAM has joined #ltsp
15:50
<denisesball>
Gadi: you happen to use ltsp-cluster?
15:50
<Gadi>
I have had the pleasure
15:51dragonbch has left #ltsp
15:51
<denisesball>
would you recommend it in its current state for a large environment? i know they are rewriting a lot of it.
15:51
<Gadi>
well, it's a bit quirky to set up
15:51
I was fortunate to have stgraber around on irc
15:51
at the time
15:51
<denisesball>
seems like it, a lot of the docs are very confusing
15:52
is it possible to make the management servers redundant?
15:52
<Gadi>
I am not sure if they are working on making it less quirky to set up or just less quirky to use through the web interface
15:52
everything can be made redundant
15:52
<denisesball>
couldnt find much info about that at all
15:52
<Gadi>
stgraber will talk you r ear off about their 5000 thin client deployment in Canada ;)
15:53
<denisesball>
that would be the attraction for me
15:53
<Gadi>
ltsp-cluster itself does not do all the redundancy
15:53
there's some left up to the imagination
15:53
for example:
15:53
the web interface uses postgres db as a backend
15:54
well, say you want two servers running the web interface and db (for redundancy)
15:54hersonls has quit IRC
15:54
<Gadi>
well, now you need to make your postgres dbs redundant
15:54
ltsp-cluster doesn't do that
15:54
<denisesball>
right
15:54
<Gadi>
you need to decide how you plan to do that on ur own
15:55
<denisesball>
let me explain our environment real quick, maybe you can offer some advice
15:56
i inherited a 100+ terminal existing ltsp environment, theyre on Debian 4 with iceweasel, everything is so old and out of date, buggy, unstable etc. im planning to replace the whole thing. the way they work is each section of cubes (maybe like 25 at a time) are on a particular vlan that connects to 1 of 4 or 5 ltsp servers
15:57
every ltsp server has all the home directories mountes via NFS
15:57
mounted*
15:57
so im looking into ltsp-cluster as an option to balance the users instead of dedicating them to a particular server
15:57
but really its easy to get around if one of those servers go down, just change the VLAN the switch is on
15:58
i liked the idea of load balancing the users across the servers instead of dedicating them, but i dont want to add much more complexity and especially less redundancy if the master/root servers go down
15:58
/rant
15:59
<Gadi>
hehe
16:00
well, ltsp-cluster has some very nice features to it, but it does add complexity
16:00
<denisesball>
when i said "really it's easy..." i was referring to the existing setup obviously
16:00
just changing the VLAN is easy for it to PXE boot to
16:02
i dont wanna have to make more servers redundant manually just to get load balancing, i could really load balance them myself with the network load balancer if i really wanted to
16:02
plus the fact that they are rewriting it is discouraging
16:03
<Gadi>
well, I think as more people use it and contribute to it, it will improve
16:03
like anything else
16:03
<denisesball>
yeah of course, as goes with any open source project. just wondering if its a good idea to put into production as it is now
16:03
sounds less likely the more i read
16:04
<Gadi>
well, I would say for now, view it as a platform that you can start with if you don't want to implement the same thing from scratch
16:04
but don't think you will just apt-get install ltsp-cluster and have ootb redundancy
16:05
and speaking about scratch, I need to write a poor-man's sabayon, since xephyr seems to segfault on this darn system...
16:05
bbiab
16:05CAN-o-SPAM has quit IRC
16:08
<denisesball>
Gadi: thanks again for the help, im out for today
16:09
<komunista>
Gadi: I'm sorry, I have one question
16:09
I read some things abou ltsp-cluster and interesting for me is web interface to monitoring clients, it is possible use this interface without cluster, please?
16:13
<Gadi>
komunista: the interface that does the monitoring also does the configuring, I think if you use it, you will need to use it to configure as well as monitor
16:17bobby_C has joined #ltsp
16:17
<komunista>
hmm, I must read osme about configuring by this interface :-) (I don't understand what is problem with this), thanks
16:17
osme/some
16:21
thanks for pointing
16:34Gadi has left #ltsp
16:36komunista has quit IRC
16:41japerry has joined #ltsp
17:04monteslu has joined #ltsp
17:26vagrantc has quit IRC
18:36bobby_C has quit IRC
18:41atkuepker has quit IRC
18:42epaphus has quit IRC
18:44staffencasa has quit IRC
18:52Ahmuck-Sr has joined #ltsp
18:52
<Ahmuck-Sr>
i'm trying to boot another set of ltsp clients to see how well they work, however they don't have a pxe boot option which means i'll have to create a etherboot cdrom. any hints
18:56klausade has quit IRC
18:58knipwim has quit IRC
19:00knipwim has joined #ltsp
19:00korcan has quit IRC
19:03adcnet has joined #ltsp
19:09
<Ahmuck-Sr>
i need to find the chipset of a thin client
19:09
after trying 3 different pc, different make, model, brand, the sound still drops out after about 4-6 minutes
19:14
<johnny>
lspci in a terminal..
19:24
<Ahmuck-Sr>
that shows the client chipset?
19:24
i was thinking it showed the server chipset
19:30pmatulis has joined #ltsp
19:36adcnet has quit IRC
19:39pmatulis has quit IRC
19:46
<abeehc>
Ahmuck-Sr: that's right if you are logged into the server ,it would show the server chipset
19:46
you need a client shell
19:48
https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting#Using a shell SCREEN
20:17
<johnny>
Ahmuck-Sr, yes.. a client terminal..
20:17
either on the virtual console
20:17
or in a debug term via LDM_DEBUG_TERMINAL
20:32litlebuda has quit IRC
20:44vagrantc has joined #ltsp
20:50japerry has quit IRC
21:00vagrantc has quit IRC
21:51Ahmuck-Sr has quit IRC
22:51alkisg has joined #ltsp
23:21alkisg has quit IRC
23:21vagrantc has joined #ltsp
23:24F-GT has quit IRC
23:36alkisg has joined #ltsp
23:37alkisg has quit IRC
23:40F-GT has joined #ltsp
23:59ogra_cmpc has quit IRC