From owner-freebsd-questions@FreeBSD.ORG Sat Apr 14 08:53:27 2012 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 466A51065672 for ; Sat, 14 Apr 2012 08:53:27 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id C86E88FC0A for ; Sat, 14 Apr 2012 08:53:26 +0000 (UTC) Received: from [93.104.24.188] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SIyjP-0006GI-Bm; Sat, 14 Apr 2012 10:53:19 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q3E8rI4r002817; Sat, 14 Apr 2012 10:53:18 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q3E8rHar002816; Sat, 14 Apr 2012 10:53:17 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 14 Apr 2012 10:53:16 +0200 From: Matthias Apitz To: Erich Dollansky Message-ID: <20120414085316.GA2791@tinyCurrent> References: <201204131334.54249.erichfreebsdlist@ovitrap.com> <20120413071831.GA1338@tiny> <201204132010.10128.erichfreebsdlist@ovitrap.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201204132010.10128.erichfreebsdlist@ovitrap.com> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.24.188 Cc: freebsd-questions@freebsd.org Subject: Re: Xorg doesn't go back correctly to console when closed on FreeBSD 9.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Apr 2012 08:53:27 -0000 El día Friday, April 13, 2012 a las 08:10:09PM +0700, Erich Dollansky escribió: > I did but it is too short to see the error. After creating this file, I tried to close X and got into the usual problems. It seems that X does not switch properly back to console video mode (whatever name it has). I switched then to twm and ran into the same problem. Of course, this could have been caused by blackbox from the run before. > > I checked the log files but could not see something which could be the reason for the problem. > > If you tell me what I could do, I could try to find the cause of the problem. Show us /var/log/Xorg.0.log with the hanging X (just go to another alpha console or login remotely); check the proc hierarchy in your system, mine is like this: $ ps axl | fgrep 2194 1001 2194 2176 0 47 0 10844 1980 wait I+ v0 0:00,01 xinit /ho 0 2195 2194 0 45 0 322240 312608 select S v0 3:53,80 X -nolist 1001 2198 2194 0 76 0 9896 1740 wait I v0 0:00,05 /bin/sh / $ ps axl | fgrep 2195 0 2195 2194 0 45 0 322240 312608 select S v0 3:54,22 X -nolist $ ps axl | fgrep 2198 1001 2198 2194 0 76 0 9896 1740 wait I v0 0:00,05 /bin/sh / 1001 2257 2198 0 44 0 9752 1260 nanslp S v0 0:00,29 kwrapper $ ps ax | fgrep 2198 2198 v0 I 0:00,05 /bin/sh /usr/local/bin/startkde i.e. xinit (2194) launches X (2195) and a shell (2198) for startkde; which process does not terminate for you; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5