Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2012 10:53:16 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Erich Dollansky <erichfreebsdlist@ovitrap.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Xorg doesn't go back correctly to console when closed on FreeBSD 9.0
Message-ID:  <20120414085316.GA2791@tinyCurrent>
In-Reply-To: <201204132010.10128.erichfreebsdlist@ovitrap.com>
References:  <CALPonDfXgBG3_EnBqvqa=3HCZ1B6uORj%2BHvNG3ffOVfwjKRQUA@mail.gmail.com> <201204131334.54249.erichfreebsdlist@ovitrap.com> <20120413071831.GA1338@tiny> <201204132010.10128.erichfreebsdlist@ovitrap.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <guru@unixarea.de> - 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120414085316.GA2791>