![]() If you enable the GUI login (with the command systemctl set-default graphical.target), you should then be able to select the GUI you want at the login screen. Âecho "exec /usr/bin/mate-session" > ~/.xinitrc Sudo yum -enablerepo=epel -y groups install "MATE Desktop" Âecho "exec /usr/bin/xfce4-session" > ~/.xinitrcįan of the Mate desktop? Install/enable that with the following: Âsudo yum -enablerepo=epel -y groups install "Xfce" The XFCE desktop can be installed/enabled with the following commands: Once that command completes, inform startx with the command: Sudo yum -y groups install "KDE Plasma Workspaces" To install that particular desktop, the installation command would be: Should GNOME not be your cuppa tea, you might prefer the KDE desktop environment. ![]() The next time you reboot, you’ll be greeted with the GUI login screen ( Figure B). Open up a terminal window and issue the command: If that’s the case, there’s a command for that. You may not want to have to issue startx every time you need to log into your server. SEE: Server deployment/migration checklist (TechRepublic) GUI login The GNOME desktop should start up and work exactly as expected ( Figure A). From the terminal window, issue the command startx. Starting GNOMEīefore we make this process automatic, let’s test to make sure GNOME works. This is important if you have more than one environment installed. The above command will inform the startx command which desktop environment to run. To finish up the installation, issue the command: Allow it to complete and you will be subsequently deposited back at your terminal window. This installation may take a bit of time (depending upon the speed of your hardware and internet connection). Sudo yum -y groups install "GNOME Desktop" Once the update finishes, issue the command: If the update process happens to upgrade the kernel, you will have to reboot to make those changes take effect. ![]() Issue the command sudo yum update to upgrade everything that can be upgraded. Before we actually run the installation, let’s update first. The installation of the GNOME desktop on CentOS 7 is handled via the groups option for the yum command. SEE: Securing Linux policy (Tech Pro Research) Installation Don’t worry, however, you can still get to your GNOME desktop without having to reboot. Do note, although the installation of the GNOME environment will not require a reboot, to gain access to the graphical login will. Assumptionsįor this to work, I will assume you already have CentOS 7 installed (without a desktop environment), you have access to either the root account or a user with sudo rights, and that your machine has an internet connection. It’s actually much easier than you might expect. I’m going to show you how to install the GNOME, KDE, XFCE, and Mate desktop environments and enable the graphical login. The next SQL Server: Interview with Asad Khan of Microsoftįortunately, for those that wound up with a GUI-less CentOS server, adding a graphical desktop environment into the mix is actually not that hard. How to set, change, and recover your MySQL root password How to create a virtual machine in Google Cloud Platform More about data centersĭata warehouse services: What to consider before choosing a vendor But for those new or newish to Linux, a good GUI would go a very long way to assist the administration process. If you’re well versed in the Linux command line, that’s not a problem. But for some, the installation could “accidentally” wind up with a GUI-less platform (you must remember to select the GUI during installation). With this particular operating system, you can deploy very powerful web sites, containers, and so much more. For more info, visit our Terms of Use page.ĬentOS 7 is a very powerful, open source server platform. This may influence how and where their products appear on our site, but vendors cannot pay to influence the content of our reviews. We may be compensated by vendors who appear on this page through methods such as affiliate links or sponsored partnerships. GUI-less CentOS server got you down? If that's the case, Jack Wallen walks you through the steps to install GNOME, KDE, XFCE, or Mate for a much more user-friendly admin environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |