From owner-freebsd-questions Wed Feb 5 9:34: 9 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EF8F37B401 for ; Wed, 5 Feb 2003 09:34:07 -0800 (PST) Received: from cerebellum.za.net (cerebellum.za.net [196.34.172.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDD6C43FA7 for ; Wed, 5 Feb 2003 09:34:06 -0800 (PST) (envelope-from ian@cerebellum.za.net) Received: from [196.30.239.101] (helo=pharmmain) by cerebellum.za.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.36 #1) id 18gTY5-000BPD-00; Wed, 05 Feb 2003 17:41:26 +0000 Message-ID: <008d01c2cd3c$9c556850$6f00a8c0@pharmmain> From: "Ian Barnes" To: "J. Seth Henry" Cc: References: <20030205111336.B19637-100000@whitetower.gambrl01.md.comcast.net> Subject: Re: Launch X at boot Date: Wed, 5 Feb 2003 19:32:47 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "J. Seth Henry" To: Sent: Wednesday, February 05, 2003 7:26 PM Subject: Launch X at boot > I know this is probably an obvious question, but so far my attempts at > writing a script to do this have failed. > > I would like to launch X windows at boot, and have it query an xdm server. > I attempted to put a script with: > > #/bin/sh > /usr/X11R6/bin/X -query whitetower > > in my /usr/local/etc/rc.d directory. When I boot, though, I get nothing - > not even error messages. I did check that the file permissions were set > (700) - and it works if I run it from the command line (after logging in) > > Am I missing something? > > Thanks, > Seth Henry > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Hi, In your /etc/ttys file.. make the last one : ttyv(whatever your last one is) "/usr/X11R6/bin/xdm -nodaemon" xterm on secure Reboot, and then it should start xdm... if you are running KDE, you could use KDM, and i dont know about gnome and all the others, but im sure they have loaders aswell. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message