Forum Home
Press F1
 
Thread ID: 61417 2005-09-04 03:53:00 TVtime - linux woes... HadO (796) Press F1
Post ID Timestamp Content User
385883 2005-09-04 03:53:00 TVtime from FC4 repository, FC4 w KDE 3.4 kernel version 2.6.12... 12xx (not latest 13xx), Audigy DE using ALSA, ATi drivers for video, BT8x8 chipset running fine for video capture..........

TVtime looks like a great app but I am having problems...

1. I can only run the app as root

2. Audigy DE can play sound fine but inputs dont seem to work and therefore I have no sound when watching captured video.

Apparently the run as root problem is quite usual for it but I need some quick method for running it as root in a shortcut.

I have played with the alsamixer both as normal and root user and turned all the volumes (capture and playback) up and no analogue channels are muted. I have also tried changing the audio input source in the tvtime xml config file but am pretty sure I have tried every alsa audio channel...

From the small amount of reading I have done this seems to be an ongoing issue with sound blaster cards and linux...

Any ideas people?
HadO (796)
385884 2005-09-04 03:57:00 There's a much deprecated privilege code to let you run an appl;ication as root: SUID. Use at your own risk. ;) Graham L (2)
385885 2005-09-04 04:08:00 There's a much deprecated privilege code to let you run an appl;ication as root: SUID. Use at your own risk. ;)

Would you mind elaborating on this...

I understand by setting "s" mode (chmod u+s) on a binary sets "SUID" so does this enable the binary to run with full system permissions just by running the binary or does something else need to be done?

I noticed doing an ls that the filename is now highlighted in RED :)
HadO (796)
385886 2005-09-04 04:23:00 Would you mind elaborating on this...

I understand by setting "s" mode (chmod u+s) on a binary sets "SUID" so does this enable the binary to run with full system permissions just by running the binary or does something else need to be done?

I noticed doing an ls that the filename is now highlighted in RED :)

The red means "Danger Danger, Will Robinson". As I said, it's a deprecated thing. You should now be able to run it from a user account. You might have to give the world "X" permission too.

SUID means "set user ID". If it's owned by root, but runnable by other users, it will set the user ID of the process it's running as to "0" (root) rather than the ID of the user running it. (If you installed it as a "user" rather than as root, you might need to change the ownership, so it will have root privileges).
Graham L (2)
385887 2005-09-04 04:29:00 OK thanks for that - I figured as much...

I was using this method to try getting around a video memory error which is being generated by TVtime when not running the binary as root...

No difference so have changed it back...
HadO (796)
385888 2005-09-04 11:19:00 I was getting the error also, but if you post it, it might jog my memory...

Ive got my SB!Live working perfectly fine from within Linux, brilliant!
Chilling_Silence (9)
385889 2005-09-05 05:51:00 Cannot allocate enough off-screen video memory. This may be fixed by:

1. Closing or restarting large X applications.
2. Lowering the input width of tvtime (--inputwidth parameter).
3. Lowering your colour depth or highest configured resolution.
4. Increasing the amount of video memory in your X config file
(for example, if you are using the i810 XFree86 driver.)

See http://tvtime.net/ for more information.

Thank you for using tvtime.


This error is generated when running as a non-root user with the "s" permission flag enabled - running tvtime as root generates no problems at all.

The sound input issue is another problem all together... Chill did you have to do anything special with your SBLive?

Oh yeah - contrary to previous post I'm actually running the 1390 build... I didn't update it to the latest which is 14xx.
HadO (796)
385890 2005-09-05 06:14:00 Are you pushing your disk space? As root, you have access to an extra 10% or so of disk space which is not available to "users". (It's so that the system adminstrator has room to work when fixing a system where the users have filled the disk.) Graham L (2)
385891 2005-09-05 06:24:00 Nah plenty of disk space available on / and /home - not using swap partition though... HadO (796)
385892 2005-09-05 06:29:00 Is the executable owned by root? SUID makes it use the ID of its owner; it doesn't use the root ID unless the executable is owned by root. Graham L (2)
1 2