From owner-freebsd-questions@FreeBSD.ORG Wed Nov 9 19:56:56 2011 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 2C14D106566C for ; Wed, 9 Nov 2011 19:56:56 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id DBA588FC0A for ; Wed, 9 Nov 2011 19:56:55 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pA9Jusa3081159; Wed, 9 Nov 2011 12:56:54 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pA9JusPp081156; Wed, 9 Nov 2011 12:56:54 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 9 Nov 2011 12:56:54 -0700 (MST) From: Warren Block To: Robert Huff In-Reply-To: <20154.52783.72357.863854@jerusalem.litteratus.org> Message-ID: References: <4EB88225.9020702@bredband.net> <20111108205600.7a8e0205.freebsd@edvax.de> <20111108215114.24d336e6.freebsd@edvax.de> <4EBA5EBD.7020501@bredband.net> <20111109191557.f5ce0bfd.freebsd@edvax.de> <20154.52783.72357.863854@jerusalem.litteratus.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Wed, 09 Nov 2011 12:56:54 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: DBUS + kvm breaks X server (was: X server and xinit works excellent....almost.) 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, 09 Nov 2011 19:56:56 -0000 On Wed, 9 Nov 2011, Robert Huff wrote: > I have two systems - one Windows, one FreeBSD - that share > monitor, keyboard, and mouse via a kvm. FreeBSD had both HAL and > DBUS installed and activated in rc.conf. > Scenario: I'm working on the FreeBSD system, and switch to the > WIndows system (push the button on the kvm) everything's fine. > But when I switch back, I an now sitting at the Xdm prompt; I'm > guessing this means X has crashed. > I experimented a little and discovered if I disable DBUS after > initial boot, this no longer happens. (It makes some other things > unhappy, but I can live with that.) > Anyone have anyideas what might be happening and how to unbreak > this? Are the keyboard and mouse USB devices? A KVM should not disconnect them on switching, but maybe it does. Try it without HAL by adding Option "AutoAddDevices" "Off" to ServerLayout in xorg.conf.