_X11TransSocketINETConnect: Can't connect: errno = 111

PianoMan clemej "at" rpi.edu
Thu, 12 Mar 1998 06:43:01 +0000


i've been trying to get VNC to work under Linux (heavily modified
slackware, 2.1.85) for the past 2 days..(i'm home on spring break, trying
to get some simple X programs written for college)

i've gotten Xvnc to run (set up a fonts server, then checked out the
permissions on /tmp/.X11-unix, then added the "xauth ... tcp/unix..." in
the perl script), now when i run vncserver, i get:
----
irish:~/vnc# vncserver

New 'X' desktop is irish:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/X.log

---- 

which looks fine, abd i can connect from home and get the X thatched
screen, but whenever i try and run a program, i get "can't open display"
or the errors in the subject of this message...here's my X.log, which is a
good example....

----
rfbInitSockets: listening on TCP port 5901
httpInitSockets: listening on TCP port 5800
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
xrdb: Connection refused
xrdb: Can't open display 'irish:1'
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
xsetroot:  unable to open display 'irish:1'
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
twm:  unable to open display "irish:1"
Error: Can't open display: irish:1
----

it loks like the server runs, but there's no permissions to connect to
it.. i tried an xhost +localhost or just an xhost+, but they all give me
"can't open display ""...what did i miss? it's a great program, and i'll
enjoy it a lot once i get it up and running...

please forward any responses to the list and to me, clemej "at" rpi.edu, cause
i'm not on it (yet, anyways).

please help, thanks,
john.c
clemej "at" rpi.edu
http://www.rpi.edu/~clemej/