Stoyan
On Tue, 2006-01-10 at 20:22 +0000, Neil Kettle wrote:
Hi - I have a server connected to a Television, partly whos purpose
it is to play divx's from time to time... I have compiled DirectFB
and confirmed it working perfectly using mplayer (with excellent
results using a Matrox G450).
I don't want to leave the dumb terminal near the television logged
in as root (even tho the people who will be using it have little
or no knowledge of UNIX) and so want to allow mplayer to run with a
non-root user....
I have done everything (that i can find from google), but it still
results in the error (as taken from a post in Apr 2003 regarding
*seemingly the same issue)
> (*) DirectFB/misc/memcpy: using SSE optimized memcpy()
> (!) DirectFB/Keyboard: KD_GRAPHICS failed!
> --> Operation not permitted
> (!) DirectFB/Core: Could not initialize 'system' core!
> --> General initialization failure!
> (!) DirectFB/Core: Error during initialization (General initialization
> failure!)
I've traced this error message to system/fbdev/vt.c :-
if (dfb_config->kd_graphics) {
if (ioctl( dfb_vt->fd, KDSETMODE, KD_GRAPHICS ) < 0) {
D_PERROR( "DirectFB/fbdev/vt: KD_GRAPHICS failed!\n" );
close( dfb_vt->fd );
return DFB_INIT;
}
}
I've rigged the configuration file so as to ensure dfb_config->kd_graphics == 0
and hence avoid this call!!, but to no avail since I have to enable no_vt
in the configuration which promptly results in another error...
something about a keyboard (which the server doesn't have connected)...
I can assure you I have (AFAIK) setup the privs on all /dev/* correctly
ensuring the user has rw to all devices.... but I still get this
error!! does anyone have any suggestions??
Thanks
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
