Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: KDrive Servers.< Next Oldest | Next Newest >
dare2dreamer Offline





Group: Members
Posts: 113
Joined: Feb. 2005
Posted: Mar. 13 2006,00:33 QUOTE

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?


--------------
----dare2dreamer.
Back to top
Profile PM WEB ICQ AOL MSN YIM 
dare2dreamer Offline





Group: Members
Posts: 113
Joined: Feb. 2005
Posted: Mar. 13 2006,16:28 QUOTE

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.


--------------
----dare2dreamer.
Back to top
Profile PM WEB ICQ AOL MSN YIM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 13 2006,18:22 QUOTE

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.
Back to top
Profile PM 
dare2dreamer Offline





Group: Members
Posts: 113
Joined: Feb. 2005
Posted: Mar. 13 2006,19:27 QUOTE

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? ;-)


--------------
----dare2dreamer.
Back to top
Profile PM WEB ICQ AOL MSN YIM 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: Mar. 13 2006,19:44 QUOTE

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
Back to top
Profile PM MSN YIM 
8 replies since Mar. 13 2006,00:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: KDrive Servers.

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code