failed to bind listener, etc.

Dan Fulbright linux "at" fan.com
Wed, 10 Nov 1999 18:35:51 +0000


So, what should the permissions be on /tmp/.X11-unix? (BTW, the "u" should
be lower case.)  Mine are drwxrwxrwx, which you say is bad.  I'm guessing
I did this a long time ago when I first started using VNC, and I don't
remember what the perms were before.  (I'm not too worried, since my only
other user is my wife. :)

Thanks.

On Wed, 10 Nov 1999, Peter C. Tribble wrote:

> "Soyeb Aswat" <soyeb "at" btinternet.com> wrote in reply:
> 
> >>>> Does anyone know what would be causing this failure on a Sun computer
> >>>> running Solaris 7?
> >>>> 
> >>>> 
> >>>> _XSERVTransSocketCreateListener: failed to bind listener
> >>>> _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> >>>> _XSERVTransMakeAllCOTSServerListeners: failed to create listener for local
> >>>
> >>>You need to "chmod 1777 /tmp/.X11-Unix"
> 
> While this will work, it opens a security hole big enough for your users
> to drive a truck through, should they wish.
> 
> The correct fix is (and this of course assumes you have adequate privileges,
> but then if you have enough privilege to chmod the directory you should be
> able to do this as well)
> 
> chgrp root Xvnc
> chmod g+s Xvnc
> 
> -Peter Tribble
> HGMP Computing Services
> http://www.hgmp.mrc.ac.uk/~ptribble/
> 
> 
> ---------------------------------------------------------------------
> The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
> 

-- 
Dan Fulbright
linux "at" fan.com



---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------