Quantcast Want to Start MencodeME as an Normal User, Not Root - digitalFAQ.com Forums [Archives]
  #1  
06-04-2004, 07:08 PM
TKONeo TKONeo is offline
Free Member
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Hi there,

I've searched for this topic thru the hole Board but I can't find anything helpfull!! My Problem is easy, I just want to start MEncodeMe as an normal user under my SuSe 9.1!!
If I start MEncodeMe as root-user, everything works fine! But if I start MEncodeMe as a normal user everytime I got an "Segmentation fault"!!

Sorry for bugging you with this noop Prob!

Maybe anyone here can help me!!

Solong
By
Neo
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-04-2004, 07:30 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Neo,

Check your file permissions and user permissions.
Go yo your user directory, and make sure you chmod and chown the MencodeME file.
It's probably set to "root" user, and that's why it bombs when you run it.

As root, do: chmod 755 MencodeME

And also as root, and if your user name is, for example "neo", do: chown neo:bin MencodeME

After that, try tunning MencodeME as your user name.


-kwag
Reply With Quote
  #3  
06-04-2004, 09:19 PM
TKONeo TKONeo is offline
Free Member
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
I've done what you expected, but the result is the same!
I can't start MEncodeMe as Normal User:
here is an ls -l:

drwxr-xr-x 2 Administrator users 4096 2004-05-06 17:35 filter
-rwxr-xr-x 1 Administrator users 1371761 2004-05-06 17:22 MEncodeme
drwxr-xr-x 2 Administrator users 4096 2004-05-06 16:41 target

You see all the file permissions are set correctly. Is there anything else you could think of causing this problem?

Thanx
Solong
By
Neo
Reply With Quote
  #4  
06-04-2004, 09:22 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
The tool can have need of a dynamic librairy that it can access.

Check your /usr/lib directory and see if the rights are correct.
Reply With Quote
  #5  
06-05-2004, 06:20 AM
TKONeo TKONeo is offline
Free Member
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Could you please tell me wich librarys are neede, cause my usr/lib folder has more than 150000 Entries!! All of them belong to root but most of them are readable / executable by everyone!!

----------
Update, I changed the ownership but the result is properbly the same!! I just get an "Segmentation fault" if I try to run MEncodeMe!

Any other suggestions?

THX
Solong
By
Neo
Reply With Quote
  #6  
06-05-2004, 06:34 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
I think it needs only GTK.
Reply With Quote
  #7  
06-05-2004, 06:43 AM
TKONeo TKONeo is offline
Free Member
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Hi, thanx for the fast answer!

But GTK is fully installed on my system! I also have no problem in compiling other GTK based programms! This can't be the mistake!

Solong
by
Neo
Reply With Quote
  #8  
06-05-2004, 11:31 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
@TKONeo,

Try this:

chown -R user:group Mencodeme filter target
And:
chmod -R 755 Mencodeme filter target

Of course, substitute user:group for your actual user name and group name.

-kwag
Reply With Quote
  #9  
06-05-2004, 12:56 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
And do also a "chmod -R 755" on all your lib directory.

Note: 15000 entries in that directory ? I never used the 10th of this in 10years of Unix development. You overload your system with useless component !
Reply With Quote
  #10  
06-05-2004, 01:03 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hell, why not chmod (recursively) 777 the root "/"
Then the complete world can read,write,execute


Off Topic:
Code:
The Ten Commandments for C Programmers
Henry Spencer

1. Thou shalt run lint frequently and study its pronouncements
with care, for verily its perception and judgement oft exceed thine.

2. Thou shalt not follow the NULL pointer, for chaos and madness
await thee at its end.

3. Thou shalt cast all function arguments to the expected type if
they are not of that type already, even when thou art convinced that
this is unnecessary, lest they take cruel vengeance upon thee when thou
least expect it.

4. If thy header files fail to declare the return types of thy
library functions, thou shalt declare them thyself with the most
meticulous care, lest grievous harm befall thy program.

5. Thou shalt check the array bounds of all strings (indeed, all
arrays), for surely where thou typest 'foo' someone someday shall
type 'supercalifragilisticexpialidocious'.

6. If a function be advertised to return an error code in the event
of difficulties, thou shalt check for that code, yea, even though the
checks triple the size of thy code and produce aches in thy typing
fingers, for if thou thinkest 'it cannot happen to me', the gods
shall surely punish thee for thy arrogance.

7. Thou shalt study thy libraries and strive not to re-invent them
without cause, that thy code may be short and readable and thy days
pleasant and productive.

8.  Thou shalt make thy program's purpose and structure clear to thy
fellow man by using the One True Brace Style, even if thou likest it
not, for thy creativity is better used in solving problems than in
creating beautiful new impediments to understanding.

9. Thy external identifiers shall be unique in the first six
characters, though this harsh discipline be irksome and the years of
its necessity stretch before thee seemingly without end, lest thou tear
thy hair out and go mad on that fateful day when thou desirest to make
thy program run on an old system.

10. Thou shalt foreswear, renounce, and abjure the vile heresy which
claimeth that 'All the world's a VAX', and have no commerce with the
benighted heathens who cling to this barbarous belief, that the days of
thy program may be long even though the days of thy current machine be
short.
Reply With Quote
  #11  
06-05-2004, 09:47 PM
TKONeo TKONeo is offline
Free Member
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
@kwarg
Thanx, but this is the same you said one day ago!! I have done these changes but without any effect.

@Dialhot
Quote:
I changed the ownership but the result is properbly the same!! I just get an "Segmentation fault" if I try to run MEncodeMe!
I have changed the ownership of all my libs to my user thou I have the full read/write/execute permissions. But this also doesn't help me! Of course I changed this back to root after doing some tests

Maybe I can send you a "gdb" backtrace of the problem would this help you?

Solong
By
Neo
Reply With Quote
  #12  
06-05-2004, 10:53 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by TKONeo
@kwarg
Thanx, but this is the same you said one day ago!! I have done these changes but without any effect.
It is not
It's a recursive change. The first one I gave you was only on a single file.
The last one is on the file and the directories.

-kwag
Reply With Quote
  #13  
06-05-2004, 11:15 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
TKONeo,

Do you have any knowledges in UNIX or do you use Linux only because it's in the mood ?
Reply With Quote
  #14  
06-06-2004, 05:47 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
TKONeo,

Do you have any knowledges in UNIX or do you use Linux only because it's in the mood ?
Come on guys
Give the poor guy a break
Maybe he's learning, like I will start learning BSD, within some weeks.
First times gotta be a nightmare
And maybe it's not only because it's fashion.
Maybe the guy has a not so fast PC so it's understandable that he chooses something different from M$
Cheers
__________________
Rui
Reply With Quote
  #15  
06-06-2004, 12:02 PM
TKONeo TKONeo is offline
Free Member
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
@kwag

Sorry I missunderstand your first post and done the change recursively so it was the same for me!!!

@Dialhot
I'm using Linux for over 3 years and not cause it's in the mood! In my mind I have accaptable experience in using Linux! The problem is, that I'm german and so I have a bit problems in expressing to you what I think!
Are you borne with your great knowledges in Linux? I think not and so you've learned it although anytime.

But in all about this we are getting away from the topic and my problem still exists!

In addition a question:
Why not releasing the source of the MEncodeMe as I've heard it is a very great and usefull application! Maybe letting the users compile the application to their own needs may improve your performance

Solong
By
Neo
Reply With Quote
  #16  
06-06-2004, 12:20 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by TKONeo
Are you borne with your great knowledges in Linux? I think not and so you've learned it although anytime.
The question was to know how deep we have to go in our hints because that was not crystalin at all. Nothing else.

Quote:
But in all about this we are getting away from the topic and my problem still exists!
I fear we are JUST in the middle of the problem : your lib directories reveals that you don't have any control on what is on your PC and that will be very difficult to imagine what can interfer in the process
Reply With Quote
  #17  
06-06-2004, 01:06 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by TKONeo
Why not releasing the source of the MEncodeMe as I've heard it is a very great and usefull application! Maybe letting the users compile the application to their own needs may improve your performance.
Hi TKONeo,
I'm affraid we'll never see the source for MencodeMe or any other tools that have been developed and presented here lately.
When VMesquita made MencodeME some of us also asked him if he was going to open the source code.
He told us he won't do it and I mostly agree with his choice.
It is free for use and he's been working on it so no need for many more people in the project.
If someday he quits developing it maybe he will open the sources or we ask him to do so but there is no guarantee he will do so.
Cheers
__________________
Rui
Reply With Quote
  #18  
10-30-2004, 01:49 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
I've got the same problem except it gets 'segmentation fault' running as root also. I tried the things kwag suggested but still doesn't work. I also have Gtk installed. Any other ideas?
Reply With Quote
  #19  
10-30-2004, 01:56 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Sorry Ren (Hi ) but I don't run it under Linux, so I don't know how to help you...
Anyone can help Ren?
__________________
Rui
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: What script to use for normal DVD? audioslave Avisynth Scripting 3 05-28-2006 11:52 AM
Es normal tanto tiempo? lostguy Convertir y Codificar Video (Español) 5 01-03-2005 10:14 AM
Vinicius is back, as user. kwag Off-topic Lounge 10 11-04-2004 11:20 PM
Error en un script de lo mas normal CaLaFaT Convertir y Codificar Video (Español) 7 07-12-2003 06:41 AM
KVCD bigger than a normal vcd? timpimp Video Encoding and Conversion 3 05-04-2002 08:11 PM

Thread Tools



 
All times are GMT -5. The time now is 06:54 PM  —  vBulletin © Jelsoft Enterprises Ltd