Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2020 22:46:57 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Jan Stary <hans@stare.cz>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: X and console
Message-ID:  <20201128224657.c74a7553.freebsd@edvax.de>
In-Reply-To: <X8KRRo/f/sVUzBpQ@www.stare.cz>
References:  <X8KRRo/f/sVUzBpQ@www.stare.cz>

next in thread | previous in thread | raw e-mail | index | archive | help

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, ...



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