[rescue] openwin on diskless sunos411 sun3

John Davison rescue at sunhelp.org
Sun Jul 15 15:12:21 CDT 2001


So it occurs to me that I've never used the cg4 I have for my 3/60.  The
Xkernel package I was running only supports the on-board bwtwo.  I grab
sunos 4.1.1 and install it on an external drive stolen from another
machine.  Wanting to return the drive, I tar everything up and put it on
an OpenBSD machine and nfs export it.  Everything else works fine (after
turning on version 1 yp support), but openwin dies after the blue
"OpenWindows Version 2" screen with:

XNeWS: there is already a NeWS server running on :0
giving up.
/usr/openwin/bin/xinit:  Socket operation on non-socket (errno 38): unable
to connect to X server

I have also gotten "Interrupted system call (errno 4)" instead of
ENOTSOCK.  Anyway, I suspect there's a problem with the sockets in /tmp.

drwxrwsrwt  4 bin     512 Jul 15 15:38 /tmp
drwxrwsrwx  2 root    512 Jul 15 15:37 /tmp/.NeWS-unix
drwxrwsrwx  2 root    512 Jul 15 15:38 /tmp/.X11-unix
srwxrwxrwx  1 root      0 Jul 15 15:37 /tmp/.NeWS-unix/N0
srwxrwxrwx  1 root      0 Jul 15 15:38 /tmp/.X11-unix/X0

Keep in mind this is all over NFS.  I think my suspicions are correct,
because if I instead mount sd0g on /mnt, mkdir /mnt/foo, and ln -s
/mnt/foo /tmp, openwin works fine. (whoa, colors!)  While openwin is
running, there is another socket created in /tmp, .sv_xv_sel_svc.

So, is this a known problem with sockets over NFS?  Does anyone know a
workaround, like a ramdisk or some mount_nfs option?  Anyone had success
with a non-OpenBSD nfs server?

john

-- 


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the rescue mailing list