Gnome and Virtual box fails to get to desktop after install and update

Hello,

I have a 24.12 live iso and a virtual box vm with a 40GB hard drive, 8GB memory, 256MB video memory, 3D acceleration enabled. I am running on a windows 11 host with an intel i7-9700k, 32 GB of memory and a NVidia 4060Ti. The VM vdi is stored on spinning rust.

My steps:

  1. Install from Gnome x86_64 iso, fully erasing the destination disk.
  2. Use a swap file. All other options are defaults.
    1. Reboot.
      At this time, the installation appears to be functioning normally.
  3. Install all available updates.
  4. Reboot.
    At this time, the installation is no longer able to reach the desktop.

This is the output of inxi -F:

System:
  Host: thomas Kernel: 6.12.9-desktop-1omv2490 arch: x86_64 bits: 64
  Console: tty 2 Distro: OpenMandriva Lx 25.01 ROME
Machine:
  Type: Virtualbox System: innotek GmbH product: VirtualBox v: 1.2 serial: N/A
  Mobo: Oracle model: VirtualBox v: 1.2 serial: N/A BIOS: innotek GmbH v: VirtualBox
    date: 12/01/2006
CPU:
  Info: dual core model: Intel Core i7-9700K bits: 64 type: MCP cache: L2: 512 KiB
  Speed (MHz): avg: 3600 min/max: N/A cores: 1: 3600 2: 3600
Graphics:
  Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.20.0.0
  Display: unspecified server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4 driver: gpu: vmwgfx
    tty: 160x50
  API: EGL v: 1.5 drivers: swrast,vmwgfx platforms: gbm,surfaceless,device
  API: OpenGL v: 4.5 compat-v: 4.1 vendor: mesa v: 24.3.3 note: console (EGL sourced)
    renderer: SVGA3D; build: RELEASE; LLVM;, llvmpipe (LLVM 19.1.6 128 bits)
  API: Vulkan v: 1.4.303 drivers: N/A surfaces: N/A
Audio:
  Device-1: Intel 82801AA AC97 Audio driver: snd_intel8x0
  API: ALSA v: k6.12.9-desktop-1omv2490 status: kernel-api
  Server-1: PipeWire v: 1.2.7 status: active (process)
Network:
  Device-1: Intel 82540EM Gigabit Ethernet driver: e1000
  IF: enp0s3 state: up speed: 1000 Mbps duplex: full mac: 08:00:27:23:3e:3a
  Device-2: Intel 82371AB/EB/MB PIIX4 ACPI type: network bridge driver: piix4_smbus
Drives:
  Local Storage: total: 40 GiB used: 7.45 GiB (18.6%)
  ID-1: /dev/sda vendor: VirtualBox model: VBOX HARDDISK size: 40 GiB
Partition:
  ID-1: / size: 39.07 GiB used: 7.45 GiB (19.1%) fs: ext4 dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) file: /swapfile
  ID-2: swap-2 type: zram size: 3.88 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  Src: lm-sensors+/sys Message: No sensor data found using /sys/class/hwmon or lm-sensors.
Info:
  Memory: total: 8 GiB available: 7.77 GiB used: 775.6 MiB (9.7%)
  Processes: 176 Uptime: 26m Init: systemd target: graphical (5) Shell: Bash inxi: 3.3.36

Here is a file of the last hundred or so lines from journalctl:
text.txt (11.2 KB)

Please advise. TIA.

Are you trying to login into GNOME X.org or wayland session? Does the login screen show up at all?

If I recall correctly the virtualized graphics adapter in Virtualbox (VMSVGA) is agnostic to host GPU vendor, NVIDIA def shouldn’t be a problem

As I remember wayland in gnome iso should not be such of an issue.
I’d rather try selecting VMSVGA as suggested above
OpenMandriva ROME Errata | OpenMandriva wiki

@thomasmarschall
welcome1

Postedit:
3D acceleration enabled may matter as well; not sure.

I removed my reply.

The ISO I am using installs X_org. I have configured the OS to login immediately at install time. I get to the boot splash screen, then nothing.

I’m confused… I am using the VMSVGA controller.

I have tried to embed a screenshot, but I am unable to embed media items for some reason.

Try now.

My VirtualBox display configuration screen:
image

@ruygyada: Thanks.

Oh and BTW, my virtual box installation is up-to-date.

I know nothing about any windows.

For me 3D Acceleration won’t work for OMLx VBox VM’s running on OMLx host machine.

Couple of things to try

  1. When you boot go to Advanced Options>Select Console Mode at the prompt login and type startx or whatever the executable is for the Gnome desktop. That command should start the desktop or produce some error that will help find a cause for this problem.

  2. Also booted in to Console Mode user can dnf in icewm. When that installs the IceWM desktop. Then type starticewm and see if that boots you in to the IceWM desktop which is a very simple but graphical desktop where it may be easier to problem solve what is causing the problem.

  3. Another thing one could do in Console Mode if we know the exact name of the window manager you could use sudo systemctl restart gdm or sudo systemctl stop gdm followed by sudo systemctl start gdm. I think it would be either gdm or gdm3 for Gnome. That command should restart gdm and take you to the gdm login screen or produce some error message that might clear this up.

  4. Insert whatever I forgot here…

This I am not sure about but I was fairly certain that any recent Cooker or ROME Gnome iso would be using Wayland not X11. I’ll have to look in to that for my own education… Hope I typed all the commands above correctly, I’m tired.

I started in console mode and then restarted gdm as you suggested. I then piped the output of journalctl to a text file, see attached.

text.txt (30.5 KB)

I think I have this fixed.

An error I saw after trying startx led me to /usr/sbin/xvt, line 34:

if [ -n "$MATE_DESKTOP_SESSION_ID" || x"$XDG_CURRENT_DESKTOP" = x"MATE" ]; then

I think this should have been:

if [ -n "$MATE_DESKTOP_SESSION_ID" ] || [ x"$XDG_CURRENT_DESKTOP" = x"MATE" ]; then

Also, in /etc/gdm/custom.conf, I uncommented “WaylandEnable=false”. Restart and everything works!

Thanks.

1 Like

This would appear to me to be a bug. Thoughts on whether I should file a report?

1 Like

Go for it. :+1:

I checked and the most recent ROME x86_64 Gnome iso (#3498) is indeed X11 not Wayland. Assigned @AngryPenguin to bug report #3107. @AngryPenguin is the creator and maintainer of the Gnome, Cosmic, and XFCE isos and a great OM Contributor.

Probably not. Gnome has been running exclusively on Wayland for several years now.
X11 is only available here as fallback session.

Check the build.log for ROME iso #3498. Perhaps need to rebuild ROME Gnome iso with Wayland?

There are installed on that iso:

task-x11                                           noarch  2015.0-17                 rolling-x86_64        6.3 k
...
x11-data-bitmaps                                   noarch  1.1.3-1                   rolling-x86_64         33 k
 x11-data-cursor-themes                             noarch  1.0.7-1                   rolling-x86_64        517 k
 x11-driver-video                                   x86_64  1.0.0-65                  rolling-x86_64        6.7 k
 x11-font-misc                                      noarch  1.0.0-22                  rolling-x86_64        6.2 k
 x11-font-type1                                     noarch  1.0.0-21                  rolling-x86_64        5.9 k
 x11-server-xorg                                    x86_64  21.1.14-1                 rolling-x86_64        1.2 M
 x11-tools                                          noarch  1.0.0-23                  rolling-x86_64        6.5 k
...
x11-driver-input-libinput                          x86_64  1.5.0-1                   rolling-x86_64         46 k
 x11-driver-input-wacom                             x86_64  1.0.0-2                   rolling-x86_64         91 k
 x11-driver-video-amdgpu                            x86_64  23.0.0-1                  rolling-x86_64         68 k
 x11-driver-video-ati                               x86_64  1:22.0.0-1                rolling-x86_64        147 k
 x11-driver-video-cirrus                            x86_64  1.6.0-1                   rolling-x86_64         32 k
 x11-driver-video-fbdev                             x86_64  0.5.0-5                   rolling-x86_64         17 k
 x11-driver-video-mga                               x86_64  2:2.1.0-1                 rolling-x86_64         67 k
 x11-driver-video-neomagic                          x86_64  1.3.1-1                   rolling-x86_64         35 k
 x11-driver-video-nouveau                           x86_64  1.0.17-3                  rolling-x86_64         90 k
 x11-driver-video-openchrome                        x86_64  0.6.0-4                   rolling-x86_64        118 k
 x11-driver-video-sis                               x86_64  0.12.0-3                  rolling-x86_64        218 k
 x11-driver-video-vesa                              x86_64  2.6.0-1                   rolling-x86_64         20 k
 x11-driver-video-vmware                            x86_64  13.4.0-1                  rolling-x86_64         79 k
 x11-font-alias                                     noarch  1.0.5-1                   rolling-x86_64         13 k
 x11-font-arabic-misc                               noarch  1.0.4-1                   rolling-x86_64         21 k
 x11-font-bitstream-type1                           noarch  1.0.4-1                   rolling-x86_64        307 k
 x11-font-cursor-misc                               noarch  1.0.3-18                  rolling-x86_64         13 k
 x11-font-daewoo-misc                               noarch  1.0.4-1                   rolling-x86_64        645 k
 x11-font-dec-misc                                  noarch  1.0.4-1                   rolling-x86_64         11 k
 x11-font-isas-misc                                 noarch  1.0.4-1                   rolling-x86_64        862 k
 x11-font-jis-misc                                  noarch  1.0.4-1                   rolling-x86_64        583 k
 x11-font-micro-misc                                noarch  1.0.4-1                   rolling-x86_64        9.0 k
 x11-font-misc-misc                                 noarch  1.1.3-1                   rolling-x86_64        3.8 M
 x11-font-mutt-misc                                 noarch  1.0.4-1                   rolling-x86_64        236 k
 x11-font-schumacher-misc                           noarch  1.1.3-1                   rolling-x86_64        173 k
 x11-font-sony-misc                                 noarch  1.0.4-1                   rolling-x86_64         29 k
 x11-font-sun-misc                                  noarch  1.0.4-1                   rolling-x86_64         34 k
 x11-font-xfree86-type1                             noarch  1.0.5-1                   rolling-x86_64         35 k
 x11-scripts                                        noarch  1.0.1-24                  rolling-x86_64         14 k
 x11-server                                         x86_64  21.1.14-1                 rolling-x86_64        6.2 k
 x11-server-common                                  x86_64  21.1.14-1                 rolling-x86_64        461 k
 x11-server-xnest                                   x86_64  21.1.14-1                 rolling-x86_64        605 k
 x11-server-xvfb                                    x86_64  21.1.14-1                 rolling-x86_64        849 k
...
 x11-driver-input                                   x86_64  1.0.0-36                  rolling-x86_64        6.6 k

I don’t see anything Wayland in the dnf transaction list for that iso.

and there is also:
lib64wayland-client0 x86_64 1.23.1-1 rolling-x86_64 31 k
lib64wayland-cursor0 x86_64 1.23.1-1 rolling-x86_64 16 k
lib64wayland-egl1 x86_64 1:1.23.1-1 rolling-x86_64 9.4 k
lib64wayland-server0

Wayland is used here by default, xserver is available on iso as fallback session. Whole desktop is configured to start to wayland. Gnome iso differs from the plasma iso in that it contains both sessions at once: the default wayland and the fallback xsession

It’s basically an upstream requirement that gradually stops development of the outdated xserver.

The problem that affected the user may be due to several things:

Incorrect operation of the graphics driver in virtualbox
Incorrect operation of the nvidia nouveau driver
Incomplete system update (since the system worked after installation but stopped after the update)

For example, I installed the said rome iso in virtualbox and updated it and the system started correctly for me.

I repeated the operation in qemu (boxes) and after installation and update the system worked correctly.

But the exception is that I have an amd radeon card, and the problem is probably related to nvidia - which I personally have no way to test because I do not have such a card.

Browsing the attached journal files I see several errors similar to reports like this Failed to lock front buffer on nouveau starting with mutter 46 (#3389) · Issues · GNOME / mutter · GitLab
which may suggest an actual problem related to nvidia nouveau

@thomasmarschall and here comes my question, how did you install the updates?