No GUI after fresh install

Hello,

Pretty new to freeBSD, I downloaded the latest 15 Alpha to give it a try.
No problem during the installation process but no GUI after the reboot. CLI works well.
Running “startx” show me some “Connection refused”.


I reinstalled all again but instead of installing KDE, driver and all required things manually, I did it with desktop-installer.
Everything seems ok, but the result was the same : no GUI and “Connection refused” if I try to run “startx”.
I checked everything and added the user in “video” group.

Do you have any idea ?

Thank you for your help.
 
Pretty new to freeBSD, I downloaded the latest 15 Alpha to give it a try.
I suggest you try the first BETA instead, that is BETA1: FreeBSD 15.0-BETA1 Available. That is already on a release branch (releng/15) where the ALPHA's are on a -STABLE branch, that is a developer branch.

Using BETA1 and subsequent BETAx will lead to the official release version: FreeBSD 15.0-RELEASE. Using BETA1 and its successors will allow for easy binary updates, even when using the traditional freebsd-update(8)

Alternatively you could consider installing 14.3-RELEASE that is the most recent official release version and it is fully supported.
 
I suggest you try the first BETA instead, that is BETA1: FreeBSD 15.0-BETA1 Available. That is already on a release branch (releng/15) where the ALPHA's are on a -STABLE branch, that is a developer branch.

Using BETA1 and subsequent BETAx will lead to the official release version: FreeBSD 15.0-RELEASE. Using BETA1 and its successors will allow for easy binary updates, even when using the traditional freebsd-update(8)

Alternatively you could consider installing 14.3-RELEASE that is the most recent official release version and it is fully supported.

Thank you. I installed the beta I you suggested. But now can't update with "pkg update".

Any idea here ?

1000025037.jpg
 
Thank you. I installed the beta I you suggested. But now can't update with "pkg update".

Any idea here ?
(that looks like output you shouldn't get anymore)

Please post the output of
pkg -vv | sed -nE -e '/OSVERSION|ABI/ p' -e '/^Repositories:/,$ p'

Unless it is not possible, (instead of posting a picture of a screenshot) cut the text from your screen and put it into a code block in your forum message, like:
[code]
... your output ...
[/code]
 
If you are new to FreeBSD, i'll suggest starting with a *-RELEASE version instead.
Exactly!

Go to www.freebsd.org, and right at the top it says:
So if you want your system to work, install version 14.3 or 13.5.

If you are a developer or power user, and want to help debug and improve future FreeBSD versions, then by all means use 15.0. The word "alpha" should have been a clue that this is a testing version.
 
(that looks like output you shouldn't get anymore)

Please post the output of
pkg -vv | sed -nE -e '/OSVERSION|ABI/ p' -e '/^Repositories:/,$ p'

Unless it is not possible, (instead of posting a picture of a screenshot) cut the text from your screen and put it into a code block in your forum message, like:
[code]
... your output ...
[/code]

Thank you.
I managed to install Beta 15, with xorg and xfce. Boot fine.
Here is the outpout :

Code:
root@freebsd:/home/medo # pkg -vv | sed -nE -e '/OSVERSION|ABI/ p' -e '/^Repositories:/,$ p'
IGNORE_OSVERSION = false;
ABI = "FreeBSD:15:amd64";
ALTABI = "freebsd:15:x86:64";
OSVERSION = "1500067";
Repositories:
  FreeBSD-ports: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
  FreeBSD-ports-kmods: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
  FreeBSD-base: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_latest",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
root@freebsd:/home/medo #
 
First, I assumed that you had good reasons to try FreeBSD 15; that was perhaps an assumption on my part taken too quickly, even though I suggested you'd consider installing 14.3-RELEASE. I don't know that for sure. As you've read the other advice 14.3-RELEASE is the official latest release version that will give you less bumps on your FreeBSD journeys. If you decide to keep on using FreeBSD 15 from BETA1 onwards, realise that a number of BETA-s will follow (approximately one each week) and then the release candidates (RC-s) will follow; these are all part of a pre-release cycle. It is likely you will have to invest more time to get things working and may hit bumps along the way; you may have to ask more often too. You'll find more info at FreeBSD 15.0 Release Process.

So, 14.3-RELEASE might very well be the more obvious choice for you, that is for you to decide.

If however, you decide to stay on the "15-path", I can say the following.
For packages derived from the ports tree there are two repositories: FreeBSD-ports and FreeBSD-ports-kmods. By default an installation uses 'quarterly' packages. Unfortunately, for the FreeBSD-ports-kmods there hasn't been a repository set up for quarterly yet; this will happen in the near future I expect. For 'latest' there is a FreeBSD-ports-kmods repository available and packages can be installed from there; below I'll show how to set this up. If you want to use quarterly packages, then you'll have to wait; when this repository is set up, the messages as shown in your screen should disappear; you could als check until you see kmods_quarterly_0/ appear in Index of /FreeBSD:15:amd64/.

For latest the repository settings refer as follows, see Index of /FreeBSD:15:amd64/:
url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
-> latest/

url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR}",
-> kmods_latest_0/

BETA1 comes set up with a pkgbasified base; that means all files belonging to the base system are being delivered and maintained as packages. The repository used for that is FreeBSD-base. I don't know why you got the settings as shown, but as you have installed BETA1, (OSVERSION = "1500067";), the setting for FreeBSD-base should be changed to using base_release_0. Edit: Please note: this is irrespective of using 'latest' or 'quarterly'.

I have the following files and settings:
/usr/local/etc/pkg/repos/FreeBSD.conf:
Rich (BB code):
FreeBSD-ports: {
    url:            "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
    enabled:        yes,
    priority:       0,
    mirror_type:    "SRV",
    signature_type: "FINGERPRINTS",
    fingerprints:   "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
    url:            "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR}",
    enabled:        yes,
    priority:       0,
    mirror_type:    "SRV",
    signature_type: "FINGERPRINTS",
    fingerprints:   "/usr/share/keys/pkg"
}

/usr/local/etc/pkg/repos/FreeBSD-base.conf:
Rich (BB code):
FreeBSD-base: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_0",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

This should result in:
Rich (BB code):
[1-0] # pkg -vv | sed -nE -e '/OSVERSION|ABI/ p' -e '/^Repositories:/,$ p'
IGNORE_OSVERSION = false;
ABI = "FreeBSD:15:amd64";
ALTABI = "freebsd:15:x86:64";
OSVERSION = "1500067";
Repositories:
  FreeBSD-ports: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/latest",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
  FreeBSD-ports-kmods: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_latest_0",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
  FreeBSD-base: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_release_0",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }

If this is set, run pkg upgrade

I haven't tested this extensively with BETA1 but, using 14.3-RELEASE and pkg v 2.3.1 with respect to the packages derived from the ports tree (here packages relating to the FreeBSD-ports and FreeBSD-ports-kmods repositories) hasn't been able to upgrade packages correctly under all circumstances when multiple repositories are enabled. I've recommended to upgrade these separately:
pkg upgrade -r FreeBSD-ports
pkg upgrade -r FreeBSD-ports-kmods

Because FreeBSD base is now also using packages, for that you can use
pkg upgrade -r FreeBSD-base

Edit: if you want to stay on top of the latest regarding the FreeBSD 15 pre-release cycle, you can subscribe to the freebsd-stable Mailing List.
 
Last edited:
And I always keep the -RELEASE line. And the packages from the quarterly repository. I'm demanding when it comes to system performance. For me, the system must run stably, flawlessly, and without surprises, and that's what the release line provides. There are no new features, but there are the ones I mentioned above.
 
Note for users of nvidia GPUs on any of 15.0 (BETA1, stable/15 or outdated ALPHA*):

Currently FreeBSD-ports-kmods repo (I've checked latest only) doesn't have anything for nvidia GPUs except below.
Code:
# pkg search -r FreeBSD-ports-kmods nvidia
nvidia-kmod-580.95.05.1500500  kmod part of NVidia graphics card binary drivers for hardware OpenGL rendering

I believe the repo should have all legacy and devel variants of x11/nvidia-kmod and all variants of graphics/nvidia-drm-*-kmod[-devel] as of commit f4e907a49258 (2025Q4 has it, too, as it happened before 2025Q4 branched), but still not yet built.

I think bapt@ is looking into why and waiting his feedback whether or not I should take some additional actions. Anyway, all are built on non-kmod repo, so there wouldn't be any fatal issues.

And before the commit, nothing related with nvidia GPUs are found on kmod repo, so there is at least one advance currently.
 
As i wrote on the current and stable mailing lists , i have twice with 15-Beta1 experienced that the user HOME directory created with the FBSD Installer is created owned by ROOT, which prevents any application run by the user to setup ./config/xxxx file for the App.
This seems to happend when you select ZFS encrypted home directory .

E.G :

root@server:/home # ls -la
total 10
drwxr-xr-x 3 root wheel 3 Oct 15 14:16 .
drwxr-xr-x 20 root wheel 23 Oct 16 13:34 ..
drwxr-xr-x 2 root wheel 2 Oct 15 14:16 username


And this also prevents Xorg startup.
 
Back
Top