WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] 3.x geany fatal error  (Read 5363 times)

Offline AlabamaPaul

  • Newbie
  • *
  • Posts: 34
[SOLVED] 3.x geany fatal error
« on: July 21, 2010, 10:40:02 AM »
I cannot get Geany working on Tiny Core 3.0.

The icon appears in the bar, but if I try to launch Geany from the icon or in a terminal, all I get is a dialog box that says:

"Geany tried to access the Unix Domain socket of
another instance running as another user.
This is a fatal error and Geany will now quit."


Any ideas what might be happening ?

Thanks,
Paul
« Last Edit: July 21, 2010, 02:33:32 PM by AlabamaPaul »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: 3.x geany fatal error
« Reply #1 on: July 21, 2010, 12:30:44 PM »
Geany works here and a socket for each user is created in /tmp when I open multiple instances as both tc and root.  I can't reproduce the socket error.

Offline AlabamaPaul

  • Newbie
  • *
  • Posts: 34
Re: 3.x geany fatal error
« Reply #2 on: July 21, 2010, 12:49:09 PM »
Hmm, still not working here. Chromium, RapidSVN and others are working fine.

I've tried deleting the extension and loading it again.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: 3.x geany fatal error
« Reply #3 on: July 21, 2010, 01:35:01 PM »
Even if I change the ownership of the socket file in the middle of a session and then launch another instance of geany it still works by creating another socket.  I do remember seeing that error one time before, but I don't remember in which exact circumstance it was.

When I change the ownership of /tmp to root:root and disable writing by anyone other than root, launching geany as user tc still creates a /tmp socket file but the ownership of it is root and geany still works.

I wish I could reproduce it.

Offline AlabamaPaul

  • Newbie
  • *
  • Posts: 34
Re: 3.x geany fatal error
« Reply #4 on: July 21, 2010, 02:33:17 PM »
Ok, after a bit of looking around the directory tree I found /home/tc/.config/geany/geany_socket_box__0 which is listed as a link to /tmp/geany_socket.3f20f400 and was owned by root:staff.

Since /tmp/geany_socket.3f20f400 didn't exist, I simply deleted using "sudo rm /home/tc/.config/geany/geany_socket_box__0" and now Geany works.


Really odd.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: [SOLVED] 3.x geany fatal error
« Reply #5 on: July 21, 2010, 02:42:13 PM »
It might have been previously opened with sudo.