LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   xawtv doesn't work from normal user account (https://www.linuxquestions.org/questions/slackware-14/xawtv-doesnt-work-from-normal-user-account-374232/)

adityavpratap 10-18-2005 08:06 AM

xawtv doesn't work from normal user account
 
Hi,
I am using Slackware 10.1 with kernel 2.6.10.
My problem is as follows -
when I try to run xawtv as a normal user it gives the following message and doesn't start up.
_______________________________________________________________________
aditya@aditya:~ $ xawtv
This is xawtv-3.95, running on Linux/i686 (2.6.10)
Warning: locale not supported by Xlib, locale set to C
WARNING: Your X-Server has no DGA support.
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
v4l2: open /dev/video0: Permission denied
v4l2: open /dev/video0: Permission denied
v4l: open /dev/video0: Permission denied
no video grabber device available
_______________________________________________________________________

However, upon using sudo xawtv startsup but I can only get a black screen with the following message in the terminal -
_______________________________________________________________________
aditya@aditya:~ $ sudo xawtv
This is xawtv-3.95, running on Linux/i686 (2.6.10)
Warning: locale not supported by Xlib, locale set to C
WARNING: Your X-Server has no DGA support.
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_OVERLAY(int=1): Invalid argument
_______________________________________________________________________

The only way I can use xawtv productively is by getting out the X and using fbtv with sudo. Once I do this I can use xawtv even after getting back into X.
Any suggestions?

Gort32 10-18-2005 09:00 AM

Try adding your user to the video group in /etc/group

While you are in there, add your user to a few more groups while you are at it - sound, cdrom, and anything else that sounds good.

Andrew Benton 10-18-2005 09:01 AM

Is /dev/video0 owned by group video? If so, add yourself to the video group (read man usermod), that should make the "v4l2: open /dev/video0: Permission denied" problem go away


All times are GMT -5. The time now is 09:48 AM.