I'm running Ubuntu Server 20.04 LTS on VirtualBox 6.1.16, my host is Windows 10 Insider Preview.
I'm trying to get full screen without a desktop environment. I want to run a minimalist build with dwm as my window manager and st as my terminal emulator.
I tried installing the virtualbox-guest-x11 package. It automatically installs a bunch of recommended packages, including a basic Gnome environment. After reboot, it presents me the GDM login screen. If I login to another tty, install and run startx, the X server can't go full screen, while the Gnome X server (which I don't want) can. I can run dwm and st in the X server I started with startx, but it won't go full screen like the Gnome one.
I tried following the VirtualBox documentation and install the guest additions mounting the CD and running VBoxLinuxAdditions.run. The result is the same.
These screenshots are from the same VM:
tty1 with the Gnome environment installed automatically by virtualbox-guest-x11.
tty2 when I do a startx with dwm and st installed.
Any help would be greatly appreciated.