From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 16:51:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F75A10656A9 for ; Wed, 12 Nov 2008 16:51:25 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 4F6378FC16 for ; Wed, 12 Nov 2008 16:51:25 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 3198 invoked from network); 12 Nov 2008 16:51:24 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Nov 2008 16:51:24 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id F046D50834; Wed, 12 Nov 2008 11:51:22 -0500 (EST) To: Fbsd1 References: <49184372.7010209@a1poweruser.com> <200811110817.10849.fbsd.questions@rachie.is-a-geek.net> <49195FFD.7050303@a1poweruser.com> <200811111147.03303.fbsd.questions@rachie.is-a-geek.net> <491967CD.3050606@a1poweruser.com> <44prl2b6af.fsf@be-well.ilk.org> <20081111235817.GA89520@www.photor.de> <491A416F.7020408@a1poweruser.com> From: Lowell Gilbert Date: Wed, 12 Nov 2008 11:51:22 -0500 In-Reply-To: <491A416F.7020408@a1poweruser.com> (fbsd1@a1poweruser.com's message of "Wed\, 12 Nov 2008 10\:37\:35 +0800") Message-ID: <44myg4ga5x.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: trouble getting x11 xdm to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 16:51:25 -0000 Fbsd1 writes: > My /etc/ttys looks like this > > ttyv6 "/usr/libexec/getty Pc" cons25 on secure > ttyv7 "/usr/libexec/getty Pc" cons25 on secure > #ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure > #ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure > > The "init: getty repeating too quickly on port /dev/ttyv8" msg has stopped. Right. Because you're no longer trying to run a getty on that port. > When I start xdm from root command line nothing happens. NO error log > msgs, nothing. Does it return to the command prompt? Respond with "xdm: not found"? Just hang there? What *does* it do? > F1 thru F12 just issue the freebsd console logon > prompt. Really? The standard /etc/ttys file doesn't include entries for ttyv9-ttyv12. That means F9-F12 shouldn't let you change to them. Are you sure that you can really change to them, or is it possible that you're still looking at ttyv7 without knowing it? > My understanding is when /etc/ttys contains this statement > > ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure > > followed by a kill -HUP 1 command to reread tyys file the following > should happen. > > F1 thru F8 virtual consoles work as normal (ie: freebsd console logon > prompt). F9 thru F12 virtual consoles will show the xdm logon screen. No. F1 through F7 virtual consoles will be regular consoles, and F8 will be the xdm login screen. > To make xdm the system default logon method have to add > xdm_enable="YES" to /etc/rc.conf and reboot. Then only the xdm logon > screen will be seen on all virtual consoles F1 thru F12. A > ctrl+alt+backspace key sequence is the only way to force a return to > the freebsd console logon prompt for the Fx virtual console being > used. No. Not unless you've written your own script to handle the xdm_enable variable, which doesn't seem to exist anywhere else in the system. Unless you've written the script for it as well, I wouldn't expect it to work.