Xfce Install fails after following both forms of Documentation.

Hi, did you try these steps first: https://docs.freebsd.org/en/books/handbook/x11/ ?

For future posts, it will help if you give a description of what you tried and what failed, and how. Specific commands you tried and any error messages in response would be the ideal format.

First there is the "nucleus," the FreeBSD shell. Then you install X11, which is the graphical layer. On top of X11, you will install an interface to the graphical layer, which can be a desktop enviornment or a window manager, the first being basically the second on steroids.

My suspicion is that you do not have xorg installed. Xorg is the "server" or local instance which "serves" or launches X11. Just to start with a clean slate, I would reinstall the OS, and then take it step by step.

In general terms, it's best to go through the handbook chapter by chapter, skipping one only after you can clearly ascertain you don't need it. That will give you a very clean and very hardy install. It will also make any errors or mistakes extremely easy to pinpoint and troubleshoot.
 
Yes I followed Chapter 5, the only thing I can think of is FreeBSD is running in a Virtual Machine (KVM/QEMU) ans I got the drivers wrong for X11.
The VM Host is an Intel CPU & bridged Nvidia GTX 1080 GPUs, I followed the instructions for Nvidia drivers in 5.2 Graphics & 5.2.3 Nvidia Graphics.
FWIW, I started with Chapter 3, it seemed like a waste of time to read on how to install the system, I'd already installed the system at that point.
 
Post your /var/log/Xorg.0.log, so we can see what gets loaded, detected and whatnot. We can't see what you did, or what errors you're getting.
 
Post your /var/log/Xorg.0.log, so we can see what gets loaded, detected and whatnot.
Just explain how I'm supposed to get them off a VM and attached to here.
I did reinstall FreeBSD and followed chapter 5; except the part that involves Video drivers, I don't know what to use for a VM. Xorg installed successfully, so I went to the part about XFCE in chapter 8.
XFCE now launches but the mouse doesn't move?
If it's because I don't have the right video drivers which one do I use for a VM?
The choices are:
1.graphics/drm-kmod (the CPU on the host is Intel)
2.graphics/nvidia-drm-kmod or x11/nvidia-driver (Video cards are Nvidia GTX 1080)
3.virtualbox-ose-additions
4.xf86-video-vmware
5. scfb
6.vesa
 
Yes I followed Chapter 5, the only thing I can think of is FreeBSD is running in a Virtual Machine (KVM/QEMU) ans I got the drivers wrong for X11.
The VM Host is an Intel CPU & bridged Nvidia GTX 1080 GPUs, I followed the instructions for Nvidia drivers in 5.2 Graphics & 5.2.3 Nvidia Graphics.
FWIW, I started with Chapter 3, it seemed like a waste of time to read on how to install the system, I'd already installed the system at that point.
The Nvidia drivers won't work in a VB. I think you will have to use VESA
 
Just explain how I'm supposed to get them off a VM and attached to here.
Besides sending the files content to https://termbin.com, you can scp(1) the file to the host system, I do it all the time from VMs, in both directions.

When you say
3.virtualbox-ose-additions
does that mean the VM is running in VirtualBox? If that's the case, make sure the "Display - Graphics Controller" is set to "VBoxSVGA", after the system is in multi-user mode, assuming emulators/virtualbox-ose-additions (or -70|71|72, depending which version of Vbox the host sytem is running) is installed in the guest VM, run
Rich (BB code):
# service vboxguest enable
# service vboxguest start

# service vboxservice enable
# service vboxservice start

Make sure the user is in the wheel group (check calling id, if the user is not in the "wheel" group: pw groupmod wheel -m <user>.

Create a user ~/.xinitrc file:
Rich (BB code):
# this allows the xorg session adapting to a  resized VM window, running "seemless" mode, etc.
VBoxClient-all &

exec xfce4-session
run startx.
 
I was asking which one I should install and was showing the choices.
I did the Vesa one and the desktop is still stuck, no miuse movement or anything working with "TAB" key or up & down arrows.
 
Don't know if a bridged card would work though. Did you actually install x11/nvidia-driver and loaded the nvidia-modeset module? Then you also need to tell X to use the NVidia driver, it won't detect it automagically. I also don't know if the NVidia DRM driver (graphics/nvidia-drm-kmod) will pick up a bridged card.
 
So the only way to use EFI in my VM is to create a new one and it wouldn't boot FreeBSD had me try to point it to where the EFI partition was. So I'm wondering if Virt-Manager with the KVM/QEMU doesn't work with a GUI on FreeBSD. Time to go to git hub for that project.
Thanks for trying to help though.
 
Back
Top