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


Channel log from 24 September 2007   (all times are UTC)

00:03zodman has joined #ltsp
00:06rcy has joined #ltsp
00:12rcy has quit IRC
00:13rcy has joined #ltsp
00:14rcy has joined #ltsp
00:17vagrantc has joined #ltsp
00:36MagicStorm has quit IRC
00:37Amaranth has quit IRC
00:38rcy has quit IRC
00:39rcy has joined #ltsp
00:44vagrantc has quit IRC
00:55vagrantc has joined #ltsp
01:00xrashad has joined #ltsp
01:02
<xrashad>
can anyone help me for setting up sound & USB on client side?
01:03
<vagrantc>
xrashad: which linux distro ?
01:03
<xrashad>
ubuntu
01:03
<vagrantc>
feisty ?
01:03
<xrashad>
dapper drake
01:03
<vagrantc>
ah.
01:04
local devices wasn't really added until edgy. not sure what the sound support was like for dapper.
01:04
<xrashad>
LTS 6.06 Desktop
01:04
what you recommend
01:04
<vagrantc>
!ubuntu
01:04
<ltspbot`>
vagrantc: "ubuntu" is a Debian based GNU/Linux distrubution that includes a Ubuntu specific version of LTSP. It can be found at http://www.ubuntulinux.org. to install ltsp on ubuntu: https://help.ubuntu.com/community/UbuntuLTSP/LTSPQuickInstall
01:05
<xrashad>
not ubuntu?
01:05
<vagrantc>
i wouldn't recommend using anything older than feisty
01:05
ubuntu 7.04+
01:06
<xrashad>
I can use any linux distro
01:06
which distro has best USB & sound support?
01:07
<vagrantc>
ubuntu feisty 7.04
01:08
<xrashad>
thank you a lot
01:09subir has joined #ltsp
01:10
<vagrantc>
usually, i'm not one to advocate for best distro of anything ... but debian has lagged behind in that regard, and there aren't any other distros with LTSP5
01:10
pwd
01:13plamengr has joined #ltsp
01:14cyberorg_ is now known as cyberorg
01:16
<vagrantc>
xrashad: though ubuntu 7.10 will probably be released within a month or so
01:16
xrashad: you might want to try that instead
01:16
<xrashad>
sure
01:17
<vagrantc>
i've been working on backports of newer stuff for debian stable, but some things still don't work on debian etch ...
01:19
<xrashad>
which ubuntu edition is recommended for ltsp server: desktop or server?
01:21
<vagrantc>
desktop
01:21
LTSP is essentially a "desktop server" ... so it really needs all the desktop stuff
01:24
<xrashad>
I also think so, but ubuntulinux sites opinion is different
01:29
<vagrantc>
well, edubuntu server includes all the stuff you need.
01:30
in any case, you get install it on either. it's just a matter of how much extra stuff you'll need to download.
01:30
the easiest way to get LTSP5 installed is edubuntu server
01:33captain_magnus has quit IRC
01:34captain_magnus has joined #ltsp
01:42
<vagrantc>
well, that's the first time i've ever been sucessful with gimp.
01:43
managed to clean up the debian theme for ldm, and created an ldm theme for ltsp.org as well :)
01:47MagicStorm has joined #ltsp
02:04mikian has joined #ltsp
02:04zodman has quit IRC
02:16Daggett has joined #ltsp
02:18tux_440volt has joined #ltsp
02:25rcy has quit IRC
02:26rcy has joined #ltsp
02:29gentgeen__ has quit IRC
02:36rcy has quit IRC
02:44vagrantc has quit IRC
03:03rcy has joined #ltsp
03:48Avatara has joined #ltsp
03:56ogra1 has joined #ltsp
03:57ogra1 is now known as ogra
04:06doggkatcha has joined #ltsp
04:14muh2000_ has quit IRC
04:19doggkatcha has quit IRC
04:38highvoltage has quit IRC
04:44bobby_C has joined #ltsp
04:48muh2000 has joined #ltsp
04:49meduxa has joined #ltsp
05:21mikkel has joined #ltsp
05:33F-GT has quit IRC
05:40ccherret1 has joined #ltsp
05:40plamengr has quit IRC
05:40plamengr has joined #ltsp
05:41plamengr has left #ltsp
05:47Clown-MG has joined #ltsp
05:51ccherrett has quit IRC
06:02plamengr has joined #ltsp
06:02F-GT has joined #ltsp
06:14tux_440volt has quit IRC
06:17plameng1 has joined #ltsp
06:17plameng1 has left #ltsp
06:24meduxa has quit IRC
06:24plameng1 has joined #ltsp
06:24plameng1 has left #ltsp
06:34fernando122 has quit IRC
06:34meduxa has joined #ltsp
06:37newmember has quit IRC
06:39meduxa is now known as toscalix
06:42Amaranth has joined #ltsp
07:00highvoltage has joined #ltsp
07:12gentgeen__ has joined #ltsp
07:21Guaraldo has joined #ltsp
07:31danrez has joined #ltsp
07:35ws101 has joined #ltsp
07:41fernando1 has joined #ltsp
08:01
<sbalneav>
Morning all
08:02ws101 has quit IRC
08:02toscalix has quit IRC
08:03
<ogra>
!s
08:03
<ltspbot`>
ogra: "s" is Scotty!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
08:06jammcq has quit IRC
08:10cliebow_ has joined #ltsp
08:10muh2000 has quit IRC
08:15muh2000 has joined #ltsp
08:20xrashad has left #ltsp
08:23bobby_C has quit IRC
08:25elisboa-off is now known as elisboa
08:48jammcq has joined #ltsp
08:48
<jammcq>
g'morning kidz
08:48
<ogra>
hey hey
08:51
<sbalneav>
Morning jammcq
08:53
<elisboa>
morning
08:55fernando1 has quit IRC
08:56nicoAMG has joined #ltsp
09:08
<cliebow_>
jammcwq:??
09:08
jammcq:??
09:09
<jammcq>
hey cliebow_
09:09
<cliebow_>
jammcq:jusy is out on the Seawall in November..i'll know bwtter in a week
09:10
Balls!
09:10
David Lloyd my have to go to Montana for a spell
09:11
<jammcq>
ok.... what does that mean to us?
09:11Gadi has joined #ltsp
09:12
<cliebow_>
ill know bwtter then end of this week..In the meantime thinking of what might be an alternatove
09:12
<jammcq>
would his place be shut down while he's away?
09:12
<cliebow_>
How many rooms might we be needing
09:13
<jammcq>
umm, maybe 5 rooms
09:13
<cliebow_>
that was the iumpression i got ..yes
09:13
<jammcq>
hmm
09:13
we're talking saturday-monday
09:13
<cliebow_>
do we need the "boardroom"..the restaurant part?
09:14
<jammcq>
well, it would be nice to have a place to *BE*
09:15
<cliebow_>
ok...ill do some digging and let you know..
09:15
we'd only need one piece of the dining room in Seawall right?
09:16
<ogra>
jammcq, i talked to jcastro btw, he brings his car
09:16
<cliebow_>
ogra: to Boston?
09:17tux_440volt has joined #ltsp
09:17
<jammcq>
ogra: yeah, we chatted about that. looks like the plans are coming together
09:17Avatara has quit IRC
09:17
<ogra>
cliebow, yes, since we only have 1.5 days and need to be back to boston for the next conference
09:18Avatara has joined #ltsp
09:18
<cliebow_>
jammcq: so we need Sat and Sunday night?
09:18
<jammcq>
yeah
09:19
well, some of the guys won't need sunday night
09:19
<cliebow_>
k..feel free to kick dlloyd in the shins yourself if you want to...
09:19sep__ has joined #ltsp
09:19
<ogra>
we need to be abck in boston on sun at 5pm
09:19
*back
09:20
<jammcq>
ogra: yeah, jorge will take care of that
09:20
<ogra>
yup
09:20sep has quit IRC
09:21sep__ is now known as sep
09:21subir has quit IRC
09:23fernando1 has joined #ltsp
09:24peter_ has joined #ltsp
09:25
<peter_>
hey there, don't know if anyone can help me - im setting up a thin client server using kubuntu feisty. i have a neoware thin client. everythign seems to work, except the graphical login screen just doesnt show up. if i ctrl-alt-f1, i get to a login prompt, but it doesnt accept a login. any ideas?
09:25
thanks!
09:27
<cliebow_>
peter_:ogra was here a sec ago..
09:27
<elisboa>
peter_: first of all: if the graphical login screen doesn't work, then you need to set the X11 configuration
09:27rjune_ has joined #ltsp
09:27
<peter_>
where?
09:28
and what will i need to do? maybe add more resolutions?
09:28
just wth dpkg-reconfigure xserver-xorg or something?
09:29
<cliebow_>
peter_:you "could"create an lts.conf..but we are not sure your rootfs is mountesd and all that
09:29
<peter_>
:) any way to tell?
09:29
<sbalneav>
peter_: First thing I'd do is try to put XSERVER=vesa in the /opt/ltsp/i386/etc/lts.conf
09:29
<peter_>
ok, thanks :) one sec...
09:30
<cliebow_>
sbalneav: should say [default]as well?
09:31
<sbalneav>
Well, either for that particular client, or [Default] if you've only got the one.
09:31
<peter_>
yeah it says that
09:31
wow is it possible to load differnet settings for different clients now?
09:31
<cliebow_>
always has beren
09:32
<peter_>
wow :) i never knew... how do you differnetiate? mac address?
09:32
<sbalneav>
yeah
09:32
<cliebow_>
yep..or ip..or name if it is clear
09:32
<peter_>
thats damn cool
09:32
<cliebow_>
wehat its hostname is
09:32
<sbalneav>
[00:00:DE:AD:BE:EF]
09:32
XSERVER=vesa
09:32
<cliebow_>
[192.168.0.67]
09:32
<rjune_>
howdy guys
09:32
<sbalneav>
substitude for mac address of the client.
09:33
<peter_>
ive only got the one at the mo. its booting...
09:33
<cliebow_>
[[iberockin]
09:33
<sbalneav>
the hostip or name only works properly if you have assigned hostnames in dhcp. if you've just got random ip's being handed out, use the mac address.
09:34
<peter_>
hmm ok i updated the config file, and im getting the same thing, just a blinking cursor
09:34
the kubuntu loading screen works fine, btu then just teh cursor
09:34
<sbalneav>
otherwise if dhcp hands out a different ip address to a client, your custom settings will get sent to a different box.
09:34
<peter_>
ah, good to know. at the moment its just on random addresses, and i hav 1 box so ill just put it on default :)
09:36
sbalneav: so... no gui still, anything else i can try?
09:40
<cliebow_>
peter_:do you know what video card??
09:41
<peter_>
cliebow: hmm, no. its a neoware thin client
09:41
cliebow_: i will google ti quick
09:41
<cliebow_>
k
09:43
it seems you are far enough along to get a login on the client..is so y6ou can get a pci id with lspci
09:44
<sbalneav>
You can set a root password in the chroot...
09:44
!localdev
09:44
<ltspbot`>
sbalneav: "localdev" is (#1) Information regarding using pluggable devices and cdroms with LTSP can be found at http://wiki.ltsp.org/twiki/bin/view/Ltsp/LTSP-42-LocalDev, or (#2) for ubuntu: https://wiki.ubuntu.com/EnableLTSP5LocalDevices, or (#3) for debian-edu: http://wiki.debian.org/DebianEdu/HowTo/LocalDeviceLtspfs, or (#4) http://wiki.ubuntu.com/DebugLocalDev
09:45
<sbalneav>
Take a look at link #4 there, and follow the procedure for setting the password in the chroot
09:45
<peter_>
ok
09:45
<sbalneav>
then you can log into the client as root on ctl-alt-f1, and do an lspci.
09:45
and tell us what kind of video card it in it.
09:45
Also, how much ram, etc.
09:45fgiraldeau has joined #ltsp
09:46
<sbalneav>
morning fgiraldeau
09:46
<fgiraldeau>
hi there
09:46
sbalneav: Hope you're fine
09:46
<peter_>
cyrix 5530 video
09:46
<sbalneav>
Doin' ok.
09:48
peter_: Well, you've got 3 choices for cirrus
09:48
<cliebow_>
peter_ i always used xserver=nsc for cyrix
09:48
in 4.1/2
09:49
<peter_>
and 128m ram i think
09:49
ok :)
09:49
<sbalneav>
whoops, sorry, not cirrus, cyrix
09:49
yeah, try setting XSERVER=nsc
09:50
<peter_>
k
09:50vagrantc has joined #ltsp
09:52
<vagrantc>
otavio: i fixed a couple more bugs already ...
09:53
<peter_>
sbalneav: same thing, any other options i can try?
09:53
sbalneav: ive just noticed it has 1 PCI slot, so if all else fails...
09:54
<cliebow_>
peter:there is a cyrix driver (i think)..i never had any luck with it..
09:55
<peter_>
cliebow_: just called cyrix? ill try
09:56
<cliebow_>
/opt/ltsp/i386/usr/lib/xorg/modules/drivers/
09:56
thay is gutsy's path
09:57
<peter_>
cliebow_: so what do i put in my lts.conf?
09:59
<cliebow_>
XSERVER=cyrix i think
09:59
i have little fsityh
09:59
heh
09:59
faith
09:59
<peter_>
cliebow_: boo, just tried that and no luck, looks like cheap video card time
09:59
<cliebow_>
i dont know if the old wiki has anything..hang a sec
10:00
<peter_>
not a good sign that vesa doesnt work really...
10:00
<cliebow_>
cyrix is an odd duck
10:00
<sbalneav>
How many of these neoware clients do you have?
10:00
<peter_>
never heard of it before...
10:00
just the one :)
10:01
<cliebow_>
http://wiki.ltsp.org/twiki/bin/view/Ltsp/VideoCards#Specific_card_settings
10:01
you may find a nugget there from ther geode cards
10:01
<peter_>
just setting it up as an extra office machine for my parents - i set up a fair fre LTSP networks though so sorta wanted to test premade ones as well, ya know how it is ;) normally cannibalise them out of other comptuers
10:05
thanks for that page. ill fiddle around but ill prob justg et a cheap gfx card, save me a lot of hair tearing
10:05
any gfx card makes particulaly reccomended?
10:06
<cliebow_>
yeah i cant believe we cant get a working config...any way to flash boot the sucker to slax or anything??
10:06
<vagrantc>
sbalneav: so, i made an ltsp.org theme for LDM :)
10:07elisboa has quit IRC
10:07
<peter_>
cliebow_: heh, that went over me a bit :)
10:07
<sbalneav>
vagrantc: Cool!
10:07
In your tree?
10:09
<vagrantc>
sbalneav: it's in my main branch: http://llama.freegeek.org/~vagrant/bzr/ltsp/vagrant-main
10:09fernando1 has quit IRC
10:10
<vagrantc>
sbalneav: basically, just grabbed the LTSP.org logo off the website, and gave it a blue-ish background.
10:10
sbalneav: i'm overall quite pleased with it
10:10
<sbalneav>
Sweet
10:10
Thanks!
10:11prpplague has joined #ltsp
10:11peter__ has joined #ltsp
10:11
<peter__>
whoops pressed the wrong button, heheh
10:12
is there anything worth trying apart from nsc and cyrix driver wise?
10:12
<vagrantc>
sbalneav: might be more appropriate as an example for ltsp.org than the current ubuntu theme :)
10:16
sbalneav: but like otavio said, i think we should split ldm into it's own source package, and split the themes into a separate package.
10:18elisboa has joined #ltsp
10:27peter_ has quit IRC
10:29
<peter__>
bah, i give up, haha
10:39staffencasa has joined #ltsp
10:40
<otavio>
vagrantc: I've uploaded it
10:40
vagrantc: but you can prepare another upload if want to
10:43
<vagrantc>
otavio: well, i'll wait a bit. it's just some fixed themes and such :)
10:43
<otavio>
vagrantc: feel free to make it if you want
10:44fernando1 has joined #ltsp
10:44
<otavio>
vagrantc: no problem et all
10:52fernando1 has quit IRC
10:57* vagrantc impatiently waits for the upload to hit incoming
11:09joebake1 has joined #ltsp
11:11joebake1 has quit IRC
11:12joebake1 has joined #ltsp
11:13
<joebake1>
Are the 3d effects Compvis starting to work on LTSP thin clients in Gutsy?
11:13
Under Ubuntu...
11:15tux_440volt has quit IRC
11:15joebake1 has quit IRC
11:15j0ebaker has joined #ltsp
11:16
<sbalneav>
joebake1: Well, we don't disable them, so if compiz supports the x server on the thin client, it should work.
11:18
<vagrantc>
sbalneav: so, how do you enable multiple servers in LDM2 ?
11:19
<sbalneav>
Well, one of two ways
11:19
Well, same way, actually...
11:20
Either set LDM_SERVER="host1 host2 host3" etc.
11:20
or create a shell script called... (looks)
11:20
/usr/lib/ltsp/get_hosts
11:21
that returns a space separated list of hostnames/ips
11:21
The script is so you can randomize/put in least busy order, etc.
11:25
<vagrantc>
if it's a script that the admin creates, it belongs in /etc
11:26
sbalneav: but is there a drop-down menu for it? or is that still unimplemented ?
11:26sepski has joined #ltsp
11:26
<vagrantc>
sbalneav: actually, why not just have it be a lts.conf setting pointing to the script ?
11:31
<sbalneav>
vagrantc: yes, in the greeter, under "hosts"
11:32
<vagrantc>
sbalneav: hmm...
11:32
<sbalneav>
vagrantc: Yeah, probably should be.
11:32
<vagrantc>
sbalneav: so ... i set LDM_SERVER=foo bar in lts.conf ... but no menu item for hosts ... both appear in ssh_known_hosts
11:33
<sbalneav>
using hostnames or ip addresses?
11:33
<vagrantc>
ip addresses
11:33
<sbalneav>
hm
11:34
<vagrantc>
this is code based off of ubuntu's 5.0.31
11:34fernando1 has joined #ltsp
11:34
<vagrantc>
and i haven't tinkered with ldm at all, really.
11:34
<sbalneav>
is ldminfod running on both?
11:34
<vagrantc>
yup.
11:34
<sbalneav>
ok
11:34
<vagrantc>
well ... here's a confession... it's two ip addresses for the same machine ...
11:35
is ldm so smart that it figures that out ?
11:35
<sbalneav>
Well, I can' see why that wouldn't work. Check in /tmp/ldm on the thin client. There a file for each one of the hosts?
11:35fernando1 has quit IRC
11:35
<sbalneav>
can't
11:36* vagrantc grumbles about insecure use of /tmp
11:36* sbalneav ignores vagrantc, waits for him to quit grumbling and submit patches.
11:38
<vagrantc>
sbalneav: well, i've filed patches dozens of other times ... it's the same problem every time.
11:38
<sbalneav>
So, where do you want me to put it? /var/run?
11:39
<vagrantc>
it essentially equates to: if you use /tmp, use mktemp or tempdir or some equivalent functionality ... and if you need a static namespace, use /var/run or something
11:39
<sbalneav>
Does it actually matter on a thin client? Or are you just arguing on principle?
11:41muh2000 has quit IRC
11:41
<vagrantc>
if we are ever going to support fat clients/diskless workstations, it matters.
11:41
and some people already use them.
11:42* jammcq thinks we need to always think of thin clients just like any other linux box. after all, we want thin client users to get the same functionality
11:42* vagrantc emphatically agrees with jammcq
11:42
<jammcq>
emphatically? cool :)
11:44* sbalneav shrugs
11:44
<sbalneav>
Since /tmp and /var/run are, essentially scribble space, I tend to treat them the same.
11:45
<vagrantc>
/tmp is insecure in that any user can write to it...
11:46
<jammcq>
but if we follow the rules, then it'll make it easier later, for the local apps and fat-client stuff
11:46
<vagrantc>
so ... i could create a file ... /tmp/ldm which is a symlink to something i own ...
11:46
<sbalneav>
I'll ask ogra if we can make that big of a change this close to release.
11:46
<jammcq>
heh, good luck
11:46
I'd say release it as is, and fix it for gutsy+1
11:46
<vagrantc>
yeah
11:46
<sbalneav>
if yes, I'll make it right away, if not, I'll delay it 'till gutsy + 1
11:46
<vagrantc>
and keep it in mind in the future
11:47* sbalneav rolls eyes
11:48
<jammcq>
why, you got rolling eye syndrome or something?
11:48
<sbalneav>
Remember when we said that we'd keep doing this while it was fun? It's rapidly loosing the fun factor.
11:48* jammcq doesn't understand the problem
11:50
<vagrantc>
so ... /tmp/ldm contains an ip address that's not either of the IP addresses listed in LDM_SERVER
11:50
ah ...
11:50
because there's no routing
11:51* jammcq remembers the good ole days of routed
11:51* vagrantc had a stint with gated
11:52ogra has quit IRC
11:52ogra has joined #ltsp
11:54fernando1 has joined #ltsp
11:55* jammcq logs out,heading on a roadtrip to rochester, NY
11:55
<jammcq>
see ya'll later
11:55
<vagrantc>
have fun
11:55
<jammcq>
always
11:55
wouldn't have it any other way
11:57
<staffencasa>
What would the error message "*** PULSEAUDIO: Unable to connect: Connection refused" in .xsession-errors mean?
11:58jammcq has quit IRC
11:59twinprism_ has quit IRC
11:59
<ogra>
that your vlient has no recognized sound hw
11:59
*client
12:00
<staffencasa>
I don't need sound, is there a way to disable it so I don't get this error?
12:00
disable the check, not the hw
12:01
<ogra>
SOUND=false in your lts.conf
12:01
<staffencasa>
sweet, thanks
12:03masus has joined #ltsp
12:05tux_440volt has joined #ltsp
12:06plameng1 has joined #ltsp
12:06plameng1 has left #ltsp
12:07
<peter__>
hey does anyone have any idea about cyrix drivers? ive got a neoware eon here i cant get the gui to load :( tried a few diff driver options but nothing works... tried earlier but wondered if anyone else has an idea :D
12:09masus has quit IRC
12:14ws101 has joined #ltsp
12:15Avatara has quit IRC
12:19Daggett has quit IRC
12:21masus has joined #ltsp
12:22Q-FUNK has joined #ltsp
12:22plamengr has quit IRC
12:29K_O-Gnom has joined #ltsp
12:33
<masus>
vagrantc are u there ?
12:34
<vagrantc>
masus: just ask your question, and someone will answer if they can
12:35
<masus>
yes i know but almost u are answer :)
12:35
is it not possible to give the ltsp-clients an virtual ip
12:35
for squid
12:36
<vagrantc>
not unless you do fat clients
12:36
<masus>
fat clients ?
12:36
normal clients
12:36
<vagrantc>
where all of the applications are running on the thin-client itself
12:36
but it still uses a remote filesystem for /
12:37
<masus>
nop i do not want that
12:38
:S
12:39
how many ltsp-clients can connect from 100/10 mb ethernet ..
12:39
at the same time
12:40
do u have test it
12:41
<Guaraldo>
masus: We have a client thar one gigabit Ethernet you can connect 100 clients with no problem...
12:42
<masus>
hmmm ok
12:42
<Guaraldo>
masus: I realy don't know how many clients can connect to a simple 10/100 Mb ethernet...
12:43
masus: Maybe near of 30, I think...
12:43
<masus>
Guaraldo thanks
12:44
<vagrantc>
masus: see, other people can answer :)
12:44
<Guaraldo>
masus: u r welcome
12:44
<masus>
:)
12:45
i have so much questions , u can't belive :D
12:45
not only ltsp , have to learn much
12:46nicoAMG has quit IRC
12:46
<masus>
can u give me a link or documantation for audio ?
12:46nicoAMG has joined #ltsp
12:48
<vagrantc>
masus: were you using debian lenny ?
12:49
<masus>
debian etch
12:55vagrantc_ has joined #ltsp
12:55
<vagrantc_>
masus: were you using debian lenny ?
12:55
masus: http://dev.freegeek.org/projects/vagrant/browser/vagrant-main/debian/doc/README.Debian.sound
12:55
might work with etch, too ... not sure.
12:55
<sbalneav>
masus: I have one server that has 52 on 10/100 switches.
13:00
<masus>
thanks
13:00
i'll see
13:00
sbalneav: thanks
13:02Q-FUNK has quit IRC
13:05vagrantc has quit IRC
13:13wwallace has joined #ltsp
13:13
<wwallace>
nice
13:13
hello to all
13:13
i come in peace
13:13
:)
13:17
<sbalneav>
Hello
13:18masus has left #ltsp
13:20fernando1 has quit IRC
13:21
<vagrantc_>
sbalneav: would it be complicated to use a lts.conf variable to use a different LDM theme ?
13:21
or is that defined at build time ?
13:22
<sbalneav>
Ummm
13:22* vagrantc_ don't read C real well
13:22
<sbalneav>
it's in the greeter... one sec
13:23
<vagrantc_>
oh, take as many seconds as you need :)
13:26
<sbalneav>
Well, a big chunk of the greeter was initially done by ogra, who basically transliterated the older python one into C, then I expanded it into the scriptable-greeter + extra menus + etc. So My gtk-fu is limited. That having been said...
13:27
I'm assuming the theme's settable via the standard "update-alternatives" method
13:28
<vagrantc_>
definitely is
13:28
<sbalneav>
So, why don't we have something in -core or -init that we specify the theme, and it does an update-alternatives on the fly?
13:28
<vagrantc_>
but that doesn't allow to set different themes on a per-thin-client basis
13:28
er
13:29
well, that would
13:29
<sbalneav>
Does that make sense?
13:29
<vagrantc_>
yes ... though it's a little cumbersome when not using unionfs
13:29
<sbalneav>
ah, right.
13:29
ummm
13:30
<vagrantc_>
not a huge priority, but it's been in the back of my mind for a while now
13:30
<sbalneav>
ok, then we need to do something along the lines of editing the gtkrc file that it loads.
13:30
since the pointer to the theme's in there.
13:30
<vagrantc_>
it's not a variable we can easily change at run-time ?
13:31* vagrantc_ exudes cluelessness
13:31
<sbalneav>
Well, see what it does is load:
13:31
gtk_rc_add_default_file(GTKRC_DIR "/greeter-gtkrc");
13:31
and the theme stuff's in there
13:32
<vagrantc_>
yeah, saw that ...
13:32
<sbalneav>
and it points to the alternatives.
13:32
now, if we were willing to have multiple greeter-gtkrc files
13:32
one for each theme
13:32
<vagrantc_>
we do
13:32
GTKRC_DIR, as i understand it, points to /usr/share/ldm/themes/default
13:33
<sbalneav>
Ah, I thought the gtkrc file was linked around as well.
13:33
Well, then it's just a case of overriding GTKRC_DIR
13:34
<vagrantc_>
yeah, i just didn't know if that was a variable or what
13:35fernando1 has joined #ltsp
13:36
<vagrantc_>
sbalneav: GTKRC_DIR is specified in the Makefile.*
13:36masus has joined #ltsp
13:36
<vagrantc_>
which is why i wondered if it was hard-coded
13:37fernando1 has quit IRC
13:37
<vagrantc_>
also would have to do the same for PIXMAPS_DIR
13:38
though this is just a feature request ... maybe i could stumble my way through the C required
13:40sepski has quit IRC
13:40bobby_C has joined #ltsp
13:43
<cliebow_>
wwallace:dont you know peace is a dirty word ..
13:44
<cyberorg>
ln -s can be done on the fly when booting to get whatever theme required
13:44meduxa has joined #ltsp
13:45ccherret1 is now known as ccherrett
13:45
<cyberorg>
isn't that what alternatives is doing?
13:45
<vagrantc_>
cyberorg: well, presuming your filesystem is writeable
13:45
although ...
13:45
<cyberorg>
vagrantc_, yeah it is if we use nbd, for nfs we would have to add more bind mounts
13:46
<vagrantc_>
/etc/alternatives is all symlinks ... so wouldn't consume a lot of ram
13:46dniel has joined #ltsp
13:46fernando1 has joined #ltsp
13:48peter__ has quit IRC
13:48
<vagrantc_>
i still like the idea of implementing in ldm itself, but update-alternatives actually would work out ok
13:50twinprism_ has joined #ltsp
13:50fernando1 has quit IRC
13:50twinprism_ has quit IRC
13:51
<sbalneav>
Sorry, workpinged.
13:51
Yeah, it woudn't be that hard to default to the makefile hardcodes, but override with env variables if present.
13:52
<vagrantc_>
maybe i could try and write it, using my fine cargo-cult C programming skills
13:52ary has joined #ltsp
13:54
<sbalneav>
Well, right now, since it's statically defined GTKRC_DIR, the string works out to be "/blah" "/foo", which the c preprocessor turns unto "/blah/foo"
13:54
What we'd have to do is something along the following:
13:54
char gtkrc_path[MAXPATH];
13:55
char *env_override;
13:55
env_override = getenv("LTSP_THEME_WHATEVER")
13:55
if (env_override)
13:56
sprintf(gtkrc_path, "%s/greeter-gtkrc", env_override)
13:56
else
13:56
sprintf(gtkrc_path, "%s/greeter-gtkrc", GTKRC_DIR)
13:57
gtk_rc_add_default_file(gktrc_path);
13:57
That's off the top of my head.
13:57
<vagrantc_>
looks promising
13:57
<sbalneav>
two sprintfs though.
13:57
<vagrantc_>
and then something similar for the PIXMAP_DIR stuff ... which there's a lot more of
13:57
<sbalneav>
one sec
13:59
env_override = getenv("LTSP_THEME_WHATEVER");
13:59
if (!env_override) env_override = GTKRC_DIR;
13:59
sprintf(gtkrc_path, "%s/greeter-gtkrc", env_override);
13:59
Hm
13:59
that didnt paste nicely.
13:59
anywho.
13:59
something like that.
14:00
and yeah, basically the same thing for the pixmap dir.
14:00masus has quit IRC
14:00
<sbalneav>
lol
14:00* sbalneav keeps optimizing
14:01
<sbalneav>
sprintf(gtkrc_path, "%s/greeter-gtkrc", env_override ? env_override : GTKRC_DIR)
14:01
eliminate the if :)
14:02
there, now it's down to 2 more decls, and 2 extra lines of code :)
14:02* vagrantc_ logs
14:04
<vagrantc_>
so, i've built debian packages with the shiny new LTSP.org and Debian themes: http://llama.freegeek.org/~vagrant/debian/experimental/ldm_5.0.31debian2~0.vagrant.0_i386.deb
14:09dniel has quit IRC
14:11fernando1 has joined #ltsp
14:22ary has quit IRC
14:24muh2000 has joined #ltsp
14:25rjune has joined #ltsp
14:28tux_440volt has quit IRC
14:32Amaranth has quit IRC
14:43Amaranth has joined #ltsp
14:48ccherrett has quit IRC
14:48ccherrett has joined #ltsp
14:48meduxa has quit IRC
14:57Gadi has left #ltsp
14:59cliebow_ has quit IRC
15:02danrez has quit IRC
15:12plamengr has joined #ltsp
15:12plamengr has left #ltsp
15:13Guaraldo has quit IRC
15:15Guaraldo has joined #ltsp
15:15highvoltage has quit IRC
15:18Clown-MG has quit IRC
15:32Guaraldo has left #ltsp
15:34Guaraldo has joined #ltsp
15:35Amaranth is now known as NotAmaranth
15:41NotAmaranth is now known as Amaranth
15:42fgiraldeau has quit IRC
15:54vagrantc has joined #ltsp
16:01K_O-Gnom has quit IRC
16:07vagrantc_ has quit IRC
16:21Guaraldo has left #ltsp
16:22bobby_C has quit IRC
16:25J45p3r has joined #ltsp
16:31
<ogra>
vagrantc, just change the link on the fly
16:31
<vagrantc>
ogra: yeah, i've got scripts to handle that
16:31
ogra: but i still think it would be better to handle in ldm
16:31
<ogra>
well, indeed and its trivial
16:32
<vagrantc>
the bummer is you have to put /var/lib/dpkg/alternatives into tmpfs
16:32
which is about 120k on my test system
16:33
<ogra>
gah
16:33
<vagrantc>
so i like using alternatives for the default, but setting it in the code on the fly
16:33
<ogra>
well, ubuntu is about done wrt chnages for gutsy ... feel free to go ahead :) i bet scott is bored soon with only testing and bugfixing :)
16:34
<vagrantc>
sounded like he already had a pretty good idea of what needed to be done.
16:34
<ogra>
and the patch is really a three liner i guess :)
16:34
<vagrantc>
a little more than 3 lines, but not too bad.
16:35
<ogra>
yeah, its C you need to initialize vars and free them etc
16:35
but the actual code shouldnt be more than 3 :)
16:35
<vagrantc>
ah, got it
16:36
<ogra>
read from env ... check if env var is set, replace theme path ...
16:36
profit :)
16:36
<vagrantc>
exactly.
16:37
ogra: did you see otavio and me talked about splitting ldm themes into separate packages ? no sense stashing all those .png files into an arch: any packages ... should be arch: all
16:37
ogra: and we're also itchin for a separate source package for ldm ...
16:38
<ogra>
sure, go ahead
16:38
<vagrantc>
ok, good.
16:38
will try and implement it in debian the next few weeks.
16:38
<ogra>
but make sure it has proper initscripts etc, so you can run it standalone :)
16:38
thats the main reason i held back with splitting it
16:39
<vagrantc>
ah.
16:39
well, that's not crazy-difficult.
16:39
<ogra>
well, still a lot of work to do secure
16:39
<vagrantc>
actually, to get full "Pax Displayicus Managerius" compatibility is a bit of a pain in the arse.
16:39
<ogra>
and without clashing with other DMs
16:40
right, thats my point
16:40
<vagrantc>
still, not insanely difficult.
16:40
<ogra>
having a standalone ldm would make wlan images easier ....
16:40
well, that and some initramfs magic
16:40
<vagrantc>
still would be better off with freenx or something
16:41Amaranth has quit IRC
16:41
<ogra>
well, i wont write a freenx ltsp-build-client plugin :)
16:41
<vagrantc>
heh
16:41
<ogra>
but writing an initramfs script and hook for wlan handling is easy :)
16:42
<vagrantc>
wlan ... meaning .. ?
16:42
debian-live has a "boot over http" thingy
16:42
<ogra>
wireless minimal bootimage
16:42
<vagrantc>
well, kernel and initramfs come from somewhere else ...
16:43
<ogra>
right
16:43Amaranth has joined #ltsp
16:43mikkel has quit IRC
16:43
<ogra>
anyway, i'm off for today
16:43
<vagrantc>
see ya
16:45
actually, you don't *have* to run ldm from init.d scripts ... i've just documented how to run it from /etc/inittab ... probably wouldn't be hard to do for upstart
16:45
there are plenty of packages that require manual configuration to work
16:48* vagrantc fears how long it will last in the NEW queue ...
16:53MagicStorm has quit IRC
16:54MagicStorm has joined #ltsp
17:37nicoAMG has quit IRC
17:44prpplague has quit IRC
17:44xlyz has joined #ltsp
17:44xlyz has left #ltsp
17:44vagrantc has quit IRC
17:48cliebow has quit IRC
17:55IRCzito has joined #ltsp
18:08
<Shingoshi>
http://userstyles.org/styles/3569
18:09captain_magnus has quit IRC
18:10captain_magnus has joined #ltsp
18:46lns has joined #ltsp
18:48
<lns>
hey all, i just figured out a daunting problem with my compaq ipaq workstations (c500-810e) regarding the headphone jack sense... can anyone tell me how to store the current sound configuration on my ltsp client (ubuntu/feisty) so all the clients boot with it? The issue was that the headphone jack sense was turned off - I turned it on w/alsamixer..but when i reboot, it reverts to defaults.
18:55
boooo.... haha...help! ;)
19:02staffencasa has quit IRC
19:04wwallace has quit IRC
19:08lns has quit IRC
19:37kejava has joined #ltsp
19:44fernando1 has quit IRC
20:16IRCzito has quit IRC
20:41kejava has left #ltsp
21:07memememe has joined #ltsp
21:07cliebow has joined #ltsp
21:07memememe has left #ltsp
21:29J45p3r has quit IRC
21:40jammcq has joined #ltsp
21:40
<jammcq>
hey kidz
21:43rafaelfeito has joined #ltsp
21:51elisboa has quit IRC
21:58elisboa has joined #ltsp
22:06fernando1 has joined #ltsp
22:12loather-work has joined #ltsp
22:24spectra has quit IRC
22:41zodman has joined #ltsp
22:51Joris_ has joined #ltsp
23:00
<sbalneav>
Evening all
23:00
<jammcq>
Scotty !!!!!!!!!!!!!!!!!!!!!!!!!
23:02
<sbalneav>
Hey jammcq
23:04Joris has quit IRC
23:24MagicStorm has quit IRC
23:31sbartleylinux has joined #ltsp
23:53Amaranth has quit IRC
23:55sbartleylinux has left #ltsp
23:55sbartleylinux has joined #ltsp
23:59Amaranth has joined #ltsp