Can you install both gnome and KDE?

Latest response

Hi,

Years ago when I first had RHL on one of my machines you could install both KDE and GNOME. Then when signing into RHL you could choose whether you want to use the KDE desktop or the GNOME desktop. Is that still possible to do?

Responses

Yes, should be possible. To get the KDE desktop environment, then need to install required packages, you could run this command "yum groupinstall kde-desktop". This KB helps in changing the display manager from gnome to kde https://access.redhat.com/solutions/6641

It's very possible. I'm giving KDE a look now on RHEL7. I've never used it too long due to stability issues on RHEL, maybe it will be better now.

Ages ago, when I was at a Red Hat class, I was in KDE thought the instructional material said to use GNOME. Some command in the book didn't work and I called the instructor over. He told me to switch to GNOME and try it again. It worked, he walked away. Now that was over 7 years ago, and KDE has gotten a lot better. It took me a long while to give KDE another chance.

Hi James,

Although it's possible to install the two desktop environments side-by-side, I wouldn't recommend to do that.
In case you are running RHEL Server, better install the basic system without a GUI and add the KDE DE later.
Sadashiva already provided the instructions how you can do it. Please note that this is just "my two cents". :)

Regards,
Christian

Can someone explain which is better in term of stability and security KDE or GNOME on RHEL Server 7.0 onwards ?

Rahul, for RHEL server (think data center, not for desktop use), I'd highly recommend you not install a graphical interface at all. Just use Command Line Interface (CLI). There are numerous reasons which boil down to having to perform less security mitigations for a RHEL server instance. Now if you're using a RHEL workstation or RHEL desktop (and not RHEL server), then a graphical interface would be more appropriate.

Can you use GNOME/KDE etc with RHEL Server? the answer is yes. However, if you're installing RHEL server to fulfill some server role especially in a data center, then you'll have to take additional security mitigations for the additional vulnerabilities inherited with a Server with GUI installation. You can CERTAINLY mitigate the issues, but it will involve much more work.

Those who are not used to command-line methods will often install RHEL Server with GUI on strictly server systems because they are used to it. You, your company/organization inherits additional risk that certainly can be mitigated, however, at a larger workload.

My customers do not use Server with GUI for RHEL Server. If they need GNOME/KDE, they restrict it to RHEL Workstation or RHEL Desktop.

Do as you deem best, but know what you are accepting as a result, and be aware of the additional cost in terms of time/effort and sustainability and security. I'd personally recommend against the use of a GUI with RHEL Server and restrict the use of GNOME/KDE to only RHEL Workstation or RHEL Desktop. Others will have a passionate view otherwise, but the cost/time of security mitigations are not worth it for RHEL Server. (Those that do like it for server use, need to mitigate the additional security issues of a graphical environment).

Here's some info on performing security mitigations for server builds: SCAP Workbench getting started at https://www.open-scap.org/getting-started/. This link gives you a basic how-to guide to use the SCAP security benchmarks and profiles (there are various security postures to select from based on your company or organizational security requirements, if in doubt, ask them). The methods use either a graphical or command line approach. Both methods will allow you to view what [known] security vulnerabilities are present and in many cases what actions to take to resolve them.

Consider reading the Red Hat Discussion are STIG discussions here and here, both of which are lengthy and have "rabbit trails" yet have some very worthwhile information. There is a common misconception that STIG requirements only relate to government-like entities. The short answer is, that is not true. Banking entities and other groups use STIG requirements as well! Routinely!! My Technical Account Manager (TAM) at Red Hat and other contacts I have at Red Hat have told me that non-government entities routinely use STIG requirements for their baseline. Another misconception, some will have a disdain for STIG issues (it actually can be a royal pain) and falsely think one must take =all= mitigations, =however=, you do not (you do not) have to inherit every STIG mitigation, nor should you. Document the mitigations you don't take and be prepared to explain why to whomever cares the most about security for your company (whoever the security responsible person is). There are STIG mitigations that are (in some cases just flat broken and have a bugzilla, like this yum.conf gpg check, for example), but there are many that are ... "sane" or at least feasible. I'll spare the expense of further explanation to the STIG Red Hat discussions, and not tie it up here.

Additionally, here is Red Hat's documentation on SCAP Workbench use.

We generally don't even bother installing KDE on RHEL workstations unless a customer specifically asks for it, then we do. Is KDE bad? No. Is GNOME bad? No. The real issue is configuring whichever one you select for your customers in a way that is easily repeatable and sustainable for function and use in your company. I don't personally care for KDE but forced myself to use it just to be able to support customers that do use it. There are some things that we got to work slightly better with KDE than GNOME (some highly unique high end graphical), and in some cases we ditched both KDE and GNOME and suffered the EPEL (google RHEL EPEL) use of "Mate" or "Cinnamon" and instead of using GDM we went to "lightdm"for a few highly unusual needed situations on RHEL workstations when justified (a very-very-non-merry chase of making either ATI/NVIDIA work with very non-typical unique software). More about RHEL EPEL from Red Hat.

Wish you well

Dear R. Hinton,

I agree up on your statement of RHEL Server better not to be used with X Windows Systems, unfortunately there are some network management tools create by huge network components vendors that come with X Windows based GUIs. They are sometimes to heavy to run over the network to a X-Server on a Citrix Client and work better if you run it on a VMWare console. It is not the ideal solution.

If they decide to port there software form the "Green German distribution" to RHEL server I would not tell them that Gnome or KDE is a no-go.

So yum groupinstall 'KDE' is a non documented option to get KDE installed on RHEL Server.

Regards,

Jan Gerrit Kootstra

P.S. I opened a support case to get yum grouplist to show KDE as a group. CASE 01951306

Hi Jan, thanks for the good replies, you always have great input/examples.

I did help our oracle folks and another group with some other software with a graphical installer, it turns out in their very specific cases, they didn't require a graphical GUI install (but did need to display-back a graphical installer, yet it turned out did not need gnome/kde - yet the installer could still be displayed back to a workstation). There are some cases in some software installs I've been able to set the display back from a server without gnome/without kde and still get the installer back or some form of gui based software installed --- yet without the need of gnome or kde.

That being said, I recognize your point, and certainly there are those software entities that for oddball reasons will force the hand of having gnome/kde.

Thanks for the perspective Jan

Take care,

-rj

Hi RJ,

Thanks for the kind words, and your detailed posts.

If possible I advise to use a remote X-Server and minimal X11 libraries on the RHEL Server too.

@James and others I received a response from the RH Case:

yum grouplist hidden shows a lot of other groups e.g. KDE that are not shown in the default output.

Regards,

Jan Gerrit

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.