[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Telnet and Xprograms



Gregory Green wrote:
> I have tried usining vt100, vt102, vt220 and I cannot figure out how to
> export X programs, such as xterm, to my telnet session.  I export my and
> I still cannot connect.  I get the following error:
> _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
> /usr/X11R6/bin/xhost:  unable to open display "xxx.xxx.xxx.xx:0.0"
> 
> What do I have to set?

You need to run an X-server on the computer you're telnet'ing from. And you
need to set the DISPLAY environment variable to the correct X-server, which
usually is "xxx.xxx.xxx.xx:0".

On the machine you run the X-server, you need to give access to the host
you're telnet'ing into, with the command "xhost +yyy.yyy.yyy.yy".


HTH,
 -Remco


Reply to: