OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: adf on July 08, 2005, 07:32:32 pm
-
I gave freeciv2 a shot. it compiles fine onboard. The problem I run into is that it wants to run as a non-root user. This leaves the possibilty of either making and using a non-root account (which doesn't seem to make the window managers very happy, and is kind of annoying, anyway, and would hardly work out as an ipk) or convince freeciv, somewhere that it is ok to run as root. or something I haven't thought of. Ideas? suggestions? I will try to contact the folks at freeciv .org too.
-
huh?
Are you getting an error when you run it as a user other than root?
Scott
-
huh?
Are you getting an error when you run it as a user other than root?
Scott
[div align=\"right\"][a href=\"index.php?act=findpost&pid=88354\"][{POST_SNAPBACK}][/a][/div]
Yeah. It pretty clearly says (more or less) "you are running me as root. don't do that." and gives no furtherm options
The message is obviously a "feature" coded into freeciv2 somewhere. Any ideas on getting rid of/or bypassing it?
The other issues are that :
I don't really want to have a special user for freeciv--the one root account is plenty for me.
The window manager files are all owned by root, so what comes up with a "startx" is pretty awful..It could of course be fixed.
I thought it might be nice to make an ipk.... but an ipk that would require users to add another account and change a bunch of file permissions would be kinda lame
-
er, right...
still -- are you getting any errors when you're running it *not* as root?
...
sounds like that's the whole issue -- to run it not as root. ok... do it?
log in, chown the files to some random uid (but al the same), and setuid
the file and run it... not sure if setuid is disabled, but if it is, then, ya,
you'd need to make a new user -- but that shouldn't be all that difficult.
Scott
-
did that. didn't mess w/ setting xfce to work w/ that use.
went as far as the initial screens. no probs -- except stuff off screen...likely a 6k rotation thing. a good wm handles it.
Due to the windowsize issue I didn't play a game. but it fired up fine, and didn't look
like ther'd be probs. I uninstalled to begin my "run it as root quest"
compile time wasn't too horrible, if you care to have look. I might mess w/ it later this week.