nighltynight
You're close to getting GhostBSD working, but Xorg is failing with error 6. This usually means it’s exiting due to a driver issue. Since you've already forced the scfb
driver and your mouse is being detected, the problem is likely with missing driver support during Live USB boot.
Start by booting into the Live Shell instead of the full desktop. You can do this from the boot menu by selecting the option to enter a shell or by dropping into a terminal after X fails.
Once at a terminal, create a directory for custom Xorg configuration if it doesn’t already exist with:
sudo mkdir -p /etc/X11/xorg.conf.d
Next, create a minimal video driver configuration to force the use of scfb
. Use the ee
editor or your preferred one:
sudo ee /etc/X11/xorg.conf.d/driver-scfb.conf
In the file, add the following:
Section "Device"
Identifier "Card0"
Driver "scfb"
EndSection
Save and exit the editor. If you also encountered warnings about mouse or keyboard support, create an additional file for input devices:
sudo ee /etc/X11/xorg.conf.d/input.conf
Add the following content:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
EndSection
Save and exit. Then try launching the graphical interface with:
startx
If successful, it should bring you to the MATE desktop environment. If not, examine the log at /var/log/Xorg.0.log
for errors, especially lines starting with (EE)
which indicate problems with drivers or configuration.
If the desktop loads, you should see the GhostBSD installer icon. If it's not visible, open a terminal in MATE and run:
sudo gbi
This will launch the installer manually.
After installing GhostBSD, ensure the /etc/X11/xorg.conf.d
directory and files you created are also present in the new system, so it continues using the scfb
driver on first boot. You can either copy them manually by mounting the target partition or recreate them after the first reboot.
If X still fails to start, you may try running:
xinit /usr/local/bin/mate-session
as a fallback.
Let me know your exact video card model if you'd like help finding a more appropriate driver after installation. For now, scfb
should be sufficient to complete installation and access the desktop.