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

Re: _X11TransSocket UNIXconnect: errno=111



Simon Harvey wrote:
> 
> X11 TransSocket UNIX connect:
> Can't connect: errno=111
> 
> hello i managed to get startx working well.
> but now when i type ( for example)
> xlogo
> it flashes up with that horrible; ambigious error message:
> _X11TransSocketUNIXconnect:
> Can't connect: errno=111
> (GULP!!!!)
> 
> does anybody have any suggestions?????

  if you're running it from virtual console you have to set the DISPLAY
variable:

  export DISPLAY=":0" # sh (bash, ksh etc)
  setenv DISPLAY :0 " csh (tcsh)

  (I assume it's the first display on local machine, if not use host:N
instead of :0)

  alternatively you can run most of X programs with -display :0 argument

	erik



Reply to: