inx-devel team mailing list archive
-
inx-devel team
-
Mailing list archive
-
Message #00038
Links2 -g | xlinks2 issue solved
Hi,
I finally managed to get xlinks2 to run without suid root from INX
menus, as opposed to "from a prompt". The solution involves a wrapper
script that runs a loop in the background, then foregrounds itself when
xlinks2 exits.
It's a bit round-about, since xlinks2 is itself a wrapper
(exec links2 -g "$@" )
Seems to "work" though, with /dev/fb0, /dev/input/mice and /dev/tty0
owned by group "video" (of which user "inx" is a member.)
The script is here:
http://bazaar.launchpad.net/~inx-devel/inx/scriptsandfunctions/annotate/67?file_id=links2watch-20080721085649-fkxtd5qtfyjplqs0-1
Apologies for the truly ugly LP URL...
Latest complete rev. of all scripts and functions is at
http://bazaar.launchpad.net/~inx-devel/inx/scriptsandfunctions/changes
--
Peter Garrett <inx-one@xxxxxxxxxxxxxxx>
Attachment:
pgp9WCLsyBj7p.pgp
Description: PGP signature