From owner-freebsd-questions@FreeBSD.ORG Sat Dec 16 23:11:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FCBD16A416 for ; Sat, 16 Dec 2006 23:11:17 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F6C743CA1 for ; Sat, 16 Dec 2006 23:11:17 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBGNBGHO022031 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 16 Dec 2006 15:11:16 -0800 X-Auth-Received: from [192.168.0.102] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBGNBGAf009761 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Sat, 16 Dec 2006 15:11:16 -0800 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <200612161224.14708.lane@joeandlane.com> References: <200612161224.14708.lane@joeandlane.com> X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Sat, 16 Dec 2006 15:11:17 -0800 To: FreeBSD Questions X-Mailer: Apple Mail (2.752.2) X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.12.16.145933 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Subject: Re: xorg on a headless, mouseless, keyboardless box 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: Sat, 16 Dec 2006 23:11:17 -0000 On Dec 16, 2006, at 10:24 AM, Lane wrote: > Hi, > > I need to run X ... or in some way gain access to the display > output on a > remote box that has neither mouse, keyboard, or console. > > Is this even possible? > > I've been looking at the handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x- > xdm.html#AEN6864 > > But it doesn't jump out at me how I should make this work. > > I've edited /usr/X11R6/lib/X11/xdm/xdm-config and Xaccess to listen > for the > connection, but when I run > > xdm > > on the remote box it fails with "No core pointer" > > So I followed the limited instructions on the X wiki and added > > Section ServerFlags > option "AllowMouseOpenFail" > EndSection > > But now I get > > Fatal error: no screens found. > > Is it even possible to have the remote headless box host an X session? > > thanks, > > lane Lane, Did you by chance remove keyboard / mouse support from your kernel? kldstat(8) may hold the answers, unless you have the mouse compiled directly into the kernel. Sounds like that may be your problem: . So you could try commenting out the mouse and keyboard references, just to see what happens.. Another solution that you may want to look into as an alternative to using xdm is X11 forwarding via SSH. -Garrett