From owner-freebsd-questions@FreeBSD.ORG Thu Nov 10 01:02:36 2011 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 37F8E1065670 for ; Thu, 10 Nov 2011 01:02:36 +0000 (UTC) (envelope-from samuel.magnusson5@bredband.net) Received: from smtprelay-h22.telenor.se (smtprelay-h22.telenor.se [195.54.99.197]) by mx1.freebsd.org (Postfix) with ESMTP id B735E8FC19 for ; Thu, 10 Nov 2011 01:02:35 +0000 (UTC) Received: from iph5.telenor.se (iph5.telenor.se [195.54.127.136]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 7488AD3A2 for ; Thu, 10 Nov 2011 02:02:34 +0100 (CET) X-SMTPAUTH-B2: [samuel.magnusson5@bredband.net] X-SENDER-IP: [85.230.94.246] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkIvADwiu05V5l72PGdsb2JhbAAMOIlEkSeNIIIxAQEBATeCJAEBAQECAThAEQsYCQ0BBgIPCQMCAQIBGxYUEwgBAYd+t3yDUYMYAYMVBKYY X-IronPort-AV: E=Sophos;i="4.69,486,1315173600"; d="scan'208";a="69136516" Received: from c-f65ee655.021-6-6d6c6d11.cust.bredbandsbolaget.se (HELO [192.168.0.102]) ([85.230.94.246]) by iph5.telenor.se with ESMTP; 10 Nov 2011 02:02:34 +0100 Message-ID: <4EBB22BD.8090001@bredband.net> Date: Thu, 10 Nov 2011 02:02:53 +0100 From: Samuel Magnusson User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EB88225.9020702@bredband.net> <20111108205600.7a8e0205.freebsd@edvax.de> <20111108215114.24d336e6.freebsd@edvax.de> <4EBA5EBD.7020501@bredband.net> <4EBA6FE0.5040308@bredband.net> <20111109191958.84ebbdc7.freebsd@edvax.de> In-Reply-To: <20111109191958.84ebbdc7.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: X server and xinit works excellent....almost. 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: Thu, 10 Nov 2011 01:02:36 -0000 Polytropon wrote 2011-11-09 19:19: > On Wed, 09 Nov 2011 13:19:44 +0100, Samuel Magnusson wrote: >> This works for me: >> X :0 -terminate >> Ctrl-Alt-F1 >> xterm -display :0 >> Ctrl-Alt-F9 >> exit xterm.. which brings me back to the first console. >> >> But this doesn't work: >> X :0 -terminate vt4 >> Ctrl-Alt-F1 (doesn't respond) >> Ctrl-Alt-Backspace (doesn't respond) > Do you have ``Option "DontVTSwitch" "false"'' in xorg.conf? > No I haven't, so I tried it now for completeness sake. But there was no difference. It shouldn't be needed, and VTSwitching works just fine as long as I don't try to choose a virtual terminal to start it in. I tried putting the option there and it is no difference, the computer hangs on the display, and when viewing sockstat -4 from the remote login I could see an awful lot of dbus and hal activity. Since those 'fellas' were the cause of so many of my woes I disenabled them :) , rebooted and tried again. At first no difference except that when I killed the server I was no longer stuck with the black screen and visually returned to tty0. I was not given back the console though and the login was still hanged. >> Any clue why? Is my command "X :0 vt4" wrong or not supposed to work? > What is the correct notation for the terminal device to start > it on? Maybe ttyv4 (as in /etc/ttys)? > Nope. Even if I no longer trust the Xorg man page to 100%, it clearly states vtXX as the notation to use for the option. And when viewing the log it clearly says that it start up the server in vt4 and it doesn't protest but goes on a good while before it stops. Interesting is that it stops without any error message. It is right after reading the keyboardsettings from xorg.conf, the first informational line after that: (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) Then the file ends.