X and console
Polytropon
freebsd at edvax.de
Sat Nov 28 21:47:13 UTC 2020
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, ...
More information about the freebsd-questions
mailing list