Paul Fasshauer wrote: > New to directFB here. I am trying to run one of the tutorial programs and > am running into problems. I changed permissions to all the tty* files so I > can open them and now i get a KD_GRAPHICS failed! error. > > Here is the output of the program: > > (*) DirectFB/Core: Single Application Core. (2007-04-23 03:06) > (!) DirectFB/fbdev/vt: KD_GRAPHICS failed! > --> Operation not permitted > (!) DirectFB/Core: Could not initialize 'system' core! > --> Initialization error! > direct01.c <68>: > (#) DirectFBError [DirectFBCreate ( &dfb )]: Initialization error! > > Any help would be great. > > Thanks. > Paul
I have had the same problem. 1. I was running an xterm session on another machine, with a shell on the machine running directfb. If I run a directfb program a root, the program works correctly. If I run the program as a non-root I get the error you have reported. Are you also running your program this way? 2. If I work directly on the machine running directfb, then, provided the user has access to /dev/tty? and device nodes in /dev/input then I can run directfb programs as a non-root user. Regards Colin _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
