svgalib doens't work during system startup - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

svgalib doens't work during system startup

I've made a program to display a nice .bmp file while system starts up in background. Making the program is really easy, but putting it at startup drove me nuts. I've solved most troubles, but I still have one.

Svgalib displays this error:

"You need to be the owner of the current console to use svgalib. Not running on a graphics capable console, and unable to find one."

The weird part is that it works fine if I log in as root and restart(doesn't matter if I use 'shutdown -r' or press 'reset'). But it displays the error if I log with another user.

According to 'man vga_init', this function should return -1 on this error, but it actually returns 0. Can anybody explain why?




Sign In or Register to comment.