LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2004, 11:03 PM   #1
IPV6
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9
Posts: 3

Rep: Reputation: 0
different program with different user


Got a problem I just installed xmms and when I try to start it as a normal user it pulls up the version that was installed with redhat but when I su to root and start it, it starts the version I just installed. How can I get the version I just installed to start when I'm logged in as just a normal user and not root.
The reason I installed xmms again is because the version that was on my machine from setup doesn't play anything back. The one I just installed works great but I don't want to have to be logged in as root to use it . HELP I'M A NEWBIE.
 
Old 04-15-2004, 11:53 PM   #2
jalal
Member
 
Registered: Aug 2003
Location: .bh
Distribution: Gentoo
Posts: 188

Rep: Reputation: 30
Hello and Welcome to LQ !

It seems that you have installed the new xmms version "in addition" to the one that doesn't work.

I would suggest that you remove the new one "rpm -e xmms-new-version", and then upgrade the old version.

i.e. instead of installing xmms using "rpm -i xmms-new-version" (which I assume is what you did, please correct me if I am wrong), try installing it using "rpm -U xmms-new-version"

This should upgrade your xmms, and have a single copy of it on your system for all users to use.

Hope this helps.
 
Old 04-16-2004, 12:01 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
If you installed from source it may well be that
the new version lives in /usr/local/bin , which
may not be in your normal users path

Try
which xmms
as root, and as normal user do a
echo $PATH
and see whether the directory that which
returned is listed in the echoed path.


Cheers,
Tink
 
Old 04-16-2004, 12:16 PM   #4
IPV6
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9
Posts: 3

Original Poster
Rep: Reputation: 0
Ok still need some help I tried where xmms as root and as a normal user and they both say they are in /usr/local/bin/xmms. Also when I did echo that path was in both root and my normal user account. Here is another real newbie question I've never really uninstalled a rpm. I tried what you said I did "rpm -e xmms-1.2.10-1" from my home directory where I orginally put the downloaded package and it said it was not installed. Am I doing something wrong?
 
  


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
run program as different user h2gofast Linux - Newbie 2 11-26-2005 12:05 PM
Need to have program run as different user exodist Linux - Software 5 10-26-2005 10:07 PM
Run program as user falcon Linux - Newbie 1 11-07-2004 11:17 AM
How to run a program as a different user? Guru3 Linux - General 4 11-04-2003 12:35 PM
Starting program as different user ngomong Linux - General 2 05-10-2002 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 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