SUMMARY: Openwin fails; binding unix socket

From: Philip Hurvitz (phurvitz@u.washington.edu)
Date: Mon Oct 12 1998 - 14:48:45 CDT


Thanks to:

Stefan Voss <s.voss@terradata.de>
Casper Dik <casper@holland.Sun.COM>
Val <vpopa@sms.mc.xerox.com>
Mike Fletcher <mfletcher@iss.net>

The answer appears to be that when root quits openwin, it does not remove
the files

/tmp/.X11-pipe
/tmp/.X11-unix

Removing these files or making them world-writeable does the trick.

Says Val: "This is a known bug (i don't remember the bugID) but you can
find it in SunSOLVE."

---------------------------------

orig> After patching several machines, we've noticed strange behavior.
orig>
orig> If root logs on to the console and runs openwin, after logging off, nobody
orig> else can start openwin. The error is
orig>
orig> Binding UNIX socket: Address already in use
orig> Fatal server error:
orig> Cannot establish unix listening socket
orig> /usr/openwin/bin/xinit: Server error
orig>
orig> I looked at the summaries, which indicated that to solve this problem, we
orig> should change the permissions:
orig>
orig>
orig> # cd /devices/pseudo
orig> # ls -l clone@0:tcp tl@0*
orig> crw-rw-rw- 1 root sys 11, 42 Feb 15 17:11 clone@0:tcp
orig> crw-rw-rw- 1 root sys 105, 2 Feb 15 17:11 tl@0:ticlts
orig> crw-rw-rw- 1 root sys 105, 0 Feb 15 17:11 tl@0:ticots
orig> crw-rw-rw- 1 root sys 105, 1 Feb 15 17:11 tl@0:ticotsord
orig>
orig> Which I did, but the problem persists. After rebooting, anyone can log on
orig> and start openwin.
orig>
orig> Attached is a list of patches. This occurs on several different
orig> architectures, all running Solaris 2.5.1.

-P.

***************************************************************************
 Phil Hurvitz | GIS Specialist | College of Forest Resources | 355 Bloedel
Box 352100 | University of Washington, Seattle, Washington 98195-2100, USA
 tel: 206.685.8179 | FAX: 206.685.3091 | e-mail: phurvitz@u.washington.edu
             WWW: http://weber.u.washington.edu/~phurvitz/
***************************************************************************



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:50 CDT