In the following article you will learn how to start GUI (graphical user interface) from command line on Ubuntu 20.04 Focal Fossa.

In this tutorial you will learn:
  • How to start GUI from command line
  • How to enable GUI to start on boot automatically
Start GUI from command line on Ubuntu 20.04 Focal Fossa
Start GUI from command line on Ubuntu 20.04 Focal Fossa

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa
Software Installed GUI
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

Start GUI from command line on Ubuntu 20.04 step by step instructions

Here we already assume that you have successfully installed GUI on your Ubuntu 20.04 system.
  1. Login to your terminal and execute the following systemctl command to start GUI:
    $ sudo systemctl isolate graphical
    

  2. SUBSCRIBE TO NEWSLETTER
    Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


  3. In case you wish to start the GUI automatically during the system boot change the boot target from multi-user to graphical:
    $ sudo systemctl set-default graphical.target
    
FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions