How to run Gnome desktop without gdm3

I have disabled the gdm3 system service using the following command. How can I start a Gnome desktop without using gdm3 in the command line? The operating system on my computer is Ubuntu-24.04.2-LTS.

sudo systemctl disable gdm
  1. Log in to your user account on TTY
  2. Run dbus-run-session gnome-shell --wayland (or something similar; I’m not sure about the exact command)

But it might not be wise to do that. Why do you want to do that?