Solved Failed Startx after PKG install xorg

OP
OP
Harmnot

Harmnot

Member

Thanks: 4
Messages: 57

#26
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
 

ldgc

Active Member

Thanks: 45
Messages: 191

#27
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
All the outputs that you sent are from TrueOS?
 

ldgc

Active Member

Thanks: 45
Messages: 191

#32
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:
OP
OP
Harmnot

Harmnot

Member

Thanks: 4
Messages: 57

#33
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
 

ldgc

Active Member

Thanks: 45
Messages: 191

#34
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...
 
OP
OP
Harmnot

Harmnot

Member

Thanks: 4
Messages: 57

#35
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
 
OP
OP
Harmnot

Harmnot

Member

Thanks: 4
Messages: 57

#36
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 ...
 

doughy

Member

Thanks: 1
Messages: 66

#37
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.
 
Top