To install LXDE on Ubuntu server, Run the following command: apt-get install xorg lightdm lxde lxde-core lxsession-logout network-managerĪdd following lines to the /etc/lightdm/nf file and restart the computer. LXDE is another extremely lightweight desktop environment that uses less memory and processing power, Even faster than Xfce desktop. Will switch back to command line interface. An Alternative to Ubuntu network manager is systemd-networkd, which is the default backend service in Ubuntu server. Therefore, If you want to configure IP addresses via GUI, then the network-manager should be enabled. Will bring the graphical desktop instantly. On Ubuntu desktop, network manager is the default service that manages network interfaces through the graphical user interface. It is also possible to switch between command line mode and graphical mode with systemctl command. The system will go back to command line mode. If you don’t want to use the Graphical User Interface, Then set the default target to multi-user.target and restart the Ubuntu server: systemctl set-default multi-user.target To check default runlevel, Type: sudo systemctl get-default When we install desktop on Ubuntu, the default runlevel will set to "graphical.target", That is why the server will start with a GUI.
When the server reboot, The Ubuntu system will start with Xfce the desktop interface.ĭefault Run Level, Switch between Graphical Interface and Command line mode Save the file and restart the server: systemctl reboot To install Xfce desktop on Ubuntu server, Run the following commands: apt-get updateĪfter the installation is finished, Create a new file named nf in /etc/lightdm directory: sudo nano /etc/lightdm/nfĪdd following lines to the nf file: Xfce is a Fully featured lightweight desktop environment that requires less memory and processing power, therefore I will recommend to use Xfce as the graphical user interface for your Ubuntu server 18.04/16.04.
After the desktop installs, edit the /etc/gdm3/nf file to disable Wayland. Invoke the tasksel utility and choose 'Ubuntu desktop' for installation - this installs GNOME.
In this quick tutorial, we’ll take you through the steps on how to install a GUI on Ubuntu. Install the tasksel manager utility: sudo apt-get install tasksel. For that, you would need to install a GUI (graphical user interface) on your server. Linux-based servers are not only used for running tasks in the background you can use them for running rich, graphical applications too. It’s easy to use, and a vast open-source application ecosystem supports it. Are you planning to use the Ubuntu server for your business? It is one of the most popular open-source Linux-based operating systems in the world.