Bug 24653

Summary: can't get working install of X under 4.2 release
Product: Base System Reporter: pstern <pstern>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description pstern 2001-01-26 05:00:01 UTC
I cannot get X to run under a 4.2 release install. I have tried 4 times with fresh installs and
have tried configuring XF86 using sysinstall, XF86Setup and xf86config.
This hardware has not problem under release 4.0 or 4.1.

This is the error message
execve failed for /usr/X11R6/bin/XFree86 (errno 2)
_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

I tried reinstalling just XF86 but no change in behavior.

PPro200 overdrive (333mhz)
128meg
Adaptec 2940UW 1.3.34 firmware
Matrox Millenium I 8mb
ps2 logitech mouse

Xwrapper is installed, startx looks okay, X is linked to XF86_SVGA server.
I can execute  XF86_SVGA and get a blank screen with moveable mouse but no window manager. twm and fvwm are both installed.

I've never had XF86 fail under a Freebsd install even as far back as Freebsd 2.2.2.
Comment 1 Sergey N. Voronkov 2001-01-26 09:45:57 UTC
> I cannot get X to run under a 4.2 release install. I have tried 4 times with fresh installs and
> have tried configuring XF86 using sysinstall, XF86Setup and xf86config.
> This hardware has not problem under release 4.0 or 4.1.
> 
> This is the error message
> execve failed for /usr/X11R6/bin/XFree86 (errno 2)
> _X11TransSocketUNIXConnect: Can't connect: errno = 2
> _X11TransSocketUNIXConnect: Can't connect: errno = 2
> _X11TransSocketUNIXConnect: Can't connect: errno = 2
> _X11TransSocketUNIXConnect: Can't connect: errno = 2
> _X11TransSocketUNIXConnect: Can't connect: errno = 2
> _X11TransSocketUNIXConnect: Can't connect: errno = 2

Do you use kern.securelevel > 0 ? If so, you can't start X server.
Solutions:
1) start xdm before rasing your securelevel.
2) don't use X at all if you need better security.
3) don't use hight securelevel on workstation.

Bye,
Serg N. Voronkov.
Comment 2 pstern 2001-01-26 16:08:30 UTC
I selected the default security level during the install. As a test I just
set security to the lowest level but X still fails with the same error.

Thanks for the suggestion though.

peter

On Fri, 26 Jan 2001, Sergey N. Voronkov wrote:

> > I cannot get X to run under a 4.2 release install. I have tried 4 times with fresh installs and
> > have tried configuring XF86 using sysinstall, XF86Setup and xf86config.
> > This hardware has not problem under release 4.0 or 4.1.
> >
> > This is the error message
> > execve failed for /usr/X11R6/bin/XFree86 (errno 2)
> > _X11TransSocketUNIXConnect: Can't connect: errno = 2
> > _X11TransSocketUNIXConnect: Can't connect: errno = 2
> > _X11TransSocketUNIXConnect: Can't connect: errno = 2
> > _X11TransSocketUNIXConnect: Can't connect: errno = 2
> > _X11TransSocketUNIXConnect: Can't connect: errno = 2
> > _X11TransSocketUNIXConnect: Can't connect: errno = 2
>
> Do you use kern.securelevel > 0 ? If so, you can't start X server.
> Solutions:
> 1) start xdm before rasing your securelevel.
> 2) don't use X at all if you need better security.
> 3) don't use hight securelevel on workstation.
>
> Bye,
> Serg N. Voronkov.
>
Comment 3 peter stern 2001-01-28 05:11:40 UTC
I did an install of Xfree86 3.36.6 from the ports and X now works.
Something in the install routine from packages must be broken.

peter
Comment 4 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-05-28 22:26:32 UTC
State Changed
From-To: open->closed

problem seems solved.