From owner-freebsd-questions@FreeBSD.ORG Tue Oct 23 02:23:20 2007 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 21CE916A468; Tue, 23 Oct 2007 02:23:20 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81]) by mx1.freebsd.org (Postfix) with ESMTP id AFCEE13C4B8; Tue, 23 Oct 2007 02:23:19 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from discordia (c-24-60-136-97.hsd1.ma.comcast.net[24.60.136.97]) by comcast.net (sccrmhc11) with ESMTP id <2007102302124101100rrmvfe>; Tue, 23 Oct 2007 02:12:41 +0000 Received: by discordia (Postfix, from userid 103) id 6E2D716B557; Mon, 22 Oct 2007 22:12:41 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.31.1.6] (unknown [172.31.1.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id CC3D516B559; Mon, 22 Oct 2007 22:12:23 -0400 (EDT) Message-ID: <471D5805.8060902@FreeBSD.org> Date: Mon, 22 Oct 2007 22:10:13 -0400 From: Coleman Kane Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.6 (X11/20070813) MIME-Version: 1.0 To: freebsd-x11@freebsd.org References: <471CEA52.4050804@gahr.ch> In-Reply-To: <471CEA52.4050804@gahr.ch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions , Pietro Cerutti Subject: Re: X looks strange after restarting it 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: Tue, 23 Oct 2007 02:23:20 -0000 Pietro Cerutti wrote: > Hi list, > I don't actually know how to explain this problem in an understandable > way... > I have an external 24' Sun monitor running at 1280x800 plugged into my > laptop (1280X800). > I start X without the external monitor, I plug it in, and press the keys > combination to enable it on my laptop. Everything looks fine on it. > Then, I exit X, restart it, and some applications looks differently. > Please look at [1] and [2] for partial screenshots before and after > restarting X, at [3] for my xorg.conf and at [4] for my Xorg.0.log > > Any ideas? > > Thanks very much! > > [1] http://www.gahr.ch/FreeBSD/misc/before.png > [2] http://www.gahr.ch/FreeBSD/misc/after.png > [3] http://www.gahr.ch/FreeBSD/misc/xorg.conf > [4] http://www.gahr.ch/FreeBSD/misc/Xorg.0.log > > P.S. x11@ please CC me > Pietro, I have seen this behavior typically occur when gnome-settings-daemon doesn't shut down properly from my previous session, before I start up GNOME again. In addition, this is how all of my GNOME apps look when I try running them without gnome-settings-daemon. I suspect that when you X server restarted, your apps were not able to contact gnome-settings-daemon over DBUS and defaulted their fonts/rendering. Try this: 1) Start X.org again, after a fresh reboot 2) Exit X.org 3) Use ps auxww to see if there are any gnome related programs still running 4) Kill them all (a good trick I use is to log in as 'root' in another VT, and "killall -9 -u myusername") 5) Log in as your user again and try starting X.org (and the fonts should look like [1]) -- Coleman Kane