Skip to content

[Linux] Install, Startup, Close Gnome Desktop Environment Via Terminal

Introduction

Gnome & gdm

Gnome is a very famous open-source desktop environment system, the current version has come to Gnome 3. If you want to install this desktop environment in your device, you can use the following command:

sudo apt-get install gnome-desktop-environment

If you want to start Gnome, you need to use gdm (Gnome Display Manager) to execute command. Compared with general default X window xdm, gdm can directly adjust the settings of the desktop environment from the graphical introduction, and xdm has to edit various xdm settings.


Command

To start the Gnome desktop environment (or close it), you can use the following commands. By the way, because it is tested in the Gnome 3 environment, the commands are all recorded as gdm3.


Start

sudo /etc/init.d/gdm3 start


Stop

sudo /etc/init.d/gdm3 stop


Restart

sudo /etc/init.d/gdm3 restart

References


Read More

Tags:

Leave a Reply