Johan Lans wrote:
> Hi
>  I'm trying to set up a linux box with gentoo as a dedicated framebuffer 
> freevo box.
>   As nonroot I get this error when I run freevo start:
> pygame.error: Unable to set terminal attributes
> 
> as root I can start freevo without errors.
> 
> Framebuffer driver is uvesa and works well with mplayer, so no problem 
> there.
> 
> Freevo version is: 1.7.2
> pygame version is: 1.7.1
> 
> local_conf.py is untouched, except for DEBUG=1
> 
> This is my freevo.conf:
> 
> chanlist = us-cable
> display = fbdev
> fbxine = /usr/bin/fbxine
> geometry = 1024x600
> jpegtran = /usr/bin/jpegtran
> lsdvd = /usr/bin/lsdvd
> mplayer = /usr/bin/mplayer
> renice = /usr/bin/renice
> setterm = /usr/bin/setterm
> tv = pal
> version = 2.1
> 
> What do I need to do to be able to run freevo as nonroot user?
> Thanks for any help regarding this.

It is quite difficult to get freevo running on framebuffers as non-root
users, DirectFB make this virtually impossible.

Without DirectFB you need to change the ownership and permissions on the
devices that freevo uses, /def/fb0 for one. This can be done with udev
rules. IIRC there are /dev/ttyX devieces that need permissions changing too.

You may be able to find out what devices are being used by running
Freevo as root and running lsof to see what devices are open.

HTH at bit
Duncan


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to