Summary: Patch Update - OpenWindows will not start

From: Craig Guest (craig@ISI.EDU)
Date: Wed Oct 07 1998 - 11:25:40 CDT


My original question:

> Hi Sun Managers,
> After installing the latest Solaris 2.5.1 jumbo patches from Sun,
> OpenWindows will not start. OpenWindows will start via dtlogin
> manager, but I receive the following errors when I try to start
> OpenWindows after logging in through "Command Line login":

> Binding Unix Socket: Address already in use
> Fatal Server error:
> Cannot establish unix listening socket
> /usr/openwin/bin/xinit: Server error

> This is probably a security fix to /tmp/.X11 directories. Previously,
> a user (ie soluser) would select "Command Line Login" from dtlogin
> menu and start OpenWindows from the prompt and /tmp/.X11 directories
> would change From:

> /tmp/.X11-pipe:
> total 8
> drwxrwxr-x 2 root root 104 Oct 6 13:57 .
> drwxrwxrwt 8 sys sys 742 Oct 6 13:41 ..
> -rw-rw-rw- 1 root root 0 Oct 6 13:57 X0

> /tmp/.X11-unix:
> total 8
> drwxrwxr-x 2 root root 104 Oct 6 13:57 .
> drwxrwxrwt 8 sys sys 742 Oct 6 13:41 ..
> p--------- 1 root root 0 Oct 6 13:57 X0

> To:

> /tmp/.X11-pipe:
> total 8
> drwxrwxr-x 2 root root 104 Oct 6 13:58 .
> drwxrwxrwt 8 sys sys 742 Oct 6 13:41 ..
> prw-rw-rw- 1 soluser root 0 Oct 6 13:58 X0

> /tmp/.X11-unix:
> total 8
> drwxrwxr-x 2 root root 104 Oct 6 13:58 .
> drwxrwxrwt 8 sys sys 742 Oct 6 13:41 ..
> p--------- 1 soluser root 0 Oct 6 13:58 X0

> Apparently now xinit cannot recreate these directories, as well as the
> sockets within them.

> Any suggestions will be greatly appreciated ...

> Thanks in advance, Craig

Solution:

I found a Bug Report (id 4143461) at Sun's site that recommends the following
workaround:

Change group ownership of /usr/openwin/bin/Xsun from bin to root.
# chgrp root /usr/openwin/bin/Xsun
# ls -lag /usr/openwin/bin/Xsun
-rwxr-sr-x 1 root root 729048 Oct 2 20:26 /usr/openwin/bin/Xsun

-- Craig



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