DBUS + kvm breaks X server (was: X server and xinit works excellent....almost.)

Warren Block wblock at wonkity.com
Wed Nov 9 19:56:56 UTC 2011

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.

More information about the freebsd-questions mailing list