From owner-freebsd-questions@FreeBSD.ORG Sat Jan 19 03:51:44 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 8F6C216A417 for ; Sat, 19 Jan 2008 03:51:44 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 53DCD13C442 for ; Sat, 19 Jan 2008 03:51:44 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2131752waf.3 for ; Fri, 18 Jan 2008 19:51:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=0IY6rH/Q3/FFF1yrQDBFJbtWsT4P0LSSjrKDdcToRQ4=; b=U6CwSDkBeuDViOAi+WdT1498HQ6br4GnObdX89bLWJZljRq5jTDJ7tuMplFIv9rI305+F4ER7J2URYZa2Lay117bESswejOR/C6VGxylzITLhZnTBziWufCecMES6U2qG2GtN1eRGP//Zcyjy/anTOiPvjcWlIIuJ0+kGL10Wpo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=ZNbvHtge6cOiuuU0dtzMy3fQ20RxiP+BZyaHWcw9aNMkggHoLsZpj/NEWf4vzFSoXQwvXKRCfDFwvQuJQ4NhNRImAzOjh+QpmeCw03WZCJAY4NJxneXek4Srijfi7ATCtYQV2U6jQWHk+GG97y3lV5vozCXpugEI1ilfy6eFR9k= Received: by 10.114.176.1 with SMTP id y1mr1277714wae.86.1200714703502; Fri, 18 Jan 2008 19:51:43 -0800 (PST) Received: from sniper ( [71.221.189.14]) by mx.google.com with ESMTPS id j28sm6609663waf.36.2008.01.18.19.51.42 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Jan 2008 19:51:42 -0800 (PST) From: Andrew Falanga To: FreeBSD Questions Date: Fri, 18 Jan 2008 20:51:28 -0700 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801182051.28869.af300wsm@gmail.com> Subject: KDE won't allow me to logout and restart kdm after upgrade to xorg 7.3 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, 19 Jan 2008 03:51:44 -0000 Hi, About two months ago (yes, I'm only now getting around to fixing this), I decided it was time to upgrade my Xorg install from 6.9 to the current. I followed the instructions in /usr/ports/UPDATING from 20070519. After the upgrade, everything was going ok, until I logged out of KDE. I ended the session and was redirected to ttyv0. The following was on the system console: Jan 18 20:22:36 sniper kdm-bin[788]: X server for display :0 terminated unexpectedly Jan 18 20:22:36 sniper kdm-bin: :0[948]: IO Error in XOpenDisplay Jan 18 20:22:36 sniper kdm-bin[788]: Display :0 cannot be opened Jan 18 20:22:36 sniper kdm-bin[788]: Unable to fire up local display :0; disabling. I then went to another console and, as root, did: sniper# sockstat | grep x root kdm-bin 788 9 stream /var/run/xdmctl/dmctl/socket Which cleared out whatever was wrong and restarted kdm-bin and allowed me to start another session. What exactly is going on here? The reason it isn't too big a deal, and took me until now to mention it is because I'm about the only person who uses FreeBSD here at home and so when I logout, it's usually to shut off the computer. Any thoughts on how to fix this? Andy