Configure after install Ubuntu Server - rlaich/avctrec GitHub Wiki

Update source

sudo apt-get update
sudo apt-get upgrade

GUI of Ubuntu server

Install desktop

sudo apt-get install -y ubuntu-desktop

Install remote desktop service

apt-get install -y xrdp

Restart OS

Ref

Root user login/ssh

1. Set root password

$ sudo passwd

2. edit the /etc/gdm3/custom.conf, add AllowRoot=true

# Enabling timed login
#  TimedLoginEnable = true
#  TimedLogin = user1
#  TimedLoginDelay = 10
AllowRoot=true

3. edit /etc/pam.d/gdm-password

auth    requisite         pam_nologin.so
# auth   required          pam_succeed_if.so user!=root quiet_success

4. Reboot OS

5. Modify config to enable root ssh access> edit /etc/ssh/sshd_config

# PermitRootLogin prohibit-password
PermitRootLogin yes

6. restart ssh server

$ sudo systemctl restart sshd

Ref

Manage network by Ubuntu GUI after install

Issue :

wired network shows unmanaged on Ubuntu Server desktop network option

Edit configure file

sudo vi /etc/netplan/00-installer-config.yaml

Add renderer settings

# This is the network config written by 'subiquity'
network:
  #ethernets:#
    #enp0s31f6:
      #dhcp4: true
version: 2
renderer: NetworkManager

Apply

sudo netplan apply

Ref