VirtualBox Running Ubuntu 26

Ubuntu 26.04 new install May 2026.

Used Default selection for apps. Skip additional software.

Install XFCE with these notes

Set root password with sudo passwd root

Using GUI settings, turn off screensaver and power management options

(NOTE: Previously I had run apt purge light-locker to disable screensaver and screen blanking but it didn't seem to work.)

Install network stuff to run ifconfig, etc:

sudo apt install net-tools vim gnome-terminal curl

Add my .bashrc and my alias for apt updates:

alias au='apt update; apt -y upgrade'
alias vi='vim'

Change hostname

For Guest Additions:

sudo apt install gcc make perl

Installed Guest Additions CD, ran Linux script. Said there was an error but upon VM reboot the guest additions were installed.

Fix SSH:

sudo apt install openssh-server
sudo systemctl start ssh
sudo systemctl enable ssh

Disable Firewall

Customize grub to show boot options and keep messages on screen during boot:

cd /etc/default
sudo cp grub grub.YYYYMMDD
sudo vi grub

Set up GMail as a Relay

Install and test crontab

Create $HOME/.vimrc with the following lines:

set mouse=
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o

Enable ESM Apps to receive additional future security updates - see https://ubuntu.com/esm or run: sudo pro status


29 June 2026

When I updated the system, at the end it asked if I wanted to remove unnecessary packages. I did so and it immediately killed my graphical login and Xfce. Had to reinstall Xfce using link above and then issue sudo systemctl set-default graphical.target


Move Unifi Controller using steps below