From owner-freebsd-questions@freebsd.org Sat Nov 28 21:47:12 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDA5B46BE1E for ; Sat, 28 Nov 2020 21:47:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ck4pR4gBgz4nSF for ; Sat, 28 Nov 2020 21:47:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.26.123]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPA (Nemesis) id 1MDykM-1kt3gs01LA-009xl9; Sat, 28 Nov 2020 22:46:58 +0100 Date: Sat, 28 Nov 2020 22:46:57 +0100 From: Polytropon To: Jan Stary Cc: FreeBSD Questions Subject: Re: X and console Message-Id: <20201128224657.c74a7553.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:lrW9swG75Hnm42YU5rjRbMlljkmPWeOzScrgp2J8EKz/wkbppHj 2A3G2KFvCtawhMPJEPa+u+2BX7zAJyTjIksErSumwnwyRJyYQKsNpabaTRzsivlrDqruqR9 xZJbMX7DunMn/tsqKQu0mWc3aoJB7WwVG0lX6K/KFPgAb7zqtV3fzSgbceye3UI7CQfm1qL tDs92flji6g2RoV8C+TdQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qMzy+FaIbrI=:hj/B6TuJ0raa7wxCez5Zo0 UVcjXzhpR+PLUAekhIKXtsm6UWlFC41CaQBO4iASeJBW61OSGl5cpsf7oWcVm/Do7yGhNbGaO eF3m4p3Y//0666m/l/dTstKq6SP5+rr0gdn8yHX4Gd4ggymxrUbY8pibT3SNZdwhI/dPnT0ns 2l3MQ/iGH6bBogOaP/R3zKDViNLMac1jxCJjm8vYCh0u3begVZN1/L7kvQeGUm2A8gfusb13o A7UC8YbA1Z6ghj2HviAXqfFYpk+4v0YmCzK9Em4y0lr6EYvDdBIt5NK8LN0yaeGfhbe4cXFqe SF0WcRam4fD8ZMTLw++siP4JkaA4/i2qS8UPXjvdDDu0eVT3pbiYkGHpvSxktj+hT7DEEeG9j IhZtprDyKKaHUZGR3Rrf0Z5fKvSfU2VjHa2diqqWmjLD9MCH7lQd3LJhJOi0d X-Rspamd-Queue-Id: 4Ck4pR4gBgz4nSF X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.24) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [0.33 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.07)[-0.070]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.26.123:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.17.24:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[212.227.17.24:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.17.24:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.24:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2020 21:47:13 -0000 On Sat, 28 Nov 2020 19:04:54 +0100, Jan Stary wrote: > This is 12.2 RELEASE (amd64) on a Dell Studio 1535 (dmesg below). > It basicaly works, but I cannot swith between X and the console > and don't get a console back once X has axited. > > While my window manager (cwm, but it's the same with any other) > is runnig, ctrl-alt-fN does not take me to a console. Once the > window manager exits (in whatever way: "exit" in fvwm, killing cwm, ...) > the screen goes blank, with backlight on, but nothing else will happen. > In particular, it does not switch back to the console where I launched > startx and ctrl-alt-f1 ext will not take me to a console either. That is "normal", given how "great" vt is nowadays... ;-) In fact, it should be such a case that the consoles are there and they also work, it's just that you can't _see_ anything. > Mu user is in the wehhel group, if it makes a difference. It should also be a member of "video". > Full Xorg.log below; [...] Looks like you're using the VESA driver. Try to use the driver corresponding to your exact graphics hardware. Have both the KMS driver loaded as well as the X driver installed (X will load it automatically). Maybe the following resources will be helpful in combining all the relevant parts, It seems that you are missing some. ;-) https://wiki.freebsd.org/Newcons https://wiki.freebsd.org/Graphics https://www.freebsd.org/doc/handbook/x-config.html Use X without any configuration file (xorg.conf or partial files) for testing. Everything should be detected and configured automatically. My absolutely unbiased and unpolluted opinion: Say goodbye to text mode. Use X and its terminal emulators instead. It just works and doesn't stab you from behind. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...