LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-15-2004, 08:25 AM   #16
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58

Quote:
Originally posted by milad126
..but i dont have access to many directories as a normal user! although there is only one user.
in the X-environment i also can not open many folders becoz they are permitted only for the Root!
That is how it is supposed to be in all Linux systems! That's why I suggested to set a directory in your homedirectory for the installation of the realplayer. Otherwise you'll have to run the .bin as root.
 
Old 11-15-2004, 08:29 AM   #17
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
OK, try one more command;

Code:
# kde-config --prefix
 
Old 11-15-2004, 08:35 AM   #18
milad126
Member
 
Registered: Oct 2004
Distribution: Ubuntu 8.04
Posts: 62

Original Poster
Rep: Reputation: 15
ok. i did that:
Code:
r066210:/home/habib # kde-config --prefix
bash: kde-config: command not found
r066210:/home/habib #
 
Old 11-15-2004, 08:43 AM   #19
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
You are missing part of KDE, Did you do an upgrade on your own?
 
Old 11-15-2004, 08:48 AM   #20
milad126
Member
 
Registered: Oct 2004
Distribution: Ubuntu 8.04
Posts: 62

Original Poster
Rep: Reputation: 15
mmm...i updated my system during the last days to overcome this problem. i installed some new things from the CDs and also i installed some new things from Yast online update. but i dont remember i had deleted a package or something.
 
Old 11-15-2004, 08:54 AM   #21
milad126
Member
 
Registered: Oct 2004
Distribution: Ubuntu 8.04
Posts: 62

Original Poster
Rep: Reputation: 15
hey... when i ran this as not Root, i got:
Code:
habib@r066210:~> which kde-config
/opt/kde3/bin/kde-config
habib@r066210:~>

Last edited by milad126; 11-15-2004 at 08:55 AM.
 
Old 11-15-2004, 09:00 AM   #22
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
What you observerd is normal, as root I cannot start kde-config without giving the full path, either. Maybe for security reasons, the path is not contained in root's path variable.

EDIT: Why do you want to run realplayer as root? I may have missed the point, but it shouldn't be necessary. Only the installer (.bin) may needs to be run as root (but not if you follow my suggestion )

Last edited by abisko00; 11-15-2004 at 09:03 AM.
 
Old 11-15-2004, 09:04 AM   #23
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
Quote:
Originally posted by abisko00
What you observerd is normal, as root I cannot start kde-config without giving the full path, either. Maybe for security reasons, the path is not contained in root's path variable.

EDIT: Why do you want to run realplayer as root? I may have missed the point, but it shouldn't be necessary. Only the installer (.bin) may needs to be run as root (but not if you follow my suggestion )
It is NOT normal.

harryc@linux:~> which kde-config
/opt/kde3/bin/kde-config
 
Old 11-15-2004, 09:08 AM   #24
milad126
Member
 
Registered: Oct 2004
Distribution: Ubuntu 8.04
Posts: 62

Original Poster
Rep: Reputation: 15
abisko00
i am not trying to run realplayer as root necessarily...actually it doesn't play as myselft either

Last edited by milad126; 11-15-2004 at 09:11 AM.
 
Old 11-15-2004, 09:08 AM   #25
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Quote:
harryc@linux:~> which kde-config
/opt/kde3/bin/kde-config
And what do you want to tell us by this? I said already, that it works fine as user!?!
 
Old 11-15-2004, 09:20 AM   #26
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
Quote:
Originally posted by milad126
abisko00
i am not trying to run realplayer as root necessarily...actually it doesn't play as myselft either
Do you get the same error when you run it as user?
 
Old 11-15-2004, 09:23 AM   #27
milad126
Member
 
Registered: Oct 2004
Distribution: Ubuntu 8.04
Posts: 62

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Harryc
Do you get the same error when you run it as user?
this is what i get as user and then as the root:

Code:
habib@r066210:~> realplay

habib@r066210:~> su
Password:
r066210:/home/habib # realplay
sh: kde-config: command not found
sh: kde-config: command not found

EDIT:actually when i run as user it does nothing just stops and doesn't either give a result or a commanline

Last edited by milad126; 11-15-2004 at 09:25 AM.
 
Old 11-15-2004, 09:33 AM   #28
milad126
Member
 
Registered: Oct 2004
Distribution: Ubuntu 8.04
Posts: 62

Original Poster
Rep: Reputation: 15
as i have installed and removed realplayer quite a lot of times to get it working maybe it nice for u to know where is all realplay files are located:
Code:
r066210:/ # whereis realplay
realplay: /usr/bin/realplay /usr/share/realplay.png /usr/share/realplay.xml /usr/share/realplay.keys /usr/share/realplay.mime /usr/share/realplay.applications /usr/share/realplay.desktop /usr/share/realplay
r066210:/ #
do u think its a good idea to remove al the folders containing realplay and install it again or it is stupid and not the solution?
 
Old 11-15-2004, 09:45 AM   #29
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
Just a guess here, give read and execute access to 'others' and 'group' for the file kde-config. The owner and group should be root and have read, write, execute.; Do this as root.

Code:
# chmod 755 /opt/kde3/bin/kde-config
http://bugclub.org/beginners/networking/chmod.html

Last edited by Harryc; 11-15-2004 at 09:47 AM.
 
Old 11-15-2004, 09:56 AM   #30
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
Quote:
Originally posted by abisko00
And what do you want to tell us by this? I said already, that it works fine as user!?!
All that I am saying is that for me, 'which kde-config' works as user and root.

Last edited by Harryc; 11-15-2004 at 09:57 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Realplayer just won't work! tribalmasters Linux - Software 3 08-16-2005 11:18 AM
realplayer doesn't work,why? kszl2005 Fedora 3 07-14-2005 02:52 AM
Realplayer not work Johina Linux - Hardware 7 03-22-2005 06:10 PM
realplayer does not work rajivb Linux - Hardware 6 02-04-2005 06:42 PM
Realplayer 8 will not work ts77351 Mandriva 17 01-19-2004 12:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration