From owner-freebsd-questions Tue Jul 6 9:20:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mercenary.vntech.com (mercenary.vntech.com [206.147.237.3]) by hub.freebsd.org (Postfix) with ESMTP id CC0AE15421 for ; Tue, 6 Jul 1999 09:20:27 -0700 (PDT) (envelope-from pezzy@vntech.com) Received: from localhost (pezzy@localhost) by mercenary.vntech.com (8.9.3/8.9.3) with ESMTP id LAA20611; Tue, 6 Jul 1999 11:19:53 -0500 (CDT) (envelope-from pezzy@vntech.com) Date: Tue, 6 Jul 1999 11:19:53 -0500 (CDT) From: Patrick Walentiny To: Amy Wennings Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Launching xdm at startup In-Reply-To: <19990705173914.65278.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there, Just a few pointers I picked up while running xdm. Instead of putting a script in /usr/local/etc/rd.d, try this. Open /etc/ttys, edit the file from ttyv3 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure to ttyv3 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure Then restart the machine. Also for the path's, try creating and chmoding (755) a .xsession file in $HOME for root and your personal account. In there you can add a line like... PATH=$PATH:/usr/local/sbin; export PATH or whatever you need to fix the problem. The xconsole is kinda strange I have not looked in to why it pops up, I just accepted it cause I liked it being there anyways? Good Luck, Patrick. On Mon, 5 Jul 1999, Amy Wennings wrote: > What's the proper way to start xdm at boot time? > > I created /usr/local/etc/rc.d/start_xdm.sh with this inside: > #!/bin/sh > xdm > > But it has two problems: > > 1) root doesn't get a proper environment - it can't find the sbin directory > > 2) my user account always gets xconsole running when it logs in. This > doesn't happen if I log in as root and then run xdm > > > _______________________________________________________________ > Get Free Email and Do More On The Web. Visit http://www.msn.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message