From owner-freebsd-stable Tue Nov 11 15:43:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA04580 for stable-outgoing; Tue, 11 Nov 1997 15:43:10 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from isgate.is (isgate.is [193.4.58.51]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA04570 for ; Tue, 11 Nov 1997 15:43:04 -0800 (PST) (envelope-from totii@est.is) Received: from eh.est.is (eh.est.is [194.144.208.34]) by isgate.is (8.7.5-M/) with ESMTP id XAA28159; Tue, 11 Nov 1997 23:42:58 GMT Received: from didda.est.is (ppp-21.est.is [194.144.208.121]) by eh.est.is (8.8.5/8.8.5) with SMTP id XAA25949; Tue, 11 Nov 1997 23:43:01 GMT Message-ID: <3468ED7B.167EB0E7@est.is> Date: Tue, 11 Nov 1997 23:42:51 +0000 From: =?iso-8859-1?Q?=DEor=F0ur?= Ivarsson X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: Wes Peters CC: Michael Knoll , stable@FreeBSD.ORG Subject: Re: X11 and /tmp References: <3.0.32.19971111000527.009999f0@lafcol.lafayette.edu> <199711111558.IAA01571@obie.softweyr.ml.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id PAA04573 Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Wes Peters wrote: > > Michael Knoll writes: > > I moved my /tmp directory to /usr/tmp, and I failed to copy the > > permissions. I noticed on a friends BSD box the permissions are set up as > > drwxrwxrwt. How do I set the t? What does it man? > > It's the "sticky" bit. Originally, it was used for executables, it told > older versions of UNIX to save the text segment of the program in the > swap space as long as possible; this was a way to increase the > performance of system utilities that were run very often, like sh and > ls. On a directory, it tells the system to only allow the owner of a > file to delete it, very important for tmp directories. > > > Also, I installed X11, and started XDM in a script in /usr/local/etc/rc.d. > > When it runs, the server(SVGA_???) goes up to 97% cpu time, and I can't log > > in locally. But, remote connections work, but I lose CPU clocks. > > > > If I start XDM from a shell as root, it all works fine. > > > > Where should I be automatically starting xdm on boot? > > I do mine in /etc/rc.local, which is the equivalent of NOT I got the same problem here! I think we need sleep or something into the start script or something is not already set up when xdm is started. In rc.local everything seems to be ok! > /usr/local/etc/rc.d. Here's the line I use: > > echo -n 'starting local daemons:' > > # put your local stuff here > > /usr/X11R6/bin/xdm && echo -n ' xdm' > > Pretty straightforward stuff. > > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr LLC > http://www.xmission.com/~softweyr softweyr@xmission.com -- Þórður Ívarsson Thordur Ivarsson Rafeindavirki Electronic technician Norðurgötu 30 Nordurgotu 30 Box 309 Box 309 602 Akureyri 602 Akureyri Ísland Iceland --------------------------------------------- FreeBSD has good features, Some others are full of unwanted features! ---------------------------------------------