X does not work as regular user, but it does at root

Bruce Ferrell bferrell at baywinds.org
Sat Apr 17 20:16:37 UTC 2021

On 4/16/21 6:28 AM, Antonio Olivares wrote:
> Dear kind FreeBSD users,
> I have succeeded in installing FreeBSD 13 on an old eight core
> machine.  I created a regular user, but cannot login to X.  I am
> sending this from root account.
> Xorg.conf
> I am attaching tmp.txt from working root.  I have captured the output
> from /var/log/Xorg.log.* from when I try to run startx as regular
> user.
> Thank you in advance.
> Best Regards,
> Antonio
> root at coolermaster:~ # uname -a
> FreeBSD coolermaster 13.0-RELEASE FreeBSD 13.0-RELEASE #0
> releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021
> root at releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
> amd64
> root at coolermaster:~ #
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

I fed this error message from your log into google:

Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config

And found this solution:


Sorry for posting so many responses to my own thread. I apologize. I have fixed the problem, I reinstall xkbcomp and I also just deleted server-0.xkm. After reinstalling xkbcomp, I 
sudo cd /tmp/server-0.xkm and I found 3 directory's from my original usr/home/mrfree directory. After deleting them all I then deleted server-0.xkm and now everything is back in 
working order. Terribly sorry for the thread guys, hopefully it will help someone out one day

More information about the freebsd-questions mailing list