Solved Failed Startx after PKG install xorg

The general recommendation to a beginner in FreeBSD is to manage third party software with pkg(8), so use pkg install nvidia-driver.

I tried run TrueOS on my laptop, and when i run startx, same like that but i was tried to X -configure and then kove jt to current directory, it worked
You can see the pics and outputs Here
 
I
Can you please tell me the steps that you did after installing x11/nvidia-driver?


I deted confirguration what i wrote on ~/xorg.conf.d/
Like driver-vesa.conf , intel-driver , and scfb , becaused i was tried them ,
Then i tried install nvidia-driver
And then startx
And that’s the output i shared to you after startx x
 
Please execute the following commands as root:
# kldload linux
# pkg install -f nvidia-driver
# echo 'kld_list="nvidia-modeset"' >> /etc/rc.conf
# cd /usr/local/etc/X11/xorg.conf.d/
# rm -f *
# X -configure
# startx
 
Last edited:
Please execute the following commands as root:
# kldload linux
# pkg install -f nvidia-driver
# echo kld_list="nvidia-modeset" >> /etc/rc.conf
# cd /usr/local/etc/X11/xorg.conf.d/
# rm -f *
# X -configure
# startx
It doesnt work buddy , same like before , erorr
 
It doesnt work buddy , same like before , erorr
I am not by all means a technology expert or a computer science expert, so I don't have the knowledge to help you more :(
My last suggestion is to reboot the machine and then execute startx to see if it works...
 
I am not by all means a technology expert or a computer science expert, so I don't have the knowledge to help you more :(
My last suggestion is to reboot the machine and then startx to see if it works...
Hey it is fine , i appreciated your help to me , i will figure out it more
 
Br
I am not by all means a technology expert or a computer science expert, so I don't have the knowledge to help you more :(
My last suggestion is to reboot the machine and then execute startx to see if it works...

It worked now
Look at the output
https://pastebin.com/S7sMYG7h

I tried add
dbus_enable=“Yes” on *rc.conf*
And erase xorg.conf
And add something on boot/loader.conf
As handbook freebsd said
And then

Followed your method to add intel-driver.conf
I think previously i put wrong BusID
It worked well now
Thanks ...
 
I'm having the same problem. I can't get pkg install nvidia-driver to install, saying:
Code:
kernel missing Linux support

Could this be a module or do I need to compile a new kernel? I'm using 12.2 FreeBSD.
 
Back
Top