Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
freevo command only works in root
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Sun Mar 20, 2005 12:27 pm    Post subject: freevo command only works in root Reply with quote

I just emerge freevo as root and directly typed the freevo command.
Its works but I just have to configure it.
Now when I login as the user account I can't seem to get the freevo command to work.
Can somebody tell me what to do?
Back to top
View user's profile Send private message
c4
Guru
Guru


Joined: 21 Feb 2004
Posts: 312
Location: Sweden

PostPosted: Sun Mar 20, 2005 1:20 pm    Post subject: Reply with quote

have you made sure that the user you intended to use for freevo is in the right groups (like audio, video etc) ?
I checked through my freevo.conf and local_conf.py, another thing might be to check that your user has access to the audio, video, image, games etc paths that you will be using.
I haven't specified any special user in these configs, and I had no problems getting freevo running as a normal user.
_________________
AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Sun Mar 20, 2005 1:23 pm    Post subject: Reply with quote

c4 wrote:
have you made sure that the user you intended to use for freevo is in the right groups (like audio, video etc) ?
I checked through my freevo.conf and local_conf.py, another thing might be to check that your user has access to the audio, video, image, games etc paths that you will be using.
I haven't specified any special user in these configs, and I had no problems getting freevo running as a normal user.


How can I see which groups my user is part of?
Back to top
View user's profile Send private message
c4
Guru
Guru


Joined: 21 Feb 2004
Posts: 312
Location: Sweden

PostPosted: Sun Mar 20, 2005 1:49 pm    Post subject: Reply with quote

I supose you could try something like "less /etc/group | grep your_user
Im running freevo as a regular user (my personal user account) and so this is what I get:
Code:
athlon mv # less /etc/group | grep mv
wheel:x:10:root,mv
floppy:x:11:root,mv
audio:x:18:mv
cdrom:x:19:mv
video:x:27:root,mv
usb:x:85:mv
users:x:100:games,mv


If you user needs to be a member of other groups, use the command usermod and modify your user.
_________________
AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Sun Mar 20, 2005 1:52 pm    Post subject: Reply with quote

I get this:
wheel:x:10:root,dragonzeal
audio:x:18:dragonzeal
video:x:27:root,dragonzeal
users:x:100:games,dragonzeal
Back to top
View user's profile Send private message
c4
Guru
Guru


Joined: 21 Feb 2004
Posts: 312
Location: Sweden

PostPosted: Sun Mar 20, 2005 2:51 pm    Post subject: Reply with quote

I dont have freevo started by the init-script. I have it launched automatically as
Code:
freevo -fs
when my user logs in via my bash_profile. Second, your user should be able to run freevo, have you checked that the permissions are ok,
Code:
ls -la /usr/bin/freevo
-rwxr-xr-x  1 root root 14882 Feb 28 21:31 /usr/bin/freevo

_________________
AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop
Back to top
View user's profile Send private message
Koenpje
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2005
Posts: 128

PostPosted: Sun Mar 20, 2005 2:57 pm    Post subject: Reply with quote

I emerged Freevo yesterday, but how do I enter the "setup"? Or isn"t there a setup? You can't change a lot in the freevo.conf file..
Back to top
View user's profile Send private message
c4
Guru
Guru


Joined: 21 Feb 2004
Posts: 312
Location: Sweden

PostPosted: Sun Mar 20, 2005 3:13 pm    Post subject: Reply with quote

Koenpje wrote:
I emerged Freevo yesterday, but how do I enter the "setup"? Or isn"t there a setup? You can't change a lot in the freevo.conf file..


You should have a file called local_conf.py in /etc/freevo/, you can change all kinds of paths and settings there
_________________
AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Sun Mar 20, 2005 3:56 pm    Post subject: Reply with quote

c4 wrote:
I dont have freevo started by the init-script. I have it launched automatically as
Code:
freevo -fs
when my user logs in via my bash_profile. Second, your user should be able to run freevo, have you checked that the permissions are ok,
Code:
ls -la /usr/bin/freevo
-rwxr-xr-x  1 root root 14882 Feb 28 21:31 /usr/bin/freevo


I get the exaxt same thing when I type ls -la /usr/bin/freevo.
Is that good?
Back to top
View user's profile Send private message
c4
Guru
Guru


Joined: 21 Feb 2004
Posts: 312
Location: Sweden

PostPosted: Sun Mar 20, 2005 4:47 pm    Post subject: Reply with quote

@ DragonZeal: Yes I would think it is neede to have that kind of permissions on the freevo binary for it to work for different users besides root, so if your file has teh same permissions, well at least that's ok.

What happens if you write "fre" as your user, and try to use tabb completion? Does freevo appear? it should, or else something is not allowing your user to access that command (program). I just tried adding a dummyuser for testing, adding the user to users,audio,video and this user could access freevo as intended, so i am not able to duplicate your error. What version of freevo are you using? Could you try to provide more information of the error you are facing?
If everything works as it should while running freevo as root, it sounds mostly like a permission error. I just remembered that my configfiles in /etc/freevo/ have chmod 644, that is
Code:
-rw-r--r--   1 root root   357 Feb 28 21:39 freevo.conf
-rw-r--r--   1 root root 34777 Mar 12 16:21 local_conf.py

Check these fiels that you can read them as your user too.
_________________
AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Sun Mar 20, 2005 5:01 pm    Post subject: Reply with quote

Quote:
What happens if you write "fre" as your user

Then it gives 3 possibilities: free, freetype-config, freevo
Quote:
What version of freevo are you using?

The latest version in the portage, I think it was 1.5.4
Quote:
Could you try to provide more information of the error you are facing?

When I type freevo as root then the program starts and I can choose TV, Movies etc.
When I choose shutdown it gives some text about video dir etc. This because I didn't properly configure it.
When I type freevo as user then the program seems to be starting but it looks like closing or simply not starting
Quote:
Code:
-rw-r--r-- 1 root root 357 Feb 28 21:39 freevo.conf
-rw-r--r-- 1 root root 34777 Mar 12 16:21 local_conf.py

Check these fiels that you can read them as your user too.

Again it gives the same thing.
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Sun Mar 20, 2005 9:20 pm    Post subject: Reply with quote

I found something.
When I do startx and then I type the command freevo it starts like it should exept for full screen.
When I do freevo -fs then it is also not fullscreen.
Hope this helps.
Also it shows the following after running freevo
svgalib: Cannot open /dev/svga
Is svgalib_helper module loaded?
Back to top
View user's profile Send private message
c4
Guru
Guru


Joined: 21 Feb 2004
Posts: 312
Location: Sweden

PostPosted: Sun Mar 20, 2005 11:44 pm    Post subject: Reply with quote

ok, it would appear that your on to something at least. Apparently your user can access freevo fine, but something else must be causing it to fail from starting.
How about running X as your user, does this work properly?

There should be a log for freevo in /tmp/freevo/ if you haven't specified any other logging in the local_conf.py. Have you checked it for errors? I do not have anything started from /etc/conf.d/freevo all the options there are set to "no".

I have changed the default size from 800x600 to 640x480 (freevo.conf & xorg.conf), and it seems to display the video etc ok. Here's a guess, perhaps your X is set to something like 1024x768 and freevo is 800x600? My tv is so old and worn down that I can't really tell if its a 100% full screen image or not, it would almost apear as the image is slighty shifted to the right, but it works ok for watching movies.

I couldn't locate any svgalib_helper, though I do have svgalib emerged. I'm running a ~x86 setup on my freevo-box.
Current xorg-x11 is 6.8.2, freevo: 1.5.3, svgalib: 1.9.19-r3

Just shut down freevo, and I do not have the svga-error you describe, only something about a font that wasn't loaded, but that's all. Furthermore, I do not have a device /dev/svga either. Hope this info might get you a step closer a running freevo :wink:
_________________
AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Sun Mar 20, 2005 11:48 pm    Post subject: Reply with quote

I was thinking about doing the following.
Adjusting my .xinitrc and add exec freevo so it will automatically start when I use startx.
It's strange that I can't use the freevo command but if it will work like this then it would be ok.
Can you tell me where I can find the .xinitrc?
Back to top
View user's profile Send private message
c4
Guru
Guru


Joined: 21 Feb 2004
Posts: 312
Location: Sweden

PostPosted: Mon Mar 21, 2005 12:01 am    Post subject: Reply with quote

Sure, .xinitrc is directly in your home. Here's a thread that might interest you autologin - Linuxgazette fallow the guide from "The nuts-n-bolts method"
I've got my box to automatically login as my user, and than start freevo without any interaction. it works great. You will have to emerge mingetty I think, and than setup that little help-file (shown in the guide) for loging in. I than have freevo launched from my .bash_profile, as shown in the link above.
_________________
AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Mon Mar 21, 2005 12:03 am    Post subject: Reply with quote

I was either way going to use it as a standalone divxbox so the autologin will do just fine.
Also instead of using your link I'm going to try the following:
http://freevo.sourceforge.net/cgi-bin/doc/BootFreevo
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Mon Mar 21, 2005 12:46 am    Post subject: Reply with quote

Can you post your freevo.conf and local_conf.py?
Thanks
I want to compare.
Back to top
View user's profile Send private message
c4
Guru
Guru


Joined: 21 Feb 2004
Posts: 312
Location: Sweden

PostPosted: Mon Mar 21, 2005 1:11 am    Post subject: Reply with quote

DragonZeal wrote:
Can you post your freevo.conf and local_conf.py?
Thanks
I want to compare.


Here you are, they are pretty much default. freevo.conf and local_conf.py

As for the autologin thing, I think I tried that guide you found on Freevos page, but I was unsuccesful in getting it to work.. I sort of loged in on tty1, and still had bootmessages coming in to my consol. Anyway I couldn't get it going the way I wanted it. However if you get it working I'd be interested, always good to know about new ways to do things.
_________________
AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Mon Mar 21, 2005 6:26 pm    Post subject: Reply with quote

edit -- nevermind, my config started giving me issues.
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki


Last edited by beandog on Mon Mar 21, 2005 8:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Mon Mar 21, 2005 7:04 pm    Post subject: Reply with quote

How can I say that freevo has to start in fullscreen when I choose startx?
Modifying the local_conf.py did nothing.
Also do you know how to you the nvidia-settings?
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Mon Mar 21, 2005 8:16 pm    Post subject: Reply with quote

freevo will start at whatever res you've got it set to in /etc/freevo/freevo.conf

so if your mode in your X config is 1024x768, just set that to the geometry in freevo.conf, too.
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Mon Mar 21, 2005 8:17 pm    Post subject: Reply with quote

Yes but I see a grey bar.
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Mon Mar 21, 2005 8:18 pm    Post subject: Reply with quote

A grey bar??? huh?

Can you even start freevo as a normal user? What does it do?
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Mon Mar 21, 2005 8:22 pm    Post subject: Reply with quote

When I start freevo als normal user then it won't start.
It complains about svgalib: cannot open svgalib_helper.
Is the module loaded?
Thats what I get when I type freevo.
But when I start freevo as root it works completely.
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Mon Mar 21, 2005 8:33 pm    Post subject: Reply with quote

Oh, youre doing freevo through framebuffer, not X. Is that what you want?
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum