xorg/xfce4 setup help needed

I have freeBSD 15.0-CURRENT fresh installed. I have tried several tutorials and I am always getting the errors:

Code:
xauth: file /home/kagi/.serverauth. 1679 does not exist
xauth: file /home/roman/.Xauthority does not exist

...

(EE) Cannot run in framebuffer mode.  Please specify busIDs for all framebuffer devices.

when I try to launch an xfce4 session.

I have an older GTX 1050Ti and I tried installing the drivers first (from pkg), I don't have onboard GPU, I have added my user to wheel and video, but I am still getting this error. Now I have reinstalled freeBSD and only thing I did was adding my user to wheel. Could you give me a tutorial or a step by step instruction how to set up xorg/xfce4 please.

Thank you
 
Then...
 
Then...
Thanks, I switched to 13.2-RELEASE-p3. Do I install the driver first or do I need the xorg?

I think I know the cause of the problem: I have a cable from HDMI to VGA in my monitor. It seems not to work properly. Tried it with another operation system and I don't get a picture.
 
I also have an old GPU (GeForce GTX 750 Ti). This is what I do:

1. Install nvidia-driver
pkg install nvidia-driver-470

2. Add in /etc/rc.conf
kld_list="nvidia-modeset"

3. Install x11/xorg
pkg install xorg

4. Add the user to video group
pw groupmod video -m username

5. Identify BusID
pciconf -lv

You will get a list pci-s. Identify the one that has "class = display". I get the following. Yours may look a bit different:
Code:
vgapci0@pci0:1:0:0:        class=0x030000 rev=0xa2 hdr=0x00 vendor=0x10de device=0x1380 subvendor=0x3842 subdevice=0x3751
    vendor     = 'NVIDIA Corporation'
    device     = 'GM107 [GeForce GTX 750 Ti]'
    class      = display
    subclass   = VGA

6. Create a new file /usr/local/etc/X11/xorg.conf.d/10-nvidia.conf and add the appropriate BusID as shown in step 4. Mine looks like this:
Code:
Section "Device"
       Identifier       "card0"
        Driver          "nvidia"
        VendorName      "NVIDIA Corporation"
        BoardName       "GM107 [GeForce GTX 750 Ti]"
        BusID           "PCI:1:0:0"
EndSection

You may be missing steps 5-6.

Then follow the instructions from the Handbook
https://docs.freebsd.org/en/books/handbook/desktop/#xfce-environment
 
Back
Top