Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following steps are tested on Ubuntu Server 20.04

Info

This steps in this guide should also work for VMs without a GPU. Just skip the nvidia-xconfig steps.

Configure the server

Install a basic GUI, a VNC server and some necessary utilities

...

Tell getty to autologin the ubuntu-user

Code Block
$ sudo mkdir /etc/systemd/system/getty@tty1.service.d/
$ cat << EOF | sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin ubuntu --noclear %I $TERM
EOF

$ sudo systemctl enable getty@tty1.service

...