Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: AlabamaPaul on July 21, 2010, 07:40:02 AM

Title: [SOLVED] 3.x geany fatal error
Post by: AlabamaPaul on July 21, 2010, 07: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
Title: Re: 3.x geany fatal error
Post by: Jason W on July 21, 2010, 09:30:44 AM
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.
Title: Re: 3.x geany fatal error
Post by: AlabamaPaul on July 21, 2010, 09:49:09 AM
Hmm, still not working here. Chromium, RapidSVN and others are working fine.

I've tried deleting the extension and loading it again.
Title: Re: 3.x geany fatal error
Post by: Jason W on July 21, 2010, 10:35:01 AM
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.
Title: Re: 3.x geany fatal error
Post by: AlabamaPaul on July 21, 2010, 11:33:17 AM
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.
Title: Re: [SOLVED] 3.x geany fatal error
Post by: ^thehatsrule^ on July 21, 2010, 11:42:13 AM
It might have been previously opened with sudo.