SUMMARY: xdm failed to start X

From: Bin Zhao (zhao@adx.adelphi.edu)
Date: Sat Jul 18 1992 - 11:24:05 CDT


Yesterday I posted:
>
> After the swap partitions ware mounted to /tmp, the xdm failed
>to start X and came back with the following error message:
>
> error (pid 181): Can't create/lock pid file /tmp/xdm.pid
>
>Since the /tmp/xdm.pid did get created, I suspected it was the lockd
>problem and I called the Sun support and they also thought it was the
>locked and suggested I apply the lockd patch 100075-08. I did that,
>remade the kernel, and reboot the system. But the problem still exists!
>Same error message. I can use the xinit to start the X though (before
>and after I applied the locked patch). Any help and information will be
>greatly appreciated. Thanks in advance.
>

After I posted the article I went to take a second look at Reter
Snyder's paper about tmpfs. And from there I verified that under tmpfs,
file and record locking is NOT supported. That explains it.

I received two replies. All suggested I log the xdm.pid somewhere other
than the tmpfs. Brett Lymn (blymn@awadi.com.AU) also mentioned that
somethings may not work with tmpfs. Thanks for replies from:

 Brent Alan Wiese <brent@crick.ssctr.bcm.tmc.edu>
 Brett Lymn <blymn@awadi.com.AU>

Replies included:
---------------------------
>From Brent Alan Wiese <brent@crick.ssctr.bcm.tmc.edu>:
> I would suggest you change /usr/lib/X11/xdm/xdm-config
>to something like the following, the DisplayManager.pidFile being the
>important line here ...
>
>DisplayManager.servers: /usr/lib/X11/xdm/Xservers
>DisplayManager.errorLogFile: /usr/adm/xdm-errors
>DisplayManager.pidFile: /usr/adm/xdm-pid
>DisplayManager*resources: /usr/lib/X11/xdm/Xresources
>DisplayManager*session: /usr/lib/X11/xdm/Xsession
>DisplayManager.0.authorize: true
>DisplayManager*authorize: false
>
>
>--
>Brent A. Wiese Unix & X Support
>Systems Support Center E-mail: brent@bcm.tmc.edu
>Baylor College of Medicine Voice: (713) 798-5081
>Houston, Texas Fax: (713) 798-6675
>
>
-------------------------------------
From: blymn@awadi.com.AU (Brett Lymn):
>
>There are some things that just do not work with the tmpfs file
>system, I don't know if this is one of them but we have had experience
>with other programs not working after mounting swap as /tmp. I
>suggest you either go back to having /tmp as a normal filesystem or
>change the xdm configuration so it creates the lock file on a normal
>partition (/usr/tmp may be a good place if it is not linked to /tmp)
>
>--
>Brett Lymn
>Computer Systems Administrator
>AWA Defence Industries
>
------------------end of message inclusion--------------

-- 
       =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
         Bin Zhao, UNIX SysAdmin,   <zhao@adelphi.edu>  (516) 877-3343
          Computer Center, Adelphi University,  Garden City, NY 11530 
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:46 CDT