|00:03||subhodip has joined #ltsp|
|00:28||vagrantc has quit IRC|
|00:30||keithclark has quit IRC|
|00:31||alkisg has joined #ltsp|
|00:32||makghosh has joined #ltsp|
Hahha, I'll make vagrant happy
well, not why, but how :)
Turns out some of the timing problems they've been having are due to timing problems with the X server starting.
So, we spawn X, but begin doing things on the X server before it's actually ready to work.
Turns out, if you spawn the X server with SIGUSR1 set to SIG_IGN, X takes this as a hint that, when you've got everything plumbed...
it'll send a SIGUSR1 to the parent process. In this case, ldm.
So, all we need to do is:
use ldm_spawn to start X, with an additional helper function that sets SIGUSR1 to SIG_IGN
Then, before we do anything else, block, using sigsuspend() in a loop, waiting for SIGUSR1
then, when we get it, we know X is fully started, and we can continue plumbing the connection.
Race conditions... fixed!
I'll code it up tomorrow.
|01:02||* sbalneav is so happy.|
That'll make things more reliable.
I'm up late.
I'm still wired.
And I'm feelin' feisty.
FLAME WAR TIME.
K&R bracing style for C coding is The One True Style, and anyone who thinks different is a HEATHEN!
|02:41||makghosh is now known as arindam|
|02:59||captain_magnus has quit IRC|
|02:59||captain_magnus has joined #ltsp|
|03:17||highvoltage has quit IRC|
|03:21||Q-FUNK has joined #ltsp|
|03:28||warren has joined #ltsp|
|03:33||indradg_ has quit IRC|
|03:33||indradg_ has joined #ltsp|
|03:46||subhodip has quit IRC|
|03:50||alkisg has left #ltsp|
Is any wireless card capable of doing netboot?
|03:51||* warren is wondering if he should blacklist all wireless drivers from auto-loading.|
|03:58||alkisg has joined #ltsp|
|04:45||roshan08 has joined #ltsp|
|04:46||roshan08 has left #ltsp|
|04:48||gonzaloaf_laptop has quit IRC|
|04:48||gonzaloaf_laptop has joined #ltsp|
|05:08||Egyptian[Home]1 has joined #ltsp|
|05:11||alkisg1 has joined #ltsp|
|05:12||alkisg has quit IRC|
|05:12||alkisg1 is now known as alkisg|
|05:28||otavio has joined #ltsp|
|05:30||Egyptian[Home] has quit IRC|
|05:35||exodos has quit IRC|
warren, we dont include any wlan drivers in the ubuntu/debian initramfs
|06:00||subhodip has joined #ltsp|
warren, (for netbooting that is)
ogra: yeah, I just removed them all from my initrd
ogra: some of them can cause boot problems because it loads without firmware available
(no such pobs in ubuntu though, but it shrinks the initrd massively)
|06:17||highvoltage has joined #ltsp|
it is only a problem due to kernel bugs
they never test it without firmware
one example of badness is airo
wel, why should they test without firmware :)
|06:24||mikkel has joined #ltsp|
|06:32||Q-FUNK has quit IRC|
|06:59||subhodip has quit IRC|
|06:59||otavio has quit IRC|
|07:00||otavio has joined #ltsp|
|07:04||subhodip has joined #ltsp|
|07:30||Nubae has joined #ltsp|
|07:43||Appiah has quit IRC|
|07:48||Q-FUNK has joined #ltsp|
|07:49||sepski has joined #ltsp|
|07:59||slipttees has joined #ltsp|
|08:00||slipttees has quit IRC|
|08:05||DonSilver has joined #ltsp|
|08:05||alkisg has quit IRC|
|08:24||sepski has quit IRC|
|08:37||alkisg has joined #ltsp|
|08:50||bobby_C has joined #ltsp|
|08:53||subhodip has quit IRC|
|08:55||Q-FUNK has quit IRC|
|08:55||Q-FUNK has joined #ltsp|
|09:14||alkisg has quit IRC|
|09:21||alkisg has joined #ltsp|
|09:27||Egyptian[Home]1 has quit IRC|
|09:36||alkisg has left #ltsp|
|09:40||alkisg has joined #ltsp|
|09:50||alkisg has left #ltsp|
|09:59||Q-FUNK has quit IRC|
|10:12||indradg_ has quit IRC|
|10:13||indradg_ has joined #ltsp|
|10:14||gonzaloaf_laptop has quit IRC|
|10:22||alkisg has joined #ltsp|
|10:27||Q-FUNK has joined #ltsp|
|10:27||DonSilver has quit IRC|
|10:43||indradg_ has quit IRC|
|10:44||K_O-Gnom has joined #ltsp|
|10:56||alkisg has left #ltsp|
|10:58||indradg_ has joined #ltsp|
|11:26||mikkel has quit IRC|
|11:30||Appiah has joined #ltsp|
|11:35||arindam has quit IRC|
|11:36||johnny has left #ltsp|
|11:37||cliebow has joined #ltsp|
jammcq:you were asking about wireless antenna?
|11:50||klausade has quit IRC|
|11:51||cliebow has quit IRC|
|11:51||cliebow has joined #ltsp|
|11:53||johnny has joined #ltsp|
|11:53||johnny is now known as Guest7000|
hey is create usb startup disk a intrepid only thing, or is it hardy with updates too?
|12:23||alkisg has joined #ltsp|
|12:26||tino_ has joined #ltsp|
|12:30||Loto has joined #ltsp|
|13:00||Colvile has quit IRC|
|13:10||Q-FUNK has quit IRC|
|13:11||Q-FUNK has joined #ltsp|
|13:14||cliebow_ has joined #ltsp|
|13:20||cliebow has left #ltsp|
|13:32||vagrantc has joined #ltsp|
|13:35||alkisg has left #ltsp|
|13:38||alkisg has joined #ltsp|
|13:39||Guest7000 has left #ltsp|
well, looks like i'll just have a patched ltspfs 0.5.3 nearly identical to 0.5.5 rather than 0.5.5 ... heh. :)
vagrantc, I do want to test debian ltsp sometime... maybe when lenny is out! :)
I'm installing an LTSP server (Intrepid) and I only have my laptop as a TC to test the server. Boots OK but kbd/mouse do not work under X. I can press Ctrl+Alt+F1 and logon to the TC console though. Xorg.7.log says "Cannot locate a core pointer device" and to reconfigure HAL or disable AllowEmptyInput. Any ideas?
|13:52||Eeyore-Jr has quit IRC|
alkisg: lenny will be out ... someday :)
|13:57||kleewyck has joined #ltsp|
alkisg: but it's reasonably stable ... don't see a lot of changes day-to-day.
|13:57||kleewyck has quit IRC|
alkisg: weird one
Nubae, I got the keyboard working temporarily by creating a xorg.conf, putting allowemptyinput and restarting X (all these on the TC)
did u set CONFIGURE_X=True?
Anyway, this will do for now!!! I don't have other TCs here, grrr...
Nubae, no, I didn't try it. I'll try it now...
ah wait not necessary for keyboard and mouse in theory
|14:11||Ahmuck has joined #ltsp|
Nubae, magic! It worked!! (damned if I know why...)
Err... only keyboard worked, no touchpad, no usb mouse... :(
Anyway, this will have to do, it's for server testing anyhow
well then maybe u need to tweak the mouse, touchpad
I mean the x_keyb and x_mouse settings or whatever they are called
Nubae, usb-creator is intrepid only
ogra: ok, thanks
|14:18||* Nubae put his foot in his mouth by anouncing that was available for hardy too :p|
you can use hardy isos with it i think
but it will only run on intrepid
|14:21||vagrantc has quit IRC|
|14:49||johnny has joined #ltsp|
|14:55||indradg_ is now known as indradg|dinner|
|14:56||ogra has quit IRC|
|14:56||ogra has joined #ltsp|
|15:04||mr_claus has joined #ltsp|
hi, i get a lot of "Read: Connection refused" errors while booting ltsp from the network, is there are problem with finding the nfs export?
|15:05||mistik1_ has joined #ltsp|
|15:09||vagrantc has joined #ltsp|
|15:16||mistik1 has quit IRC|
|15:16||mistik1_ is now known as mistik1|
|15:19||indradg|dinner is now known as indradg|
|15:19||indradg is now known as indradg|afk|
|15:30||Ahmuck is now known as Eeyore-Jr|
|15:31||sepski has joined #ltsp|
|15:40||alkisg has quit IRC|
|15:42||alkisg has joined #ltsp|
|15:46||Q-FUNK has quit IRC|
|16:08||Eeyore-Jr has quit IRC|
|16:15||bobby_C has quit IRC|
sbalneav: around ?
I was looking at my backlog and at the BTS wiki page. I find the idea of having a xrandr script interesting except that this one should be started before ldmgtkgreet. Is that something you can implement ? (let's say /usr/share/ldm/rc.d/P* got executed after X but before the greeter) ?
then we could have xrandr and xsetkbmap started as pre-ldm scripts
|16:45||petre has joined #ltsp|
stgraber: we have /usr/share/ldm/rc.d/I*
stgraber: post-X, pre-greeter
oh, that's great :)
stgraber: i just implemented setxkbmap and numlockx stuff using that.
what all can you do with xrandr, besides turn your screen upside down?
set the resolution and color depth?
resolution, screen rotation, dual-head
add/remove/switch modes too
and probably more with randr 1.3 (current is 1.2, 1.3 is being specced)
i tried playing with the commandline client the other day but couldn't figure out the syntax
that would sure beat hacking up the xorg.conf :)
xrandr --output VGA --mode 1024x768 --left-of LVDS
dual head would be cool
on my lappy that adds a 1024x768 screen connected to the VGA output left of my laptop
only probably with randr 1.2, you need to set a Virtual resolution that must be bigger than the total resolution of all your display
so here I have: 1680x1050 (my lappy), if I want to add a 1024x768 screen to the left of it, I'll need the Virtual resolution to be at least 2704x1050
it's the only thing that makes dual-head difficult on Linux at the moment :(
can you change the virtual resolution with xrandr itself, at least?
no, that's the problem
the Virtual resolution needs to be hardcoded in xorg.conf :(
stgraber, why can't it be changed with xrandr?
well, it at least sounds useful for setting resolution and color depth :)
petre: ask a Xorg developer ... I'd love it to just not exist :)
there's several ways to do dual-head on Linux
vagrantc: yeah and supporting it correctly will make dual-head easier when that limitation will disappear
depending on the chipset you have
how do you get a list of valid outputs?
vagrantc: just run xrandr
you'll get something like: default connected 1680x1050+0+0 0mm x 0mm
that's for the "default" output
on my EEE (Intel board), xrandr shows me: VGA (disconnected) and LVDS (connected 1024x600)
jammcq: yeah, randr is the way to setup clone/dual-head for cards with a standard open source driver, then ATI and Nvidia have their own stuff with the binary drives
I never could get dual head to work with Feisty on my Dell w/ Intel video
on my lappy I have a Radeon HD with the binary driver and I can setup a dual-head without having to touch my xorg.conf, but that's not using RANDR, it uses some kind of binary daemon to trigger some stuff
|17:03||otavio has quit IRC|
stgraber, nvidia does support xrandr
alkisg: oh ? so the Nvidia tool is just a frontend to randr now ?
stgraber, no :) but both are supported
ATI pretends to support RANDR but in fact they only support the resolution change part of it :) not the dual-head part
I don't know how well it supports it, but I can do dual head with my laptop without going to nvidia-settings
that's a big improvement
(I'd love to have that with my ATI :), on my Intel computers I have some .desktop to start the dual-head and I can't script the ATI stuff)
|17:06||makghosh has joined #ltsp|
|17:06||* stgraber is finishing the installation of the LTSP-Cluster demo/developement server. It'll have: firefox (+flash and java), skype, audacity and blender as localapps|
|17:17||Ahmuck has joined #ltsp|
|17:24||alkisg has left #ltsp|
|17:52||sepski has quit IRC|
|17:58||johnny has left #ltsp|
|17:59||johnny has joined #ltsp|
|17:59||johnny is now known as Guest66268|
|18:05||Guest66268 is now known as johnny|
|18:05||johnny is now known as Guest19187|
|18:09||Guest19187 has left #ltsp|
|18:10||johnny has joined #ltsp|
|18:23||FuriousGeorge has joined #ltsp|
|18:59||K_O-Gnom has quit IRC|
|19:13||petre_ has joined #ltsp|
|19:13||petre has quit IRC|
|19:15||johnny has left #ltsp|
|19:39||zceh has joined #ltsp|
|19:39|||Paradox| has quit IRC|
|19:39||zceh is now known as |Paradox||
|19:51||johnny has joined #ltsp|
figured you'd be at the cottage this weekend
Nope, shut 'er down last weekend.
shut it down?
like.... not going again until the spring thaw?
Well, cleaned it up, drained the water system, etc.
I haven't got enough firewood this winter to make it economical to visit during the cold season.
|20:31||FuriousGeorge has left #ltsp|
Plus, I need to build an outhouse, to combat the problem of a freezing septic system :)
|20:33||* stgraber is happy, he just got the webcam to work correctly with LTSP+localapp+skype+autologin|
hmm, that makes me have 2nd thoughts about visiting that cottage :)
Hey, outhouses are great! Economical, environmentally friendly, save on water, what's not to like? :)
jammcq: get a satellite link :)
What, wireless won't go 50 feet?
|20:35||indradg|afk has quit IRC|
power => diesel generator, heat => firewood
nothing worse than a butt splinter
|20:36||* sbalneav imagines an outhouse with a satellite link, dedicated 15kw diesel generator, and woodstove.|
|20:37||* jammcq just isn't the "roughing it" kind a guy|
So, don't come in the winter! :)
Summer's all indoor plumbing.
ah, problem solved
|20:49||indradg|afk has joined #ltsp|
|20:49||* vagrantc wants an internet shack|
i finally have an ltsp terminal machine at home :)
now.. i just need to get a video card with svideo out...
vagrantc: So, I've figured out the correct way to handle the X server race condition.
I'm coding it up now.
sbalneav: regarding the cdpinger segfault patch, pere mentioned something about using function(void) instead of function() for functions that don't accept any arguments.
So, the way to handle it properly is:
vagrantc: yeah, saw that.
Ryan52 says all our ltsp code doesn't do that.
or most of it
or something like that
I learned C years and years ago, so I keep doing the old (and as pere points out, not proper style) function() and not function(void).
oh, we are supposed to do function(void) in C ? :)
Let's go through at the hackfest, and take a quick shufty through the code, and fix any of those up.
stgraber: ya, otherwise it doesn't get mad if you try to do function(1,2,3)
Ryan52: ah, because () means "I'll care of the parameters myself)" ?
yeah, it's that newfangled fancy-pants "ANSI" way of doing C. These young whippersnappers with their standards and their loud rock-n-roll music. What's an old-fart C programmer to do?
|21:03||* stgraber is installing openarena as localapp, so we can have some fun at the hackfest :)|
When I learned programming, we didn't even have ones and zeros! All we had were zeros! And we *liked* it that way!
I taught myself C in 1985. Anyone remember the "C Primer Plus" by the Waite group?
well, except of iTalc I don't do much C/C++ anymore, most of my stuff are bash+python as most things can be done with that in a lot easier way than with compiled languages
Yeah, I've learned me bash pretty good, and I'm not completely useless with Python.
Anywho, we should fix those function prototypes up.
It's the right thing to do.
Do the needful.
So the way to fix it is:
|21:08||indradg|afk has quit IRC|
When we spawn the X server, we set SIGUSR1 to SIG_IGN
Then X will send a SIGUSR1 to it's parent process (ldm) when all it's input methods are plumbed, and it's ready to rock-n-roll.
|21:09||indradg|afk has joined #ltsp|
ldm just sits in a nice sigsuspend() loop, waiting for SIGUSR1
When we drop out the bottom, X is ready to go.
sbalneav: btw, while you are dealing with signals in LDM, can you also add catchall for keyboard input in ldm ? so we can then add <tab> = <enter> (to have a gdm-like behavior)
sbalneav: sounds good to me!
stgraber: We'd have to do that in the greeter
hmm, right, not the same part of ldm
Not sure how to do that, I'd have to look up the gtk funtion reference.
I think there's a way to do that for input fields, but I'd have to look it up.
it's probably gtk_emulate_gdm_enter_tab_behavior_foo_magic_thingy()
(it's one of the problem reported by our gdm => ldm migration testers)
just xmodmap it in the rc.d/I* and then switch it back with rc.d/S*
|21:14||* vagrantc grins|
vagrantc: hmm, I wonder why it sounds like a hack to me :)
IT'S A META-JOKE PEOPLE!! THIS IS MY BEST STUFF HERE!
Geez, it's either me or Gadi's "Your mama's thin client" jokes, take your pick. :)
sbalneav: i can't speak honestly without gadi being present.
it just ain't right.
|21:19||* sbalneav taps mike|
is that better?
Is this thing on... Is this thing on?!?
|21:21||* vagrantc listens to the feedback|
So, does anyone else get this errormessage from bzr?
Server is too old for streaming pull, reconnecting. (Upgrade the server to Bazaar 1.2 to avoid this)
I'dve thought that LP would be at the latest of whatever
Or do I need some magic glue in my bazaar.conf?
sbalneav: it's the branch that isn't up to date, not the server
sbalneav: bzr upgrade "remote URL"
(do a backup before you do that, just in case you break the branch server-side)
sbalneav@phobos:~/Devel/bzr/ldm-trunk-sbalneav$ bzr upgrade lp:~ltsp-upstream/ltsp/ldm-trunk
bzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format.
I'm taking it that my branch is ok?
please don't upgrade the remote branch.
we had agreed to a particular repository format.
It's my own branch
~ltsp-upstream/ltsp/ldm-trunk sounds an awful lot like the upstream branch
Well, I was merging from that.
should all be pack-0.92 format ...
So don't I want my branch to be the same format as trunk?
How can I find out?
|21:30||* johnny hopes the bzr people allow other shortcuts than lp|
|21:30||* johnny finds it shortsighted not to make it configurable|
i question their motives sometimes..
sbalneav: the fun thing is, i have no idea. because bzr reports one type, but all the bzr FOO --type sort of options use different names.
yeah.. it's lame
too many branch formats
at least 2 with each upstream version!
maybe a slight exadgeration, but not so much.
whatever, I'll just do what I always do. I'll just let people merge from my branch.
we had to go with 1.0 rich-root-pack for ltsp-cluster as it was imported from SVN ... that breaks compatibility with a good part of bzr client
sbalneav: what happens if you go in ldm-trunk and do : bzr merge ../ldm-trunk-sbalneav
The error message never stops me from doing things, I just wondered if it was normal.
I'll ignore it for now :)
|21:38||rcy has quit IRC|
|21:43||vagrantc has quit IRC|
yeah !!! OpenArena running on a thin client :)
ok, that's Atom based thin client and that's localapp but still :)
|21:49||Nubae has quit IRC|
shouldn't rich root pack be the default in bzr?
since later 1.x releases?
not sure, I just looked at a branch I recently created on Intrepid and it was 0.92
|21:53||* johnny kicks bzr in the face|
|22:00||captain_1agnus has joined #ltsp|
|22:12||captain_magnus has quit IRC|
|22:22||indradg|afk has quit IRC|
|22:27||rcy has joined #ltsp|
|22:39||petre_ has quit IRC|
and now I have Compiz working on the thin client :)
"sbalneav" pasted "diff's for X race removal" (165 lines) at http://pastebot.ltsp.org/87
Probably should set the handler for SIGUSR1 back to default SIG_IGN afterwards, I'll worry about that tomorrow.
In the meantime, x_session() doesn't return until X has started and ready to go.
sbalneav: good job
|23:07||CaScAdE^FarAway has joined #ltsp|
Night all, heading to bed.
|23:20||CaScAdE^1arAway has quit IRC|
|23:29||Ahmuck has quit IRC|