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


Channel log from 6 September 2008   (all times are UTC)

00:08Q-FUNK has quit IRC
00:48jonnor has joined #ltsp
01:46Nubae has joined #ltsp
01:47Nubae1 has quit IRC
02:05vagrantc has quit IRC
02:14
<cyberorg>
johnny, ignore "setrlimit() junk" they are harmless messages
03:05
<Nubae>
johnny... when u could... I need the gentoo ltsp install instructions for the ltsp manual
03:08psycodad has joined #ltsp
03:09psycodad1 has quit IRC
03:17K_O-Gnom has joined #ltsp
03:23johnny has left #ltsp
03:24mikkel has joined #ltsp
03:41johnny has joined #ltsp
03:53K_O-Gnom has quit IRC
03:56
<johnny>
Nubae, i don't see that happening until i can do an install from scratch and have it work completely..
04:18X0d_of_N0d has quit IRC
04:19X0d_of_N0d has joined #ltsp
04:24DonSilver has joined #ltsp
04:33Q-FUNK has joined #ltsp
04:36
<johnny>
cyberorg, gonna help me fix sound then? :)
04:42
<zamba>
i have set up a kiosk image in /opt/ltsp/i386.. but what it i want to maintain different images.. how can i do that?
04:43
it = if
04:43johnny has left #ltsp
04:45
<zamba>
since it uses arch to determine the image
04:45
so i386 is already "taken" :)
04:50johnny has joined #ltsp
04:51
<johnny>
zamba, you'd have to rename it
04:52
or set a different chroot name in ltsp-build-client
04:52
and then change your dhcp server to point to a different one
05:04gate_keeper_ has joined #ltsp
05:17johnny has left #ltsp
05:18johnny has joined #ltsp
05:37
<zamba>
johnny: ok
06:20
<johnny>
so.. who's about..
06:20* johnny looks around
06:47
<cyberorg>
johnny, these are the pa and alsa packages we have installed in chroot http://pastebin.com/d56ab9e9f
06:47
ps ax | grep pulseaudio inside the chroot to see if it is running
06:47
<johnny>
cyberorg, do you have a real name?
06:47
it is running
06:47
my name is actually john.. :)
06:48
<cyberorg>
yeah, Jigish Gohil
06:48
<johnny>
yeah.. boring english name.. i know
06:48
<cyberorg>
as seen on planetsuse.org ;)
06:48
please to meet you john :)
06:48
<johnny>
hmm.. that makes me sad.. because i bet you an probably pronounce my name without a problem
06:48
and i'm at a loss on yours
06:49
<cyberorg>
i bet you can pronounce mine too
06:49
<johnny>
not correctly :)
06:49
<cyberorg>
what stage are you with sound?
06:49
<johnny>
uhmm
06:49
the daemon runs
06:49
if i choose alsa from gstreamer-properties, it works
06:50
the Test button at least
06:50
i don't even have oss flags for alsa
06:50
<cyberorg>
where are you testing from within chroot or from the client session?
06:50
<johnny>
from the client session
06:51
i have no gstreamer properties in chroot .. plus that's a GUI app :)
06:51
is there a reason to install oss anymore?
06:52
<cyberorg>
johnny, what app are you testing with?
06:53
<johnny>
gstreamer-properties!
06:53
<cyberorg>
echo $ESPEAKER and echo $PULSE_SERVER
06:53
<johnny>
here's what i have pulse compiled with
06:53
<cyberorg>
use totem, xmms or something like that
06:53
<johnny>
media-sound/pulseaudio-0.9.11-r2 USE="X alsa glib libsamplerate tcpd -asyncns -avahi -bluetooth -caps -dbus -gnome -hal -jack -lirc -oss (-policykit)"
06:54
<cyberorg>
--disable-ltdl-install --disable-static --disable-rpath --with-system-user=pulse --with-system-group=pulse --with-realtime-group=pulse-rt --with-access-group=pulse-access
06:54
that one is ours and fedora's
06:54
<johnny>
looks good to me
06:55
shows me IP with those vars
06:55
<cyberorg>
both variables?
06:55
<johnny>
and 160001 for ESPEAKER and 4713
06:55
for PULSE_SERVER
06:55
<cyberorg>
shows client IP?
06:55
<johnny>
yes
06:55
<cyberorg>
ok that looks good, now use some real media player like banshee, xmms or something like that
06:56
can you run nmap on the client and see if those ports are accessible
06:56
<johnny>
they are
06:56
i straced the pulse server
06:56
and it does alot
06:56
when i hit "Test"
06:56
<cyberorg>
ok, so try some music player
06:56
<johnny>
no songs available.. hmm
06:57
lemme add some
06:58
<cyberorg>
i have to disappear again for couple of hours, F1 qualifier in few minutes
07:00artista_frustrad has joined #ltsp
07:00* cyberorg goes
07:00
<johnny>
it's playing
07:00
but no audio
07:00
my alsamixer had stuff muted
07:00
but i unmuted it
07:00
on the client
07:01
<cyberorg>
that is what i was going to suggest next :)
07:01
<johnny>
still no audio
07:01
the playback mixer
07:01
for Pulse
07:01
<cyberorg>
what client is this?
07:01
<johnny>
was unmuted too, in the normal gnome mixer for the client
07:01
err muted, but i unmuted
07:01
still no audio
07:02
what client?
07:02
<cyberorg>
client hardware
07:02
<johnny>
sound? intel ac97 stuff
07:04
<cyberorg>
you are using ltsp-init-common same as us?
07:05
<johnny>
yes
07:05
<cyberorg>
how are you doing sound hardware detection and alsa initialization?
07:06
<johnny>
alsasound initscript
07:06
but.. i see the mixer and whatnot..
07:06
<cyberorg>
run this before starting alsasound: https://forgesvn1.novell.com/viewsvn/kiwi-ltsp/trunk/suse-ltsp-client/etc/init.d/boot.discover?revision=95&view=markup
07:06* cyberorg out
07:07
<johnny>
that won't run on gentoo, i'd have to rewrite it
07:07
plus.. if i manually set up all the mixer levels, that seems unnecessary
07:08
not saying that should be done manually obviously.. but since i've done it for testing.. i should have working sound? :)
07:09
aha.. the sound i was hearing with alsa, was on the server, in my speaker.. i thought i had my headphones plugged in, but turns out it wasn't set all the way
07:26
<Nubae>
johnny is it just you working on gentoo ltsp?
07:27
<johnny>
Nubae, for the most part
07:27
dberkholz is helping,but he doesn't really have time for such things, new baby and all
07:59
<cyberorg>
johnny, run padevchooser, is it connected to pa server on client IP?
08:07johnny has left #ltsp
08:21
<zamba>
in my image the file /etc/resolv.conf is already created.. but i'm pushing dns information using dhcp.. how can i make my pushed dhcp settings being the one active?
08:27bobby_C has joined #ltsp
08:40vplug has joined #ltsp
08:40vplug has left #ltsp
08:41joebaker has joined #ltsp
08:53johnny has joined #ltsp
08:55
<johnny>
of course the wireless card has to cut out, right when i go get some food
08:55
:(
08:56
gonna have to change the topic.. since i don't think gentoo will ever have awesome integration :)
08:56
due to the nature of the beast
08:56
we can't do stuff like ubuntu, such as overriding the dhcpd conf
09:05
<zamba>
in my image the file /etc/resolv.conf is already created.. but i'm pushing dns information using dhcp.. how can i make my pushed dhcp settings being the one active?
09:06Subhodip has joined #ltsp
09:06
<zamba>
in other words, overwrite /etc/resolv.conf by using dhcp
09:09
<cyberorg>
johnny, got sound?
09:11DonSilver has quit IRC
09:11
<johnny>
no.. was showering, eating breakfast, and now talking to our houseguests
09:13
<zamba>
johnny: you have any idea about my resolv.conf problem?
09:14pff has quit IRC
09:17
<cyberorg>
johnny, ok, look in padevchooser when your guests leave :)
09:17K_O-Gnom has joined #ltsp
09:24isaac has joined #ltsp
09:28isaac has quit IRC
09:29maybeway36 has joined #ltsp
09:42maybeway36 has quit IRC
09:48Nubae has quit IRC
09:50Nubae has joined #ltsp
09:51
<johnny>
cyberorg, for what?
09:52
i now have an applet
09:53
<cyberorg>
johnny, check if it is connected to the client pa
09:55
and check pavucontrol level if it is connected properly
09:55
<johnny>
how can i tell?
09:55
if it is connected?
09:55
<cyberorg>
you need pulseaudio running in users session too
09:56
<johnny>
aha.. my session isn't starting there
09:56
<cyberorg>
johnny, see paman, what is "server" in there
09:56
run pulseaudio&
09:56
as user
09:56
<johnny>
it says
09:57
aha.. it shows my client IP
09:57
<cyberorg>
thats good, and volume?
09:57
<johnny>
i tried to run pulse audio
09:57
and now it's talking about realtime priority and whatnot
09:57
and realtime group
09:58
but i don't want realtime
09:58
<cyberorg>
ignore stuff about priority
09:58
<johnny>
failed to create /tmp.esd/socket
09:58
operation not permitted
09:58
/tmp/.esd/socket rather
09:58
<cyberorg>
ok, find what is in that path, remove that
09:58
we had to patch that issue, it should have been fixed in the latest
09:59
<johnny>
how about
10:00
ltdl-bind-now.c: failed to find original dlopen loader
10:00
it does seem to be running tho
10:00
<cyberorg>
johnny, ignore everything if you see ps ax | pulseaudio running
10:00
fix that socket error
10:01
<johnny>
i removed the socket
10:01
and started it
10:01
no errors now
10:01
<cyberorg>
ok, now play music, check the volume level, launch pavumeter see if there is any activity
10:02
<johnny>
nothin
10:02
it is playing.. but no music
10:02
and nothin in pavumeter
10:02
i see iti s trying to use the null sink ..
10:03
i have 4 null sinks..
10:04
oh.. default serve .. only see my pulse on the server, not local.. oops
10:09Subhodip has quit IRC
10:10
<cyberorg>
johnny, we also have a special hack to play everything alsa through pulse if alsa-plugin-pulse is installed
10:11
https://bugzilla.novell.com/show_bug.cgi?id=394177
10:11
see the discussion there
10:11Subhodip has joined #ltsp
10:12
<cyberorg>
you need asound.conf changes, we went bit further to do it "clean" way
10:12
johnny, pulseaudio perfect setup page would help a lot there
10:25Nubae has quit IRC
10:35Subhodip has quit IRC
10:56
<johnny>
cyberorg, tha'ts just not the gentoo way
10:56
if it doesn't work upstream, i can't use it
10:57
especialy for packages i don't maintain
10:58
like puse
10:58
pulse
10:58
cyberorg, btw.. i'm not even an official gentoo developer :)
10:58
<cyberorg>
johnny, i dont maintain pa too, opensuse makes it easy to contribute in that way, i created initial pa packages :)
10:59
johnny, see https://wiki.kubuntu.org/PulseAudio too
11:00
use that /etc/asound.conf
11:01
see also http://www.pulseaudio.org/wiki/PerfectSetup
11:06
<johnny>
that's what i meant, i dno t want to override the asoundconf
11:06
at all
11:07
that's just not the gentoo way
11:07
in fact.. it would generate a collision
11:07
since asound.conf is owned by the alsa packages
11:07
if i were to overwrite it with mine from ltsp packages.. it would yell
11:08bobby_C has quit IRC
11:08
<johnny>
i could do it from the initial installer.. out side of the package manager.. but nobody would be happy with that
11:08
<cyberorg>
that is why we got it done via alsa-plugin-pulse as /etc/asound-pulse.conf so it does not even over write asound.conf
11:08
<johnny>
i'd prefer not to have to do that tho
11:08
it isn't necessary is it?
11:09
<cyberorg>
johnny, point your alsa maintainer to upstream ;)
11:20
<johnny>
i'll look at the package later, looks like we're going out
11:21
for a lil while
11:25
<zamba>
in my image the file /etc/resolv.conf is already created.. but i'm pushing dns information using dhcp.. how can i make my pushed dhcp settings being the one active?
11:32
<cyberorg>
zamba, on suse we have MODIFY_RESOLV_CONF_DYNAMICALLY="yes" in /etc/sysconfig/network/config
11:33
zamba, or just copy the correct resolv.conf in chroot and rebuild image
11:35
<zamba>
cyberorg: well, i basically want this to work all the time without having to rebuild the image
11:35
and instead rely on dhcp for this
11:36
but i see dhcp-client isn't running on the clients
11:36
so i'm not exactly sure how this is handled.. how do the clients refresh their ip information?
11:40
<cyberorg>
zamba, it is done by configure_resolver function in client/initscripts/ltsp-setup, what distro are you using?
11:40
<zamba>
cyberorg: ubuntu
11:41
<cyberorg>
zamba, then it should be handled correctly there, check with ogra when he is around
11:42
<zamba>
i see it refers to $DNS_SERVER there
11:42
but where does it get that variable from?
11:42
cyberorg: yeah, i'll try poking him later
11:45rjune_ has quit IRC
11:46rjune has joined #ltsp
11:51mikkel has quit IRC
12:07randra has joined #ltsp
12:31Subhodip has joined #ltsp
12:36randra has quit IRC
12:39zamba has quit IRC
12:59
<dberkholz>
johnny: regarding integration, we can at least provide decent default configs. perhaps they'd go into /usr/share/ltsp/examples/ or somewhere
13:13warren has quit IRC
13:19petre has joined #ltsp
13:31K_O-Gnom has quit IRC
13:31K_O-Gnom has joined #ltsp
14:10warren has joined #ltsp
14:19Subhodip has quit IRC
14:38
<johnny>
dberkholz, sure.. we can put them there, just not directly replace files owned by other packages in our own packages
14:38
dberkholz, but atm, i'm not sure if that is necessary even
14:40warren has quit IRC
14:58artista_frustrad has quit IRC
15:03vagrantc has joined #ltsp
15:59cpunches has joined #ltsp
16:04johnny has left #ltsp
16:05johnny has joined #ltsp
16:10cpunches has quit IRC
17:04otavio has quit IRC
17:18jonnor has quit IRC
17:29K_O-Gnom has quit IRC
18:35gate_keeper_ has quit IRC
18:58gonzaloaf_laptop has joined #ltsp
19:05shogunx has quit IRC
20:05X0d_of_N0d has quit IRC
20:06X0d_of_N0d has joined #ltsp
20:18warren has joined #ltsp
21:13Egyptian[Home] has quit IRC
21:14Egyptian[Home] has joined #ltsp
21:59Subhodip has joined #ltsp
22:15warren has quit IRC
22:16petre has quit IRC
22:18shogunx has joined #ltsp
22:35Subhodip has quit IRC
22:36Subhodip has joined #ltsp
22:36vagrantc has quit IRC
23:09petre has joined #ltsp
23:10wwx has quit IRC
23:14makghosh has joined #ltsp
23:16warren has joined #ltsp
23:19Gadi has joined #ltsp
23:19
<petre>
evening Gadi, warren
23:19
<warren>
hi
23:20
<Gadi>
hey
23:20
<petre>
regarding Robert's email, for fat (Windows) clients to work as in K12LTSP, is it a dhcp issue or it a nat/forwarding issue?
23:21
I haven't tried it
23:21
but I'd think any machine asking for an address would get one from the dhcp server
23:21
<Gadi>
havent seen the email, but its usually a nat issue
23:22
and dealing out the right dns/gateway info
23:22
warren - how long does it take launchpad to scan a new branch?
23:22
<petre>
but the server becomes the dns/gateway, right?
23:23
<Gadi>
well, gateway
23:23
usually
23:23
<petre>
so, I guess, as Warren suggested, we need to add a dns, at least caching
23:23
<Gadi>
could be dns - but only if you set up bind on it
23:23
nah
23:23
just use the network's dns server
23:23
no need to add another
23:23
as long as the gateway info is there, it will contact ur dns server
23:23
<petre>
so that needs to be dynamically added into the dhcp
23:24
<Gadi>
?
23:24
add to dhcp:
23:24
option routers ...
23:24
and
23:24
option domain-name-servers ....
23:24
done
23:24
<petre>
if a fat client gets the ip from the ltsp server, the server has to also tell the client things like dns server
23:25
but the server's dns info comes from the upstream side, so is likely dynamic
23:25
<Gadi>
?
23:25
u are confusing the begeezess out of me
23:25
:)
23:25
<petre>
sorry, I'll try again :-)
23:26
<Gadi>
you have DNS servers that the network uses already, right?
23:26
<petre>
(I'd say it's late and my thinking fuzzy, but it's later where you guys are)
23:26
yes, but they're dynamic because the eth1 interface isn't setup statically
23:27
it's like a desktop client
23:27
<Gadi>
the IPs of the DNS servers are not dynamic
23:27
<petre>
to the server they are
23:27
<Gadi>
?
23:27
how is that?
23:28
the IP of the server is dynamic
23:28
but not the IPs of the DNS servers?
23:28
<petre>
they're written into resolv.conf, but aren't known to the server until he gets an address for eth1
23:28
<Gadi>
who cares what the server knows
23:28
<petre>
from the existing network's dhcp server (not the client network)
23:28
<Gadi>
right
23:29
but, how often do the IPs of the DNS servers change?
23:29
<warren>
one trouble here is there are several different ways it could be configured
23:29
<petre>
so, for a teacher to set it up in the classroom he may not know the dns settings
23:29
he just turns on the computer, and the dhclient gets an address and other infor like dns
23:30
<Gadi>
uhh.... the school should have fixed IPs for its DNS servers
23:30
and someone knows them
23:30
<petre>
but in k12ltsp you don't have to know what they are
23:31
<Gadi>
for fat clients served by the dhcp server?
23:31
<petre>
because the ltsp server is the dns server even though it's only a caching server
23:31
<Gadi>
ah
23:31
ok
23:31
<petre>
for fat clients on the same subnet as the TCs
23:31
<Gadi>
well, if you do that, then yeah
23:31
you would still add:
23:31
option domain-name-servers <IP of LTSP server>
23:32
(but that can be set by default)
23:32
so the fat clients use the ltsp server as their dns
23:32
<petre>
right, that's what we do in the old 4.2 versions
23:33indradg has joined #ltsp
23:33
<petre>
to make ltsp 5 on fedora work that way, we'll have to include bind
23:34
<warren>
a DNS server on the LTSP server by default is reasonably safe
23:34
on ltspbr0 by default
23:34
<petre>
right
23:34
<Gadi>
warren: can you try to pull this branch: lp:~gideon/ltsp/ltspfs-trunk-gadi
23:34
<warren>
I'm willing to add it if someone creates a simple foolproof and tested method
23:34
Gadi: what does it dO?
23:34
<Gadi>
I'm not sure if its been pushed properly
23:35
u dont need to test it
23:35
<warren>
NAT for fat clients is really not straight forwared to do by default
23:35
<Gadi>
I just want to see if its pushed correctly
23:35
it adds "LOCALDEV_DENY"
23:35
<petre>
why isn't nat straightforward?
23:35
<Gadi>
that will deny local devices based upon udevinfo attributes
23:35
<rjune>
Gadi: ?
23:35
<Gadi>
!r
23:35
<ltspbot>
Gadi: Error: "r" is not a valid command.
23:35
<warren>
Gadi: I see 64 revisions
23:35
<Gadi>
rjune!!
23:36
64 revisions?
23:36
ah
23:36
<warren>
petre: rules can very easily conflict with rules from many other sources that could have done in a number of different ways.
23:36
<Gadi>
thats right
23:36
rev 64
23:36
good
23:36
<rjune>
what's new?
23:36
<Gadi>
rjune: hey!
23:36
<warren>
Gadi: any progress on splitting out X from gdm?
23:36
err
23:36
ldm
23:36
<Gadi>
up late doing a lil hacking
23:37
warren: not yet - I think I will try doing itt in stages: 1. add init.d/ type directory 2. spplit out X
23:37
should make it easier to debug
23:38
warren: should I make an init.d/ dir or just use a different prefix in rc.d/ like: I00-command ...
23:38
where "I" indicates init
23:38
might keep the dir structre cleaner
23:39
*structure
23:39Rucal has joined #LTSP
23:47
<Gadi>
warren: step 1 done: lp:~gideon/ltsp/ldm-trunk-gadi
23:47
much easier with a prefix of I