Bug 33618 - Starting KDE fails due to "Owner of /tmp/.ICE-unix should be set to root "
Summary: Starting KDE fails due to "Owner of /tmp/.ICE-unix should be set to root "
Status: CLOSED FIXED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: klauncher (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
: 60523 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-12 12:18 UTC by pete
Modified: 2009-01-23 01:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pete 2001-10-12 12:16:29 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           klauncher
Version:           KDE 2.2.1 
Severity:          normal
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3 and solaris 8
OS:                Solaris
OS/Compiler notes: Not Specified

Similar to bug #27106  (which has been marked as done but since the fix was subbmitted a few months ago and there has been a release since then im guessing the problem isn't fixed) I get the error 

_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root               _KDE_IceTransSocketCreateListener: failed to bind listener                      
_KDE_IceTransSocketUNIXCreateListener: ...SocketCreateListener() failed         
_KDE_IceTransMakeAllCOTSServerListeners: failed to create listener for local    
Cannot establish any listening sockets                                          
DCOPServer self-test failed.                                                   

This is fine if you clear out /tmp on startup. But on quitting KDE it doesn't clear up the .ICE-unix file so if a different user logs in you get that error since .ICE-unix is owned by a different user. Also i think gnome also creates this file and doesn't clear up after itself either. So if someone has logged in before using gnome i also get that error. (But gnome doesn't seem to barf if someone else logs in afterwards)

A note to make i am not using kdm but dtlogin. (Which the little knowledge i have seems to start everything as the user so couldn't make .ICE-unix belong to root)

Cheers

(Submitted via bugs.kde.org)
Comment 1 Waldo Bastian 2001-10-12 18:43:25 UTC
On Friday 12 October 2001 05:16 am pete@fodder.org.uk wrote:
> Package: klauncher
> Version: KDE 2.2.1
> Severity: normal
> Installed from:    Compiled From Sources
> Compiler:          gcc 2.95.3 and solaris 8
> OS:                Solaris
> OS/Compiler notes: Not Specified
>
> Similar to bug #27106  (which has been marked as done but since the fix
> was subbmitted a few months ago and there has been a release since then
> im guessing the problem isn't fixed) I get the error
>
> _KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root  

This is only a warning and shouldn't be fatal. Your operating system should 
provide you with a root-owned /tmp/.ICE-unix btw complain to your admin or 
your vendor that they don't setup their system properly. The real problem is 
something else.
        
> _KDE_IceTransSocketCreateListener: failed to bind listener
> _KDE_IceTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> _KDE_IceTransMakeAllCOTSServerListeners: failed to create listener for
> local Cannot establish any listening sockets
> DCOPServer self-test failed.
>
> This is fine if you clear out /tmp on startup. But on quitting KDE it
> doesn't clear up the .ICE-unix file so if a different user logs in you
> get that error since .ICE-unix is owned by a different user. Also i think
> gnome also creates this file.

It's a directory actually. Can you check that you _do_ have write-access to 
this directory? If so kde 2.2.2 will fix your problems. Really :-)

Cheers
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
Comment 2 pete 2001-10-12 22:58:26 UTC
On Fri 12 Oct 2001 Waldo Bastian wrote:

> This is only a warning and shouldn't be fatal. Your operating system should
> provide you with a root-owned /tmp/.ICE-unix btw complain to your admin or
> your vendor that they don't setup their system properly. The real problem is
> something else.

Ah the system was not creating this. I've set it up to create it with
1777 permissions on startup now.

> It's a directory actually. Can you check that you _do_ have write-access to
> this directory? If so kde 2.2.2 will fix your problems. Really :-)

Appolgies :) (Did mean dir brain lapse). The dir was being made as the
first user that ran so the next user that ran caused that error. (Side
note gnome did create the dir also but the next user could log in fine.
It did however create .ICE-unix with a different permissions)

Sorry and cheers again.
Pete
Comment 3 Oswald Buddenhagen 2003-06-30 16:28:09 UTC
*** Bug 60523 has been marked as a duplicate of this bug. ***