Notes

Install and start ubuntu-desktop, and control the firewall with ufw and iptables.

UjnotesCC0 1.0

Install and start ubuntu-desktop, and control the firewall with ufw and iptables.

Install desktop

apt-get install ubuntu-desktop

May require installing build-essential.

Start desktop

startx

Firewall

ufw subcommands: status, disable, enable, reset, allow.

ufw status
ufw disable
ufw enable
ufw reset
ufw allow

Allow TCP:

proto tcp from any to any port __

<Samba> as an allow target.

iptables

-F will flush the firewall rules.

iptables -F

Caution: ufw reset and iptables -F drop firewall rules.

Updated: 2026 Aug 19