LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Error with "seejpeg". (https://www.linuxquestions.org/questions/slackware-14/error-with-seejpeg-158662/)

Posty 03-16-2004 06:46 PM

Error with "seejpeg".
 
Okay, I have noticed something very annoying. Whenever I want to view a picture I need to use "seejpeg" as root. This sort of sucks. This is the error that my box is spitting out after I type something like "seejpeg karen.jpeg" as a normal user...

svgalib: Cannot get I/O permissions.

I don't know what this is exactly. I am afraid to screw up my system by screwing with it to find out. If anyone knows how I can get this to work properly please tell me!

Thanks! :)

Tinkster 03-16-2004 08:06 PM

I've never used seejpeg (I'm using fbi in consoles
and display in X) ... but you could have a look at
/etc/vga/libvga.config
Try setting the chipset to FBdev

Just a wild guess, I have NO idea how svgalib
actually works...



Cheers,
Tink

r_jensen11 03-16-2004 09:33 PM

I can't say I've ever knowingly used that program. I use gqview, which I find is very nice and friendly. Perhaps you could try using that, and see if you get the same errors?

svw 03-25-2004 06:35 AM

permissions
 
your seejpeg apparently needs to be run as root. try that. are you running no X

Nis 03-25-2004 06:50 AM

You need to set the sticky bit on seejpeg. As root,
Code:

chmod u+s `which seejpeg`
Those are backticks by the way, key left of 1. You'll also need to add your self to the tty group. Open up /etc/group, and put your username next to tty.
Finally, make sure /dev/fb0 has the right permissions. As root,
Code:

chmod 660 /dev/fb0


All times are GMT -5. The time now is 10:39 AM.