On Mon, Oct 18, 2004 at 03:53:27PM +0200, Raymond de Vries wrote: > Hello everyone, > > Although I read that directfb applications need to be run under root, I > would like to avoid this because of security issues (my machine will be > on a public net). > > I found some hits in google but the directfb website seems to be down. > Can someone else tell me how I can achieve this? It is fine if I only > have graphics, I don't need anything else.
You need rw permissions to the framebuffer device. If you don't need vt related stuff you just use the no-vt option and you're good to go. If you need vt stuff you need read permission to /dev/tty0. But even then you won't be really secure as DirectFB has direct acces to the graphics card which can be used to compromise the system if the hardware supports bus mastering. -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/