KDrive Servers.


Forum: X and Fluxbox
Topic: KDrive Servers.
started by: dare2dreamer

Posted by dare2dreamer on Mar. 13 2006,00:33
I was looking over at www.rule-project.org, and apparently it's possible to compile the kdrive servers for more than just Xvesa and Xfbdev.

I tested their precompiled Xvesa and it worked with a bit of hackery. This got me thinking. One of the strengths in DSL are these lightweight X11 servers. Rather than provide a full-blown Xfree86.dsl for those cards that need specific drivers for support (for example, the intel i810 which works poorly under Xvesa and Xfbdev), why not offer up some extensions for these alternate drivers?

Obviously, if you need the binary nvidia drivers or the like, this isn't going to work, but at a meg or less a piece we could easily make one or more extensions to get some of the less default-friendly laptops and the like online.

I'd be happy to knock up the extensions and submit them, but I need a little additional information as to what is needed beyond one of the Xservers in order for it to function properly as anything other than root.

Devs, geniuses, lend a contributer your brain for a few minutes?

Posted by dare2dreamer on Mar. 13 2006,16:28
Anyone?

I've gotten the server to run as root, but if I try to run them as user (with setuid permissions even) they hang themselves and take the console that launched them along for the ride.

Posted by cbagger01 on Mar. 13 2006,18:22
I was unable to get their precomiled servers to work without getting a segfault.

Please describe in detail the steps that you took to get it working.

I'd love to get a few small extensions like Xi810.dsl or Xati.dsl built and working.

Posted by dare2dreamer on Mar. 13 2006,19:27
Yeah, I'm trying to get an i810 going myself. Shall we call that our test case to keep things simple?

I downloaded a copy and ran it with sudo:

sudo Xi810 -screen 1024x768x32

It came up clean, it of course didn't read a .xinitrc or anything, but I got a default X background and X cursor. Killed it with CTRL-ALT-BACKSPACE with no issues. So it works as a server under DSL v2.2, but the trick is to get it to run with the right permissions and as a part of the whole startx/xinit cycle so it picks up .xinitrc and such.

When I tried running it as user dsl, it just hung badly enough to toast the console I ran it from. It basically just keeps flashing "awaiting connection from Xserver" and will not die. Kill -9 as root will kill it off, but the console is then non-responsive.

(hint for aspiring Kdrive tinkerers, enable ssh on your test rig before you start messing with it unless you like the sound of reboots)

As per the Kdrive pages, I've set permissions to 4711 (chmod +s) and ownership to root:root...with no additional effect.

I've tried running mkwriteable manually and copying it into place. Made no difference.

At a guess, it's capable of running but the server is not currently being called by the startx/xinit scripts properly for some arcane reason. This, admittedly, is where my knowledge starts getting grey quickly. I've tried all sorts of combinations of symlinking it into place (in /usr/X11R6/bin), but it doesn't seem to make a difference.

I'm willing to keep swinging at it with some help though. Would love to see these in the extension library. Care to go for dual credit on the extension, cbagger? ;-)

Posted by clivesay on Mar. 13 2006,19:44
I know you guys are trying to get i810 going with KDrive but I do have a working i810xfree.dsl extension if either of you are interested. I made it awhile back for my Dell Inspiron 2500 lappy that has this dreaded chipset. :)

Chris

Posted by dare2dreamer on Mar. 13 2006,20:04
Clivesay,

Thanks for the offer, but the Xfree86.dsl in the extension repository works just fine on the chipset as well. The point here, however, is to get the infinitely smaller-footprinted Kdrive server working.

Posted by roberts on Mar. 13 2006,21:05
dare2dreamer,

Which one(s) have you built? If I can find a matching device to test it on, I would be happy to test this and offer suggestions. You can submit it to the extensions email address.

Posted by dare2dreamer on Mar. 13 2006,22:28
You can download precompiled ones from here:

< http://www.rule-project.org/article.php3?id_article=13 >

I used the Xi810 server to get as far as I did.

Posted by dare2dreamer on Mar. 19 2006,06:26
bump?
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.