How to install Gnome-session on ubuntu 17.04

To install gnome-session on Ubuntu 17.04

gnome-session is a program that starts up the GNOME desktop environment. The function of genome-session is to either load your saved session, or provide you with a default session as defined by the system administrator. It is very simple to install gnome-session, and this tutorial covers the installation process involved with gnome session.

Installing gnome-session

Before you begin with the installation of gnome-session, make sure you add its repository to your system as follows.

root@linuxhelp1:~# add-apt-repository ppa:eugenesan/ppa
 This repository contains collection of customized, updated, ported and backported
packages for two last LTS releases and latest pre-LTS release.
Packages for older releases relocated to ppa:eugenesan/archive or deleted.

+-------------------------------------------------------------------------------------+
| Disclaimer:
+-------------------------------------------------------------------------------------+
* Packages in this a nd related PPAs are for personal use only.
  They developed specifically for several custom environments and may not work for you.
* Usage of packages in this PPA, in some forms, might contradict licenses of software
  packaged in this and related PPAs. End users and administrator are responsible for
  runtime licensing and possible legal consequences.
* Some packages provided with their dependencies while some might require additional
  Ubuntu repositories and external PPAs. Below is the list of
.
.
.
gpg: keybox ' /tmp/tmpep5uscs5/pubring.gpg'  created
gpg: /tmp/tmpep5uscs5/trustdb.gpg: trustdb created
gpg: key E61380B28313A596: public key " Launchpad synergy+"  imported
gpg: Total number processed: 1
gpg:               imported: 1
OK


Once it is done, update the repo by running the following command.

root@linuxhelp1:~# apt-get update
Get:1 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]                                     
Get:2 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty InRelease [15.4 kB]                                  
Hit:3 http://in.archive.ubuntu.com/ubuntu zesty InRelease                                                                  
Get:4 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2 kB]                               
Get:5 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main i386 Packages [1,108 B]     
Get:6 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main amd64 Packages [1,100 B]                           
Get:7 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main Translation-en [1,288 B]          
Hit:8 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease                                    
Fetched 197 kB in 3s (61.9 kB/s)
Reading package lists... Done

Now is the time to install the package.

root@linuxhelp1:~# apt-get install gnome-session -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gnome-settings-daemon gnome-settings-daemon-schemas xwayland
Suggested packages:
  gnome-user-guide
The following NEW packages will be installed:
  gnome-session gnome-settings-daemon xwayland
The following packages will be upgraded:
  gnome-settings-daemon-schemas
1 upgraded, 3 newly installed, 0 to remove and 62 not upgraded.
Need to get 1,232 kB of archives.
After this operation, 4,090 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu zesty-updates/main amd64 gnome-settings-daemon-schemas all 3.24.1-0ubuntu1 [13.4 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 gnome-settings-daemon amd64 3.24.1-0ubuntu1 [323 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 xwayland amd64 2:1.19.3-1ubuntu1 [852 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 gnome-session amd64 3.24.0-0ubuntu1 [43.1 kB]                       
Fetched 1,232 kB in 8s (146 kB/s)                                                                                                  
(Reading database ... 168833 files and directories currently installed.)
Preparing to unpack .../gnome-settings-daemon-schemas_3.24.1-0ubuntu1_all.deb ...
Unpacking gnome-settings-daemon-schemas (3.24.1-0ubuntu1) over (3.24.0-0ubuntu2) ...
Selecting previously unselected package gnome-settings-daemon.
Preparing to unpack .../gnome-settings-daemon_3.24.1-0ubuntu1_amd64.deb ...
Unpacking gnome-settings-daemon (3.24.1-0ubuntu1) ...
Selecting previously unselected package xwayland.
Preparing to unpack .../xwayland_2%3a1.19.3-1ubuntu1_amd64.deb ...
Unpacking xwayland (2:1.19.3-1ubuntu1) ...
Selecting previously unselected package gnome-session.
Preparing to unpack .../gnome-session_3.24.0-0ubuntu1_amd64.deb ...
Unpacking gnome-session (3.24.0-0ubuntu1) ...
Setting up gnome-settings-daemon-schemas (3.24.1-0ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.52.0-1) ...
Setting up xwayland (2:1.19.3-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up gnome-settings-daemon (3.24.1-0ubuntu1) ...
Setting up gnome-session (3.24.0-0ubuntu1) ...

gnome-session has been installed, use the following command to learn more about the application.

root@linuxhelp1:~# gnome-session --help
Usage:
  gnome-session-binary [OPTION&hellip ]  - the GNOME session manager

Help Options:
  -h, --help                        Show help options

Application Options:
  -a, --autostart=AUTOSTART_DIR     Override standard autostart directories
  --session=SESSION_NAME            Session to use
  --debug                           Enable debugging code
  -f, --failsafe                    Do not load user-specified applications
  --version                         Version of this application
  --whale                           Show the fail whale dialog for testing
  --disable-acceleration-check      Disable hardware acceleration check

You can remove the package from your system with the help of following command.

root@linuxhelp1:~# apt-get remove gnome-session -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gnome-settings-daemon xwayland
Use ' apt autoremove'  to remove them.
The following packages will be REMOVED:
  gnome-session
0 upgraded, 0 newly installed, 1 to remove and 62 not upgraded.
After this operation, 141 kB disk space will be freed.
(Reading database ... 168914 files and directories currently installed.)
Removing gnome-session (3.24.0-0ubuntu1) ...
Tag : Ubuntu
FAQ
Q
Why do you include Ubuntu Software Center instead of GNOME Software for installing software?
A
Ubuntu Software Center offers user ratings and reviews, screenshots, and better search. GNOME developers currently do not intend to support easy install of proprietary software like Steam or the Humble Indie Bundles.
Q
Why don’t you include GNOME Web (Epiphany) by default?
A
The GNOME developers currently aren’t able to provide updates for their web browser for the entire support lifetime of an Ubuntu GNOME release. We also can’t include new versions of the browser in our stable releases since the new versions depend on the latest system libraries like GTK+ and WebKit which can’t be easily backported. Ubuntu GNOME users benefit from Firefox’s prompt and reliable updates.
Q
How to enable debugging mode in Gnome-session?
A
For enable debugging mode in Gnome-session, use the following command as given below "--debug Enable debugging code"
Q
How to check disable hardware using the "Gnome-session"
A
For check disable hardware using the "Gnome-session, use the following command as given below "--disable-acceleration-check "
Q
How to know the entire information and option to be available for the Gnome-session?
A
For getting the entire information and option to be available for the Gnome-session , run the following command as given below "gnome-session --help"