Hello Fred,
you wrote on Sat, 10 Jun 2023 17:37:44 +0000:
> Note that with NetBSD using the "su" command in a Xorg terminal will
> destroy the pam config (for login+password). And you will not be able to
> login anymore (and must reinstall all the system).
Ihat's a really _very_ bad thing...
> So for all the things you need a root access, terminate the Xorg session
> to come back to terminal-no-gui, login as normal user, then use the "su"
> command to do the things that need root access.
Does NetBSD's Xorg NOT have the LeftAlt-Ctrl-F<n> hot key function to
switch to a text mode console? Or is that just disabled by default, as
many Linux Xorg/Gooey^WGUI installations do it by now, somewhere setting
a "ServerFlags" section 'Option "DontVTSwitch" "true"'?
(There's a program, "chvt", that can do the switch too, but that requires
root rights to be used, so it's useless here.)
Creating a "/etc/X11/xorg.conf" file with just the contents
"Section "ServerFlags"
Option "DontVTSwitch" "true"
EndSection"
_might_ suffice, but it may neccessary to also include a line like
' Option "ServerLayout" "X.org Configured"'
for Xorg to accept it.
Be sure to scan Xorg's log file (Xorg.0.log) whether it had the intended
effect or just rose a warning or an error. Read the Xorg man page!
> Or do this after boot, before to run "startx" command.
You do not want to (re)boot a Unix for maintenance purposes only! Do you?
(Ooops, THAT was looong-winded thread!)
--
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk