Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!eagle.wesleyan.edu!hdtodd From: hdtodd@eagle.wesleyan.edu Newsgroups: comp.sys.apollo Subject: uwm/xownsroot login hangs on diskless noes Message-ID: <1991Jan23.221253.37967@eagle.wesleyan.edu> Date: 24 Jan 91 03:12:53 GMT Organization: Wesleyan University Lines: 23 This is a followup answer to a question I posted a couple of weeks ago. Running 10.2, BSD4.3 on a 2500 disked node supporting two diskless nodes, I set up the systems to run with xownsroot and to start up uwm from startup_login. The login process hung for non-root users but succeeded for root on the diskless nodes but worked just fine for both on the disked nodes. After spending a couple of days working on the problem, I asked for insights. I didn't get any responses, so this must be a rare environment. In case anyone else runs into the problem, here was the cause and solution for mine. During bootup, the rc file clears /tmp. Apparently, uwm needs a file /tmp/X11-unix/X0 --- and it needs for that file to be writable by the display user. Unfortunately, it seems to create it srwxr-xr-x (at least on the diskless nodes). So, root works just fine, others hang on login (uwm hangs). My fix, as a novice UNIX user, was to create the directory and file at the end of the rc script and to set the protection to 4777. There must be a cleaner way than this, but it works ... and I'd spent more time on this than I could afford as it was. Suggestions for cleaner fixes (or obvious mistakes in my setup of the system) would be welcome. I hope this helps someone else considering this environment.