Solved startx failed.

What I did:

pkg install xorg
pkg install kde5
pkg install sddm
pkg install firefox
sysrc hald_enable=yes
sysrc dbus_enable=yes
sysrc sddm_enable=yes
reboot

It just led me to:
Login:

then I tyeped in:
startx

result showed in picture.

Please help.
Thanks!
 

Attachments

  • IMG_338.jpg
    IMG_338.jpg
    264.3 KB · Views: 395
Could you please provide and the Xorg.0.log in addition? You could checked it with cat /var/log/Xorg.0.log
 
Besides the log file, what hardware does the machine have? Specifically what graphics card?
 
I had a similar problem until I installed graphics/drm-kmod.

It should be noted that you had to try to startx, after enabling sddm. sddm should have kicked on for you, but it seems your xorg-server cannot start in framebuffer mode.
 
One thing you need to realize on FreeBSD, you have to configure everything. Disable sddm for now. Configure Xorg first, test with startx. Once Xorg is configured you can enable sddm.
 
In addition to what SirDice said (to minimize variables) , OP: you are running as root. Best practice is to create a normal user and run X with that user. That has nothing to do with your issue, just not a safe practice running as root.
 
Hey, guys, thanks for your help.
This is a computer with H310 chipset plus 8100 CPU.
I checked the log file, yes, the graphics module was no exist.
So I installed drm-kmod.
It can lead me to me KDE now.

Still have some other problems.
Now I'm trying to figure out why there's no sound...
 
Back
Top