Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-16-2004, 12:03 AM   #1
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-16-2004, 12:53 AM   #2
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, 01:01 AM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
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

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.

Old 04-16-2004, 01:16 PM   #4
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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

All times are GMT -5. The time now is 11:38 AM.

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