RHEL 7.4 - Recover broken desktop GUI
Hi,
I have a fresh install of redhat 7.4-64bit on an Intel based system.
I've managed to corrupt the Gnome interface and ideally want to restore the defaults, like mentioned in this article under "reconfiguring the X server configuration":
[Fix graphical display issues] (https://access.redhat.com/solutions/5338)
How do I do that in RHEL 7?
Thanks in advance!
Symptoms:
When I run "startx" from the command line, it hangs for a moment, then I get a message to check the Xorg log and "serverauth.1845 does not exist."
There are no errors in Xorg log.
Background:
I originally installed the "Server with GUI" package. Then changed my mind, did a 'yum group remove' and installed "GNOME Desktop".
Responses
Hi Don,
What you provided about the background : that was not a good idea ... I recommend to reinstall the system without a GUI and then install the desired Desktop group - it takes way less time than fixing the mess - and don't forget to switch to GUI mode afterwards.
sudo systemctl set-default graphical.targetsudo reboot
Cheers :)
Christian
Hi Don,
Execute sudo yum group list | grep Desktop* and you'll see the name of the Desktop versions being available :
MATE Desktop
Desktop
Desktop Debugging and Performance Tools
Desktop Platform
Desktop Platform Development
General Purpose Desktop
KDE Desktop
Remote Desktop Clients
Execute sudo yum group info Desktop and sudo yum group info "Desktop Platform", decide what to install.
sudo yum group info Desktop
Group: Desktop
Group-Id: basic-desktop
Description: A minimal desktop that can also be used as a thin client.
sudo yum group info "Desktop Platform"
Group: Desktop Platform
Group-Id: desktop-platform
Description: Supported libraries for the Enterprise Linux Desktop Platform.
Regards,
Christian
Don, I just forgot to mention ... when you want to have a menu bar, you can choose "GNOME Classic" instead of "GNOME" on the GDM login screen, the modern GNOME 3 desktop environment comes with Activities instead.
Here you can see the difference between the two versions : Screenshot GNOME / Screenshot GNOME Classic
Regards,
Christian
Hi Don, maybe the GPU is the culprit. Do you have a dedicated AMD or NVIDIA graphics card ? In case yes : Boot the system by adding one of the following parameters at the end of the linux line (Select the RHEL entry in the GRUB menu and press the "E" key - add the parameter and then press Ctrl+X or F10 to boot) :nouveau.modeset=0 (for NVIDIA graphics) or radeon.modeset=0 (for AMD graphics)
Regards,
Christian
Well Don, I'm about to running out of ideas - intel graphics are perfectly supported ... but what do you mean with "see image for extract from lspci and lshw" ? Anyway, what you can do is check every setting in BIOS / UEFI for something that prevents the graphics chip from displaying everything correctly.
Regards,
Christian
No Don, I think there is something wrong with your installation generally ... "Server with GUI" though being installed via Anaconda being listed in yum as available for whatever reason is "normal", compare the outputs from my setup :
sudo yum group list
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Available Environment Groups:
Minimal Install
Infrastructure Server
File and Print Server
MATE Desktop
Basic Web Server
Virtualization Host
Server with GUI
Available Groups:
Additional Development
Backup Client
Backup Server
Base
CIFS file server
Compatibility libraries
Console internet tools
Debugging Tools
Desktop
Desktop Debugging and Performance Tools
Desktop Platform
Desktop Platform Development
Development tools
Dial-up Networking Support
Directory Client
Directory Server
E-mail server
Eclipse
Educational Software
Electronic Lab
Emacs
FCoE Storage Client
FTP server
Fedora Packager
Fonts
General Purpose Desktop
Graphical Administration Tools
Graphics Creation Tools
Hardware monitoring utilities
Haskell
Infiniband Support
Input Methods
Internet Applications
Internet Browser
Java Platform
KDE Desktop
Large Systems Performance
Legacy UNIX compatibility
Legacy X Window System compatibility
Mainframe Access
Messaging Client Support
Messaging Server Support
Milkymist
MySQL Database client
MySQL Database server
NFS file server
Network Infrastructure Server
Network Storage Server
Network file system client
Networking Tools
Office Suite and Productivity
PHP Support
Performance Tools
Perl Support
PostgreSQL Database client
PostgreSQL Database server
Print Server
Printing client
Remote Desktop Clients
SNMP Support
Scientific support
Security Tools
Server Platform
Server Platform Development
Smart card support
Storage Availability Tools
System Management
System administration tools
TeX support
Technical Writing
TurboGears application framework
Virtualization
Virtualization Client
Virtualization Platform
Virtualization Tools
Web Server
Web Servlet Engine
Web-Based Enterprise Management
X Window System
Xfce
iSCSI Storage Client
Done
sudo lshw -C display
*-display
description: 3D controller
product: GM107M [GeForce GTX 860M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:28 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:29 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64) memory:c0000-dffff
Regards,
Christian
Hi Don,
Please enable the additional extras and optional channels and recheck whether yum shows all groups :
sudo subscription-manager repos --enable rhel-7-server-extras-rpmssudo subscription-manager repos --enable rhel-7-server-optional-rpms
sudo yum updatesudo yum group list
I'm not sure if the customer support can help you with the graphics - because this is hardware related.
Regards,
Christian
Well Don, to be honest, I am really running out of ideas - but I want to do you a favor and thus created a presentation showing every step of the installation process, so that you can compare it with the steps you have made and sort out every possible potential root cause ... I hope it helps. :) Please note that I have used exactly the same installation file.
Presentation / Slides -> Red Hat Enterprise Linux Installation Guide
Regards,
Christian
Is there a clue in "There is no installed groups file"?
No Don, I don't think so, because you didn't install any group after the system installation.
Please read this discussion on the CentOS forums : yum - about "no installed groups file"
Regards,
Christian
Hi Don,
When all attempts to get the intel graphics working fail, maybe these intel graphics drivers can solve the problem ... just an idea ... :)
Regards,
Christian
Thanks for the response Don,
"If Ubuntu can do it I'm sure Redhat can" - you are not too optimistic : Red Hat can !
As I told you before I have tested RHEL 7.4 on a 4th gen intel and everything works.
By the way, the same is valid for CentOS 7.4, fedora 26 and Ubuntu 17.04 of course.
Regards,
Christian
This is what Intel has to say about it on https://www.intel.com/content/www/us/en/support/graphics-drivers/000005520.html Graphics Drivers for Linux*
Last Reviewed: 11-Jul-2017
Article ID: 000005520
Linux users
Most Linux-based* distributions include Intel® Graphics Drivers. Contact your operating system vendor (OSV) and use their distribution for driver access and support.
Linux developers
Intel Graphics Drivers for Linux* are available in source form. The Intel Graphics for Linux site describes other ways you can obtain drivers.
So first see if there is a driver from Red Hat.
One thing that confuses me a little bit, Don : In the beginning you said "I've managed to corrupt the GNOME interface." This means that the intel drivers must have worked - right ? And then you said "I did a yum group remove and installed GNOME Desktop". This means that the group must have been available - right ? What was the difference in your approaches between the first (successful) installation and the failing reinstall attempts ?
Regards,
Christian
Hi Don,
Unfortunately I have no idea what else could be done from my side. The main difference is that we have different hardware, so what works on my machine mustn't necessarily work on your machine. To further troubleshoot your issues I would need to sit in front of your machine, which isn't possible. Honestly, I have to say that I nearly never have seen graphics issues with only intel drivers being in use, most of the graphics problems occur on machines with hybrid graphics. Sorry Don, as you may have noticed, I've really tried my best to help you fixing the issues, but at this point I'm getting stuck.
Regards,
Christian
Hi Jan Gerrit,
Can you please have a deeper look into this discussion ? I've already suggested what should have solved the problems. As I know from your generally helpful and useful contributions, you are having a huge amount of advanced experience and often are having great additional ideas. Maybe you have one in this case too ? That would be very kind of you - thank you very much in advance ! :)
Regards,
Christian
You're welcome Don, great that you've found a workaround solving the display issue.
Regarding the group software packages, which subscription exactly did you attach ?
I am asking because Red Hat provides different software depending on subscription.
So this might be the explanation for the differences in the availability of packages. :)
Regards,
Christian
Don, I am having the Red Hat Enterprise Linux Developer Suite subscription attached, which includes this software :
Red Hat Software Collections (for RHEL Server)
Red Hat Container Development Kit
MRG Realtime
Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Beta
Oracle Java (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux High Performance Networking (for RHEL Compute Node)
dotNET on RHEL Beta (for RHEL Server)
Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Resilient Storage (for RHEL Server)
Oracle Java (for RHEL Server)
Red Hat Container Images
Red Hat Enterprise Linux for Real Time
dotNET on RHEL (for RHEL Server)
Red Hat Enterprise Linux Atomic Host
Red Hat S-JIS Support (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Scalable File System (for RHEL Server)
Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Atomic Host Beta
Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
Red Hat Container Images Beta
Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux High Availability (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
Red Hat Enterprise Linux High Performance Networking (for RHEL Server)
Red Hat Developer Toolset (for RHEL Server)
Now compare your subscription with my subscription and in case that you have another one, everything is alright. :)
Regards,
Christian
Yes Don, you are using a server product which hence is mainly focused on server orientated solutions and usage.
I think if you would have subscribed to the desktop or workstation edition, other desktop environments would be available. For official confirmation you can contact the sales support team of course. First I assumed that we were using the same subscription, otherwise I would have told you earlier that the software sources most probably are matching your subscription. The proof that everything works correctly should be, that yum group list returns offerings for environment groups and groups. I think that if yum was broken, nothing would be offered at all ... :)
Regards,
Christian
All,
There seems something wrong with yum group list in RHEL 7.4. If I run yum group list or yum grouplist I do not see a KDE group on a RHEL 7.4 Server installation.
If I run yum groupinstall KDE I get a very long list of rpms to install. About 1.1G of software to install on a server without X-Windows System installed.
Regards,
Jan Gerrit
Pages
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
