Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 1998 15:03:03 +0100
From:      "John McLaughlin" <mclaughj@segasoft.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   X problem : _X11TransSocketUNIXConnect - error 13
Message-ID:  <199810211403.PAA00535@jmcl.segasoft.com>

next in thread | raw e-mail | index | archive | help

Hi all,

	I've developed a problem with running X under 2.2.7-STABLE
(cvsupped about 3 weeks ago).

	I've been using X with tvtwm successfully for some time
now, having installed it manually rather than via the port. Yesterday 
I installed fvwm2 from the ports, and since, I've been *sort*
of unable to start a server successfully. Root can start a server
no problem (using startx from the command line), but any non-root
user can't, with the output from startx as shown below. It will
keep trying to connect ad-infinitum (I stopped it). The server 
*does* seem to run in that the grey background appears, with the
`X' mouse pointer, which moves, but no client gets launched. In
fact, it never gets as far as parsing .xinitrc (I tried putting 
`echo "Reading xinitrc"' at the start of the file, which displays
when put in roots .xinitrc, but no joy from a users)

	It's a similar story with xdm - root can log in, but a
user gets dumped back to xdm with something like this in 
$HOME/.xsession-errors:

	_X11TransSocketUNIXConnect: Can't connect: errno = 13
	xrdb: Permission denied
	xrdb: Can't open display ':0'
	_X11TransSocketUNIXConnect: Can't connect: errno = 13
	Error: Can't open display: :0

	I suspect it may be an xauth problem, but creating an
.Xauthority file from roots valid permissions using something
like:

	# xauth extract - $DISPLAY | ssh -l user localhost xauth merge -

	creates a valid looking .Xauthority file in the users home
directory, but after a (failed) attempt at starting a server, 
the entries vanish from the file. 

	Any hints or clues anybody could give me would be most
appreciated, as this is starting to drive me demented. I guess 
it's possible that fvwm2 overwrote something during the install
but having had a close look at the output from it, it all seems
reasonably inoxious.

	Reinstalling XFree86 (this time *from* the port) has had 
no effect.

Regards,

John

============================================
Output from server startup:



_X11TransSocketUNIXConnect: Can't connect: errno = 13

waiting for X server to begin accepting connections 
XFree86 Version 3.3.2.3 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: July 15 1998
	If the server is older than 6-12 months, or if your card is newer
	than the above date, look for a newer version before reporting
	problems.  (see http://www.XFree86.Org/FAQ)
Operating System: FreeBSD 2.2.7-STABLE i386 
Configured drivers:
  SVGA: server for SVGA graphics adaptors (Patchlevel 0):
      NV1, STG2000, RIVA128, ET4000, ET4000W32, ET4000W32i,
      ET4000W32i_rev_b, ET4000W32i_rev_c, ET4000W32p, ET4000W32p_rev_a,
      ET4000W32p_rev_b, ET4000W32p_rev_c, ET4000W32p_rev_d, ET6000, ET6100,
      et3000, pvga1, wd90c00, wd90c10, wd90c30, wd90c24, wd90c31, wd90c33,
      gvga, ati, sis86c201, sis86c202, sis86c205, tvga8200lx, tvga8800cs,
      tvga8900b, tvga8900c, tvga8900cl, tvga8900d, tvga9000, tvga9000i,
      tvga9100b, tvga9200cxr, tgui9400cxi, tgui9420, tgui9420dgi,
      tgui9430dgi, tgui9440agi, cyber9320, tgui9660, tgui9680, tgui9682,
      tgui9685, cyber9382, cyber9385, cyber9388, cyber9397, cyber9520,
      3dimage975, 3dimage985, clgd5420, clgd5422, clgd5424, clgd5426,
      clgd5428, clgd5429, clgd5430, clgd5434, clgd5436, clgd5446, clgd5480,
      clgd5462, clgd5464, clgd5465, clgd6205, clgd6215, clgd6225, clgd6235,
      clgd7541, clgd7542, clgd7543, clgd7548, clgd7555, ncr77c22, ncr77c22e,
      cpq_avga, mga2064w, mga1064sg, mga2164w, mga2164w AGP, oti067, oti077,
      oti087, oti037c, al2101, ali2228, ali2301, ali2302, ali2308, ali2401,
      cl6410, cl6412, cl6420, cl6440, video7, ark1000vl, ark1000pv,
      ark2000pv, ark2000mt, mx, realtek, AP6422, AT24, AT3D, s3_virge,
      s3_svga, ct65520, ct65525, ct65530, ct65535, ct65540, ct65545,
      ct65546, ct65548, ct65550, ct65554, ct65555, ct68554, ct64200,
      ct64300, generic
Using syscons driver with X support (version 2.0)
(using VT number 5)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: keycodes: "xfree86"
(**) XKB: types: "default"
(**) XKB: compat: "default"
(**) XKB: symbols: "en_US(pc101)+gb"
(**) XKB: geometry: "pc"
(**) Mouse: type: IntelliMouse, device: /dev/sysmouse, baudrate: 1200
(**) Mouse: buttons: 3
(**) SVGA: Graphics device ID: "My Card"
(**) SVGA: Monitor ID: "Dell 17"
(--) SVGA: Mode "1024x768" needs hsync freq of 70.24 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 70.88 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 74.59 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 75.00 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 76.01 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 78.86 kHz. Deleted.
(--) SVGA: Mode "1024x768" needs hsync freq of 80.21 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 81.13 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 87.50 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 89.62 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 91.15 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 93.75 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 105.77 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 107.16 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 96.15 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 104.52 kHz. Deleted.
(**) SVGA: Default visual: TrueColor
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/URW,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/freefont/,/usr/X11R6/lib/X11/fonts/sharefont/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
.(--) SVGA: PCI: NVidia/SGS-Thomson Riva128 rev 16, Memory @ 0xfd000000, 0xf6000000
(--) SVGA: RIVA128: Setting RGB weight to 555
(--) SVGA: chipset:  RIVA128
(--) SVGA: videoram: 4096k
(**) SVGA: Using 16 bpp, Depth 16, Color weight: 555
(--) SVGA: Maximum allowed dot-clock: 230.000 MHz
(**) SVGA: Mode "1024x768": mode clock =  85.000
(**) SVGA: Mode "800x600": mode clock =  69.650
(**) SVGA: Mode "640x480": mode clock =  45.800
(--) SVGA: Virtual resolution set to 1024x768
(--) SVGA: RIVA128: Using hardware cursor
(--) SVGA: Using XAA (XFree86 Acceleration Architecture)
(--) SVGA: XAA: Solid filled rectangles
(--) SVGA: XAA: Screen-to-screen copy
(--) SVGA: XAA: Indirect CPU to screen color expansion (imagetext, polytext)
(--) SVGA: XAA: Using 8 128x128 areas for pixmap caching
(--) SVGA: XAA: Caching tiles and non-transparent stipples
(--) SVGA: XAA: Horizontal and vertical lines and segments

_X11TransSocketUNIXConnect: Can't connect: errno = 13
..
_X11TransSocketUNIXConnect: Can't connect: errno = 13
..
_X11TransSocketUNIXConnect: Can't connect: errno = 13
..
_X11TransSocketUNIXConnect: Can't connect: errno = 13
..
_X11TransSocketUNIXConnect: Can't connect: errno = 13
..
_X11TransSocketUNIXConnect: Can't connect: errno = 13
.xinit:  Permission denied (errno 13):  unexpected signal 2

waiting for X server to shut down .


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810211403.PAA00535>