From owner-freebsd-stable Tue Nov 11 07:44:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA00223 for stable-outgoing; Tue, 11 Nov 1997 07:44:01 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from obie.softweyr.ml.org ([199.104.124.49]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA00208 for ; Tue, 11 Nov 1997 07:43:57 -0800 (PST) (envelope-from wes@xmission.com) Received: (from wes@localhost) by obie.softweyr.ml.org (8.7.5/8.6.12) id IAA01571; Tue, 11 Nov 1997 08:58:36 -0700 (MST) Date: Tue, 11 Nov 1997 08:58:36 -0700 (MST) Message-Id: <199711111558.IAA01571@obie.softweyr.ml.org> From: Wes Peters To: Michael Knoll CC: stable@freebsd.org Subject: X11 and /tmp In-Reply-To: <3.0.32.19971111000527.009999f0@lafcol.lafayette.edu> References: <3.0.32.19971111000527.009999f0@lafcol.lafayette.edu> Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 /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