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 - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-18-2005, 05:32 PM   #1
garbo73
Member
 
Registered: Sep 2003
Posts: 59

Rep: Reputation: 15
can't create mcop directory


I am running FC4 and it has been running without problem until last night. I was messing around with Winetools and getting everything set up. I was also trying to install Gstreamer and having some problems with that installation and never got it completed. However now most applications that I try to run, usually games that are Linux based and downloaded and installed using yum, come up with an error message if I try to run them using a terminal, if I run them by clicking them I get nothing. Here is the message I receive:

[Will@localhost ~]$ neverball
Creating link /home/Will/.kde/socket-localhost.localdomain.
can't create mcop directory
[Will@localhost ~]$

Again, none of this started until last night, I tried to google it out and came up short on any solutions. I am still fairly new with Linux, I am running in Gnome, so I am not even sure why it shows a reference to KDE.
 
Old 12-18-2005, 06:30 PM   #2
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
Chances are that you accidentally altered permissions and/or
ownerships inside your home and/or /tmp-directories.... check
the perms in your home
ls -l ~
and
ls -l /tmp
should be good starting points. If you find mcop files in either
that are read-only or owned by root or some other user, become root
and chown/chmod them.


Cheers,
Tink
 
Old 12-18-2005, 06:37 PM   #3
garbo73
Member
 
Registered: Sep 2003
Posts: 59

Original Poster
Rep: Reputation: 15
I checked both directories as you stated, and neither has a mcop file, matter of fact neither has any files that are restricted by read-only or root.
 
Old 12-18-2005, 06:44 PM   #4
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
Try (as root)
find /home -iname "*mcop*" -exec ls -l {} \;


Cheers,
Tink
 
Old 12-18-2005, 06:49 PM   #5
garbo73
Member
 
Registered: Sep 2003
Posts: 59

Original Poster
Rep: Reputation: 15
This is what I came back with, still nothing to change, any other thoughts?


[root@localhost Will]# find /home -iname "*mcop*" -exec ls -l {} \;
total 0
 
Old 12-18-2005, 06:56 PM   #6
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
Does ~/.kde actually exist?

And also run that find against /tmp
 
Old 12-18-2005, 07:07 PM   #7
garbo73
Member
 
Registered: Sep 2003
Posts: 59

Original Poster
Rep: Reputation: 15
tried it under /tmp without any problems, /.kde exists under my home/Will directory
 
Old 12-20-2005, 07:56 PM   #8
go_about
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
can't create mcop directory

I have exactly the same problem. It is just since I updated fc4 with yum. Tried to reinstall the latest and previous kdelibs package, but I still get the same error, "can't create mcop directory."

Somebody must have slipped in a bad package somwhere which is going to affect everyone running Fedora Core 4, who updates with yum.
 
Old 12-21-2005, 08:04 PM   #9
Firewing1
LQ Newbie
 
Registered: Nov 2005
Location: Canada
Distribution: Fedora 12
Posts: 6

Rep: Reputation: 0
Hello,
I have exact same problem described.
I tried this; it seems fixed now.
[admin@DellLin ~]$ find ~ -iname "*mcop*" -exec chmod 766 {} \;
Firewing1
 
Old 12-22-2005, 07:21 PM   #10
tuxdude
LQ Newbie
 
Registered: Dec 2005
Distribution: FC4
Posts: 2

Rep: Reputation: 0
can't create mcop directory

I got this same error:
Creating link /home/Will/.kde/socket-localhost.localdomain.
can't create mcop directory

after updating to a new Arts rpm (arts-1.5.0-0.1.fc4) from the fedora repositories. There is now an even newer rpm available (arts-1.5.0-0.2.fc4) that fixes the issue for me. Supertux lives again...
 
Old 12-22-2005, 08:11 PM   #11
Firewing1
LQ Newbie
 
Registered: Nov 2005
Location: Canada
Distribution: Fedora 12
Posts: 6

Rep: Reputation: 0
same here....
Firewing1
 
Old 12-22-2005, 09:46 PM   #12
go_about
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
can't create mcop directory

Yup, getting the latest version of arts fixed it for me too. Now I can go back to some linux gaming....
 
Old 09-12-2006, 05:29 AM   #13
tle02
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
I know this is an old thread. But I figured I would post for archiving reasons. I had a similar problem when I tried to start cmus on Ubuntu Dapper. But only after I had installed certain KDE packages.

I THINK (As in just guessing here)
the reason is that when the application detects certain packages it thinks it is in a KDE environment, though it is actually a GNOME environment just with basic KDE packages installed. Thus it tries to link to a directory that would probably be created at start up if i were a system that used KDE.

But anyway what fixed it for me was to simply create the directory in /tmp/ it needs. With:
Code:
mkdir /tmp/ksocket-kenneth

When I figured that it worked I made the fix permanent. First I moved the ordinary cmus executeable:
Code:
sudo mv /usr/local/bin/cmus /usr/local/bin/Cmus
then I created a script to load cmus with, use your favorite editor, mine is emacs (This should now be an empty file or something went wrong with moving the executeable):
Code:
sudo emacs /usr/local/bin/cmus
Here add the sommands:
Code:
echo "Entering script for fixing cmus"
mkdir /tmp/ksocket-kenneth
Cmus
save and exit. And finally make the script executeable:
Code:
sudo chmod +x /usr/local/bin/cmus
Now I can just execute "cmus" just I always used to do

Regards TLE02
 
Old 01-18-2007, 08:57 AM   #14
dancarv
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Solved for me, tle02.

That was exactly my problem, but when trying to use linphone instead of your cmus.

Thanks a lot!
 
Old 02-04-2008, 04:55 PM   #15
Nikolodeon
LQ Newbie
 
Registered: Sep 2005
Location: Mexico
Distribution: Xubuntu
Posts: 11

Rep: Reputation: 0
tle02, i had the same problem, i guess it's because i installed krdc (and i'm using xfce instead of kde).. just by creating the directory that the program needs it solves the problem

Thanks!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
create a directory in C++ poeta_boy Programming 15 11-02-2011 01:53 PM
How to create new directory?? Jorine Programming 4 12-01-2004 12:38 AM
can't create new directory dummoi Linux - Newbie 4 06-24-2004 02:50 PM
Can't create new directory!!?? catty Linux - Newbie 7 10-06-2003 05:33 PM
Create a directory SnowSurfAir Linux - Software 15 07-21-2003 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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