0

I'm trying to write directly to the framebuffer, actually I'm trying to draw on screen without using X, and I managed to have access to it, but only as root. (using this example)

I'm not too sure how I could do such a thing without being root, as I'm not quite an expert in linux user things. I've seen it the fbi source that they use chmod at some point, but I'm not sure why, and I can't use it to make anything work.

On a side note, writing to the framebuffer seems to be the only way not to use X that I've found, I'd be open to other suggestions if you they would be simpler.

Community
  • 1
  • 1
Manux
  • 3,643
  • 4
  • 30
  • 42

1 Answers1

0

The typical permissions would be:

crw-rw---- 1 root video 29, 0 Mar 23 22:57 /dev/fb0

At least on my system. Then a user just has to be in the "video" group. This is typically set up by udev rules.

You might also want to check out the DirectFB library.

Keith
  • 42,110
  • 11
  • 57
  • 76