Solved FreeBSD 13.2 aarch64 UTM_VM Gnome don't run

I installed FreeBSD 13.2 aarch64 in an UTM (QEMU) VM, M1 Mac.
Gnome don't start, I get an error or only a single user prompt without password.

Installed pkg: gnome-desktop gnome-shell gnome-shell-extensions gnome-menus gdm xorg

/etc/rc.conf

Code:
hostname="firebird"
keymap="de.kbd"
ifconfig_em0="DHCP"
ifconfig_em0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
moused_enable="YES"
ntpdate_enable="YES"
ntpd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
#
#
gnome_enable="YES"
dbus_enable="YES"
gdm_enable="YES"

I had installed a similar FreeBSD under VMware Fusion on the same Mac, this works well
I use UTM 4.2.5 (and not the v4.3.3. beta)

What are wrong, what could I do to resolve this?

Here hangs this

Bildschirmfoto 2023-07-30 um 10.21.28.png


Without Gnome configuration:
Bildschirmfoto 2023-07-30 um 10.52.14.png
 
Last edited by a moderator:
Partly solved, that was missing
GNOME requires /proc to be mounted. Add this line to /etc/fstab to mount this file system automatically during system startup:

Code:
# Device                Mountpoint      FStype  Options         Dump    Pass#

proc                    /proc           procfs  rw              0       0
 
I could only append Xorg.0.log as screenshots

Change console
note for mac users - on Mac & UTM change console: [fn] [ctrl] [option] [F1] (or F2, F3...)
 

Attachments

  • 1 xorglog.png
    1 xorglog.png
    42.8 KB · Views: 92
  • 2 xorglog.png
    2 xorglog.png
    44 KB · Views: 92
  • 3 xorglog.png
    3 xorglog.png
    49.4 KB · Views: 80
  • 5 xorglog.png
    5 xorglog.png
    48.9 KB · Views: 77
  • 4 xorglog.png
    4 xorglog.png
    44.8 KB · Views: 84
Next pics
 

Attachments

  • 6 xorglog.png
    6 xorglog.png
    59.7 KB · Views: 73
  • 7 xorglog.png
    7 xorglog.png
    57.8 KB · Views: 77
  • 8 xorglog.png
    8 xorglog.png
    58.4 KB · Views: 79
Code:
moused_port="/dev/psm0"
psm0 doesn't exist, only -->
 

Attachments

  • dev.png
    dev.png
    19.4 KB · Views: 74
Oh my, screenshots of text.

In this case, the only way to get it! I don't know another simple way - it's a virtual machine!

First one clearly says you have syntax error in rc.conf.

In which line? Which syntax are wrong? I am not a FreeBSD “Guru“ :)

Here the /etc/rc.conf from the FreeBSD VM running in VMware Fusion - and that works well -->

Code:
hostname="firebird"
keymap="de.kbd"
ifconfig_em0="DHCP"
ifconfig_em0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
moused_enable="YES"
ntpdate_enable="YES"
ntpd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
#
#
gnome_enable="YES"
dbus_enable="YES"
gdm_enable="YES"
#
#
moused_enable="YES"
moused_type="auto"
moused_port="/dev/psm0"
#
# USB Automount
devfs_system_ruleset="localrules"
autofs_enable="YES"
#
anacron_enable="YES"
#
 
With this rc.conf there ist no Syntax error but mouse don't work.
hostname="voyager" keymap="de.kbd" ifconfig_vtnet0="DHCP" ifconfig_vtnet0_ipv6="inet6 accept_rtadv" sshd_enable="YES" moused_enable="YES" ntpdate_enable="YES" ntpd_enable="YES" powerd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" # # up default conf # gnome_enable="YES" dbus_enable="YES" gdm_enable="YES" # # mouse # moused_enable="YES" moused_type="YES" #

Is the entry moused_port="......" missing? - but what would I have to enter there?
 

Attachments

  • FreeBSD Xorg log.txt
    14.4 KB · Views: 68
Off topic:
Of course I know about ssh, but I rarely use it, so I didn't immediately think of it.
Past last time ago the GUI crashed on the MacBook and I shut down the notebook via SSH.
Fortunately, I created a "normal user" with SUDO rights in the FreeBSD VM, because root cannot log in via SSH by default.

What is still strange, I have installed VMware Fusion as well as UTM (QEMU) on the M1 MacMini (also the current beta v4.3.3 of UTM)
Both VM lines also have Fedora Linux aarch64 and Debian Linux aarch64 installed. Where no problems with keyboard and mouse.
Also FreeBSD (with Gnome) aarch64 runs fine on VMware Fusion. I wanted to convert the FreeBSD image from VMware Fusion to UTM (I installed QEMU on the Mac via Homebrew because of Toosl) but this converted image couldn't boot, so I decided to install FreeBSD on UTM right away.
 
This is for VMware, but I test this too, but don't work
FreeBSD 13.1 and mouse support
https://communities.vmware.com/t5/F...w/FreeBSD-13-1-and-mouse-support/td-p/2914699

You can try to load the USB mouse driver in "/boot/loader.conf":
ums_load="YES"
 
Back
Top