LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-11-2004, 09:27 PM   #1
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Rep: Reputation: 30
Yahoo Messanger, wierd problem


I am using Mandrake 10.0 official
I installed rh9.ymessenger-1.0.4-1.i386.rpm It installed easy with no problem. But when I go to start it, it hangs and then closes. It doesn't work. Now here is the strange part. I can use it fine logged in as root, but thats it. So I tried changing permissions in opt and the yahoo directories(sub-directories and files,) but nothing. So I tried the same for my /home/webwolf folder thinking that maybe there was some files or something that yahoo installed there and couldn'r access. Still nothing. Anyone have this problem or know what the problem may be? I do not want to be connected to the internet as root just so I can use yahoo. GAIM doesn't seem to work with the new yahoo and I can't stand kopete. Thanks.


Webwolf

Last edited by webwolf70; 09-11-2004 at 09:29 PM.
 
Old 09-11-2004, 10:42 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there
the problem u r facing is because of the fact hat u r using rpm packages
rpm packages are precompiled for the disrribution u r using
so the rpm packahge u have is pecompiled for redhat 9.0 an so that may not work for u

so u need the rpm for ur linux or the source which u need to compile in ur machine

or u can try another IM frm

gaim.sourceforge.net

regards
 
Old 09-12-2004, 03:14 PM   #3
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Original Poster
Rep: Reputation: 30
I tried an older version and I am having some dependicy problems. So I went to the newer one, that I mentioned above, and it installed fine, it works great in root, but not as a normal user. I am thinking that there is a file or two it is trying to access that needs to have the permissions changed. I just don't know what one or where it would be.




Webwolf
 
Old 09-12-2004, 03:40 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
I'd suggest that you start it by issuing the command in a terminal and see what errors it throws up.
 
Old 09-12-2004, 04:31 PM   #5
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by XavierP
I'd suggest that you start it by issuing the command in a terminal and see what errors it throws up.

No correct me if I am wrong. In konsole all you have to do is type in /opt/ymessenger/bin/ymessenger.desktop or cd into that directory and type in ymessenger.desktop. I did it both as user an as root. It is telling me permission denied. But I can still click on the icon in root and it works fine. Is there another list of commands I can use. I tried --help in konsole but didn't get anything I could use, at least I don't think so. Or is there something here at LQ about konsole commands. I'll check the last part out now.


Webwolf
 
Old 09-12-2004, 05:04 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
If you run "top", is it still running? I wonder if maybe it hasn't shut down cleanly. When it says permission denied, does it give any more info, like a number or which bit is denied?
 
Old 09-12-2004, 05:36 PM   #7
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by XavierP
If you run "top", is it still running? I wonder if maybe it hasn't shut down cleanly. When it says permission denied, does it give any more info, like a number or which bit is denied?
I checked top and yahoo is not running. This is what I don't get. Why can I click on the icon in root and it works, but when I run this in konsole logged in as root and it says permission denied. I think I may be misisng something, probably obvious and small, lol.


When I try and run this in konsole this is all I get:
bash: /opt/ymessenger/bin/ymessenger.desktop: Permission denied

Webwolf

Last edited by webwolf70; 09-12-2004 at 05:38 PM.
 
Old 09-12-2004, 05:39 PM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
What are the permissions on your desktop icon?
 
Old 09-12-2004, 05:49 PM   #9
pongmaster
Member
 
Registered: Jul 2004
Location: London, England
Distribution: Mandrake 10.1
Posts: 300

Rep: Reputation: 30
Quote:
Originally posted by webwolf70
No correct me if I am wrong. In konsole all you have to do is type in /opt/ymessenger/bin/ymessenger.desktop
Code:
$ ymessenger
Should be all you need to get it up and running as a user.
I've never dallied about with a ymessenger.desktop file...
 
Old 09-12-2004, 05:59 PM   #10
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by pongmaster
Code:
$ ymessenger
Should be all you need to get it up and running as a user.
I've never dallied about with a ymessenger.desktop file...


My permissions are all read and write for group, user and other.


I typed this in at konsole, ymessenger, opposed to ymessenger.desktop, and this is what I got: "Segmentation fault"

I did it in konsole as su and it works. Is there going to be any security issues if I do it this way. I am not logged in as root, I am only stating yahoo this way. I still don't know why I would have to.


Webwolf
 
Old 09-12-2004, 06:05 PM   #11
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
When you installed it, did you log in as root to install, or use su? Silly question, have you tried uninstalling and reinstalling?
 
Old 09-12-2004, 06:17 PM   #12
whizzit
Member
 
Registered: Aug 2004
Location: UK
Distribution: Gentoo, OpenBSD, Debian, FreeBSD, RHEL, CentOS
Posts: 65

Rep: Reputation: 24
How far does the program get before crashing?

You could also run strace to figure out what's going on. Eg.

Code:
$ strace -o yahoo.trace ymessenger
Basically yahoo.trace is just a text file of all the system calls ymessenger makes. Based on the information you've provided you're bound to see a 'permission denied' error in here. The file can get rather large very quickly.

Regards
 
Old 09-12-2004, 06:17 PM   #13
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by XavierP
When you installed it, did you log in as root to install, or use su? Silly question, have you tried uninstalling and reinstalling?
Yep, yep and yep, lol.

I installed it with Mandrake, konsole and logged in as root. I uninstalled it several times and tried re-installing it. Still the same thing happens. My guess is that it needs a file or two it put somewhere that has restricted access. I just don't know what or where it is. I wonder if they are trying to find ways to get spy-ware into linux, lol and the only way you can run it is as root



Webwolf
 
Old 09-12-2004, 06:21 PM   #14
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by whizzit
How far does the program get before crashing?

You could also run strace to figure out what's going on. Eg.

Code:
$ strace -o yahoo.trace ymessenger
Basically yahoo.trace is just a text file of all the system calls ymessenger makes. Based on the information you've provided you're bound to see a 'permission denied' error in here. The file can get rather large very quickly.

Regards
I typed in strace -o yahoo.trace ymessenger as user, it did something then went back to the command line. It didn't show any messages, etc. I tried it as su and it start yahoo messenger up.

Edit: Also when I try and start yahoo messanger as user, not root, the icon bounces and it says it is starting, it hangs and then closes.

Webwolf

Last edited by webwolf70; 09-12-2004 at 06:34 PM.
 
Old 09-12-2004, 06:30 PM   #15
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Original Poster
Rep: Reputation: 30
I tried it another way. I typed in strace -o ymessenger.trace ymessenger

I did this as user and it gave me this message:
strace: can't fopen 'ymessenger.trace': Permission denied

I did it as root and it ran yahoo messneger

I found the yahoo.trace file and the ymessenger.trace file in my home dorectory. Uhm, what do I look for, lol, it is big.



Webwolf
 
  


Reply


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
yahoo messanger shukla_chanchal Linux - General 3 02-16-2006 12:14 PM
Squid and Yahoo messanger xanthium Linux - Networking 2 10-06-2004 12:00 AM
yahoo messanger problem sanjaya Linux - Software 0 02-19-2004 12:31 AM
yahoo messanger problem under redhat 8.0 mystic Linux - Software 5 03-23-2003 01:21 PM
yahoo messanger strange problem bally Linux - Networking 7 11-22-2002 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:31 AM.

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