While setting up my Plex I noticed that I couldn’t connect from my laptop to configure the server that I installed on a Ubuntu Server due to that they existed on different subnets. To solve this I installed Ubuntu Desktop temporarily on my Ubuntu Server¬†and set up the server from a browser on the local machine.

But as I like minimal installs and not a bloated server I later decided to remove Ubuntu desktop completley. Here is how you do:

  1. Install Ubuntu Desktop without install RECOMMENDS
    $~: sudo apt-get install --no-install-recommends ubuntu-desktop

    This will install 477 packages.

  2. Remove Ubuntu Desktop completely
    $~: sudo apt-get remove adium-theme-ubuntu adwaita-icon-theme alsa-base alsa-utils anacron apg aptdaemon aptdaemon-data aspell aspell-en at-spi2-core bamfdaemon bc binutils bluez bluez-obexd checkbox-converged checkbox-gui cheese-common compiz compiz-core compiz-gnome compiz-plugins-default cpp cpp-5 dbus-x11 dconf-cli dconf-gsettings-backend dconf-service desktop-file-utils dictionaries-common dmz-cursor-theme doc-base dpkg-dev emacsen-common evolution-data-server-common fontconfig fonts-freefont-ttf foomatic-db-compressed-ppds genisoimage ghostscript ghostscript-x gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-gtk-3.0 gir1.2-gudev-1.0 gir1.2-ibus-1.0 gir1.2-javascriptcoregtk-4.0 gir1.2-packagekitglib-1.0 gir1.2-pango-1.0 gir1.2-soup-2.4 gir1.2-vte-2.91 gir1.2-webkit2-4.0 gkbd-capplet glib-networking glib-networking-common glib-networking-services gnome-bluetooth gnome-desktop3-data gnome-menus gnome-session-bin gnome-session-canberra gnome-session-common gnome-settings-daemon-schemas gsettings-desktop-schemas gsettings-ubuntu-schemas gsfonts gstreamer1.0-alsa gstreamer1.0-clutter-3.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-good gstreamer1.0-pulseaudio gstreamer1.0-tools gstreamer1.0-x gtk2-engines-murrine gvfs gvfs-bin gvfs-common gvfs-daemons gvfs-libs hicolor-icon-theme humanity-icon-theme ibus im-config indicator-bluetooth indicator-datetime indicator-keyboard indicator-power indicator-sound inputattach language-selector-gnome libaa1 libappindicator3-1 libappstream-glib8 libarchive13 libasound2-plugins libaspell15 libatasmart4 libatk-adaptor libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libbamf3-2 libbluetooth3 libboost-filesystem1.58.0 libboost-system1.58.0 libcairo-gobject2 libcairo2 libcamel-1.2-54 libcanberra-gtk0 libcanberra-gtk3-0 libcanberra0 libcdparanoia0 libcgmanager0 libcheese-gtk25 libcheese8 libclutter-1.0-0 libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-pango20 libcogl-path20 libcogl20 libcolord2 libcompizconfig0 libcrack2 libcroco3 libcups2 libcupsfilters1 libcupsimage2 libdatrie1 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdconf1 libdecoration0 libdee-1.0-4 libdouble-conversion1v5 libdpkg-perl libdv4 libebackend-1.2-10 libebook-1.2-16 libebook-contacts-1.2-2 libecal-1.2-19 libedata-book-1.2-25 libedataserver-1.2-21 libegl1-mesa libenchant1c2a libepoxy0 libevdev2 libexempi3 libexif12 libfcitx-config4 libfcitx-gclient0 libfcitx-utils0 libfftw3-double3 libfftw3-single3 libfontenc1 libframe6 libgail-3-0 libgail-common libgail18 libgbm1 libgcab-1.0-0 libgck-1-0 libgcr-3-common libgcr-base-3-1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgee-0.8-2 libgeis1 libgeoclue0 libgeonames0 libglew1.13 libglewmx1.13 libglib2.0-bin libglibmm-2.4-1v5 libglu1-mesa libgnome-bluetooth13 libgnome-desktop-3-12 libgnome-menu-3-0 libgnomekbd-common libgnomekbd8 libgrail6 libgs9 libgs9-common libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer1.0-0 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-common libgtop-2.0-10 libgtop2-common libgudev-1.0-0 libharfbuzz-icu0 libhud2 libhunspell-1.3-0 libhyphen0 libibus-1.0-5 libical1a libice6 libido3-0.1-0 libijs-0.35 libimobiledevice6 libindicator3-7 libinput10 libisl15 libiw30 libjavascriptcoregtk-4.0-18 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libjson-glib-1.0-0 libjson-glib-1.0-common liblcms2-2 liblightdm-gobject-1-0 libltdl7 libmediaart-2.0-0 libmetacity-private3a libmirclient9 libmircommon5 libmirprotobuf3 libmm-glib0 libmpc3 libmtdev1 libnautilus-extension1a libndp0 libnih-dbus1 libnm-glib4 libnm-gtk-common libnm-gtk0 libnm-util2 libnm0 libnotify-bin libnotify4 libnspr4 libnss3 libnss3-nssdb libnux-4.0-0 libnux-4.0-common libpackagekit-glib2-16 libpango-1.0-0 libpango1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpangox-1.0-0 libpangoxft-1.0-0 libpaper1 libpcre16-3 libpcsclite1 libpixman-1-0 libplist3 libprotobuf-lite9v5 libprotobuf9v5 libproxy1v5 libpulse-mainloop-glib0 libpulsedsp libpwquality-common libpwquality1 libqt5core5a libqt5dbus5 libqt5feedback5 libqt5gui5 libqt5multimedia5 libqt5network5 libqt5organizer5 libqt5qml5 libqt5quick5 libqt5quicktest5 libqt5svg5 libqt5test5 libqt5widgets5 librest-0.7-0 librsvg2-2 librsvg2-common libsecret-1-0 libsecret-common libshout3 libsm6 libsoup-gnome2.4-1 libsoup2.4-1 libspeexdsp1 libstartup-notification0 libtag1v5 libtag1v5-vanilla libtdb1 libthai-data libthai0 libtiff5 libtimezonemap-data libtimezonemap1 libtracker-sparql-1.0-0 libubuntugestures5 libubuntutoolkit5 libudisks2-0 libunistring0 libunity-action-qt1 libunity-control-center1 libunity-core-6.0-9 libunity-misc4 libunity-protocol-private0 libunity-scopes-json-def-desktop libunity-settings-daemon1 libunity9 libupower-glib3 liburl-dispatcher1 libusbmuxd4 libuuid-perl libv4l-0 libv4lconvert0 libvisual-0.4-0 libvorbisfile3 libvte-2.91-0 libvte-2.91-common libwacom-common libwacom2 libwayland-client0 libwayland-cursor0 libwayland-egl1-mesa libwayland-server0 libwebkit2gtk-4.0-37 libwebrtc-audio-processing-0 libwnck-3-0 libwnck-3-common libxaw7 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-util1 libxcb-xkb1 libxcomposite1 libxcursor1 libxfont1 libxft2 libxi6 libxinerama1 libxkbcommon-x11-0 libxkbcommon0 libxkbfile1 libxklavier16 libxmu6 libxpm4 libxrandr2 libxrender1 libxres1 libxt6 libxtst6 libxxf86dga1 libyaml-0-2 libyaml-tiny-perl libyelp0 libzeitgeist-2.0-0 light-themes lightdm linux-sound-base make memtest86+ metacity-common mountall nautilus nautilus-data network-manager notify-osd nux-tools openprinting-ppds pkg-config plainbox-provider-checkbox plainbox-provider-resource-generic plainbox-secure-policy policykit-1-gnome poppler-data printer-driver-pnm2ppa pulseaudio pulseaudio-utils pyotherside python3-aptdaemon python3-aptdaemon.gtk3widgets python3-checkbox-support python3-defer python3-guacamole python3-jinja2 python3-lxml python3-markupsafe python3-padme python3-plainbox python3-pyparsing python3-xkit python3-xlsxwriter qml-module-io-thp-pyotherside qml-module-qtfeedback qml-module-qtgraphicaleffects qml-module-qtquick-layouts qml-module-qtquick-window2 qml-module-qtquick2 qml-module-qttest qml-module-ubuntu-components qml-module-ubuntu-layouts qml-module-ubuntu-performancemetrics qml-module-ubuntu-test qmlscene qtchooser qtdeclarative5-dev-tools qtdeclarative5-test-plugin qtdeclarative5-ubuntu-ui-toolkit-plugin qtdeclarative5-unity-action-plugin rfkill session-migration software-properties-gtk sound-theme-freedesktop suru-icon-theme ttf-ubuntu-font-family ubuntu-artwork ubuntu-desktop ubuntu-drivers-common ubuntu-mobile-icons ubuntu-mono ubuntu-release-upgrader-gtk ubuntu-session ubuntu-settings ubuntu-sounds ubuntu-ui-toolkit-theme ubuntu-wallpapers ubuntu-wallpapers-xenial udisks2 unity unity-asset-pool unity-control-center unity-greeter unity-schemas unity-scope-home unity-scopes-master-default unity-services unity-settings-daemon update-manager update-notifier upower upstart wireless-tools wpasupplicant x11-apps x11-common x11-session-utils x11-utils x11-xkb-utils x11-xserver-utils xbitmaps xdg-user-dirs-gtk xdiagnose xfonts-base xfonts-encodings xfonts-utils xinit xinput xorg xorg-docs-core xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom xterm yelp yelp-xsl zenity zenity-common zip

    This will remove 477 packages.

  3. Done!