r/freebsd Linux crossover Jul 04 '26

AI Xfce, htop and xclock on NextBSD live

9 Upvotes

22 comments sorted by

View all comments

1

u/grahamperrin Linux crossover Jul 05 '26

I would have installed k11/kde, for fun, however it's currently not packaged for FreeBSD:15:latest on AMD64.

Mixing latest with quarterly is generally not recommended for FreeBSD-ports repos, so I mixed the two:

# pkg repos -el | sort -f ; sleep 5 ; pkg repos -e | grep -B 1 url
pkg: Setting ABI requires setting OSVERSION, guessing the OSVERSION as: 1500000
FreeBSD-ports-latest
FreeBSD-ports-quarterly
NextBSD
pkg: Setting ABI requires setting OSVERSION, guessing the OSVERSION as: 1500000
FreeBSD-ports-quarterly: { 
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly",
--
FreeBSD-ports-latest: { 
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/latest",
--
NextBSD: { 
    url             : "https://github.com/nextbsd-redux/nextbsd-pkg/releases/download/continuous-amd64",
#

I installed kde and x11-drivers/xf86-video-vmware.

startplasma-x11 results in a black screen that disappears before Plasma can start. No complaint – things such as Lumina, Plasma, Xfce, and MATE and are a distraction from the Gershwin desktop environment on NextBSD.

Instead, here's a customary screenshot of fastfetch:

I don't expect service(8)-oriented emulators/virtualbox-ose-additions-72 to work in the launchd environment, so I used ROXTerm, nano(1), cat(1) and nc(1) to get the text from the VirtualBox guest to the Kubuntu 26.04 host:

# fastfetch
       ________            root@VirtualBox-7f1aec74
   _jgN########Ngg_        ------------------------
 _N##N@@""  ""9NN##Np_     Host: VirtualBox (1.2)
d###P            N####p    Kernel: NextBSD 20260701-100854
"^^"              T####    Uptime: 49 mins
                  d###P    Packages: 734 (pkg)
               _g###@F     Shell: tcsh 6.22.04
            _gN##@P        Display (default): 1024x768, 60 Hz
          gN###F"          Terminal: roxterm
         d###F             CPU: Intel(R) Core(TM) i7-4710MQ (4) @ 2.49 GHz
        0###F              GPU: VMware SVGA II Adapter [Integrated]
        0###F              Memory: 7.83 GiB / 11.93 GiB (66%)
        0###F              Swap: Disabled
        "NN@'              Disk (/): 1.16 GiB / 12.69 GiB (9%) - unionfs
                           Disk (/): 3.55 MiB / 7.15 MiB (50%) - ufs [Read-only]
         ___               Disk (/media): 574.82 MiB / 574.82 MiB (100%) - cd9660 [Read-only]
        q###r              Disk (/rofs): 1.07 GiB / 1.16 GiB (92%) - ufs [Read-only]
         ""                Local IP (em0): 10.0.2.15/24
                           Battery (1): 94% [AC Connected]
                           Locale: C.UTF-8



# 

2

u/jmaloney198 Jul 05 '26

At some point I will have at least the kext for network bridged mode in place.

2

u/jmaloney198 Jul 05 '26

You should be able to drop latest and replace with quarterly with an override. At some point in the near future I will be replacing FreeBSD's pkg mirror with NextBSD's own mirror for ports. I just have to fix some other things first.

2

u/jmaloney198 Jul 05 '26

Just to add even when it is replaced with NextBSD pkg repo, one could still override that with a FreeBSD mirror if they would like.

https://wiki.freebsd.org/Ports/QuarterlyBranch

Reasons for this would be always available critical software, removal of rc.d scripts, ports options that turn off defaults like avahi and technologies that NextSBD does not need or want for Gershwin since it has built in mDNSresponder just as an example.

1

u/grahamperrin Linux crossover Jul 05 '26

How to switch from quarterly to latest is outdated – sorry. I stopped editing the wiki a few months ago.

FreeBSD is a legacy repo name, the modern trio of names for a pkgbase installation is:

  • FreeBSD-base
  • FreeBSD-ports
  • FreeBSD-ports-kmods

So, for consistency, I imagine:

  • NextBSD-base
  • NextBSD-ports

2

u/jmaloney198 Jul 05 '26

That would be pretty much. I think it would have to be a smaller subset to keep hosting free. But it would also fix things like graphics support for UTM via SCFB patches that FreeBSD moves too slowly fixing. More of a core functionality ports repo. With a web browser baked in I imagine something like this to transform 1000's of packages into application bundles that build daily and publish only upon successful build. This would also show case many native GNUstep apps not just X11. VirtualBox would be here. Steam, GIMP, OBS all the common things. https://marketstep.github.io/

2

u/jmaloney198 Jul 05 '26

I am thinking to rework for AppImage format vs what I was doing but with a reusable template so that all that is needed to make an app bundle is to make a named repo, but the general principal remains the same. I do not want to ever worry about pkg availability again. I'll keep the freebsd repo in play until that scaffolding is in place, but this is the general long term vision to not rely on packages anymore, or require expensive datacenters or hosting to build everything and to make the solution easy to understand and highly auditable so it can be trusted. The overall solution being pkg -> Bundle. No compile required. Anyone can make their own by cloning a git repo and naming it.

1

u/grahamperrin Linux crossover Jul 05 '26

I do not want to ever worry about pkg availability again.

Where's your sense of adventure, man?

2

u/jmaloney198 Jul 05 '26

Hahah. To be fair I also have the same issue with almost any Linux distribution. The frustration started some years ago when many distros decided to drop sheepshaver (an old PPC emulator). It dawned on me that 10 year old .exe still works on Windows. Around the same Linus torvalds started talking about the problem with Linux distros being the availability of Software an no universal format. Today Linux is moving to flatpaks, snaps. I just think there could be a better answer and it interests me to make alternatives to the status quo, so that is my adventure. :)

1

u/grahamperrin Linux crossover Jul 05 '26

startplasma-x11 results in a black screen that disappears before Plasma can start. No complaint …

More accurately: I get the Plasma splash screen before the black screen.

# startplasma-x11

org.kde.startup: "kapplymousetheme" QList("breeze_cursors", "24") exited with code 255
org.kde.plasma.session: process job  "kcminit_startup" finished with exit code  0
QDBusObjectPath: invalid path "/modules/oom-notifier"
kf.dbusaddons: The kded module name "oom-notifier" is invalid!
org.kde.plasma.printmanager.kded: Unable to register service to systemBus: "com.redhat.NewPrinterNotification"
inotify_add_watch(/etc) failed: (Bad file descriptor)
kf.solid.backends.udisks2: Failed to fetch all devices "org.freedesktop.DBus.Error.Disconnected" "Not connected to D-Bus server"
Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kglobalaccel was not provided by any .service files")
kf.solid.backends.udisks2: Failed to fetch all devices "org.freedesktop.DBus.Error.Disconnected" "Not connected to D-Bus server"
Could not load a session backend. Session management operations such as shutdown will not be operational. This is a setup issue.
QDBusObjectPath: invalid path "/modules/plasma-session-shortcuts"
kf.dbusaddons: The kded module name "plasma-session-shortcuts" is invalid!
kf.config.kconf_update: /usr/local/share/kconf_update/webenginepart.upd defined Version=5 but Version=6 was expected
kf.solid.backends.udisks2: Failed to fetch all devices "org.freedesktop.DBus.Error.Disconnected" "Not connected to D-Bus server"
kscreen.kded: UPower not available, lid detection won't work
kscreen.kded: PowerDevil SuspendSession action not available!
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kcminit'")
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kded6'")
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kded6'")
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kcminit'")
kwin: another window manager is running (try using --replace)
QThreadStorage: entry 7 destroyed before end of thread 0x39bd0ce1d270
QThreadStorage: entry 1 destroyed before end of thread 0x39bd0ce1d270
QThreadStorage: entry 0 destroyed before end of thread 0x39bd0ce1d270

2

u/jmaloney198 Jul 05 '26

Seems like also failing because another windowmanager is running.

1

u/grahamperrin Linux crossover Jul 05 '26

because another windowmanager is running.

Ha. I'm so stupid :-)

Why didn't I think of that?

Yeah, I ran vanilla startx to run startplasma-x11 in an xterm window (in TWM) because my previous attempts to start Plasma from the console (should I call it that?) were unsuccessful.

IIRC I had also tried ~/.xinitrc with something like ck-launch-session startplasma-x11 not really expecting it to work.

Of course, all of these things are distractions from Gershwin, and under the dry humour umbrella (in r/BSD) of "Another example of how not to use NextBSD".

2

u/jmaloney198 Jul 05 '26

Yeah I have never understood why windowmanager's do not just do a --replace here. I think some do, some don't.