SUSE Support

Here When You Need Us

Graphic desktop poor resolution or black screen running on ESXi 6.0

This document (7018820) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12 SP2
SUSE Linux Enterprise Desktop 12 SP2
Xorg and Gnome/GDM installed for graphic desktop.

Situation

The login screen is displayed at a low 800x600 resolution which remains the same on the Gnome desktop after login.  In the Gnome Tools under the display settings the only resolution available is 800x600.

An alternative symptom can be that a black screen with a mouse cursor is displayed rather than the graphic login screen.

Resolution

Make sure the system is updated.  The graphics driver used for running under VMware is vmwgfx and is provided by the kernel-default package.  In addition to the kernel package, make sure the open-vm-tools packages are up to date.

If the problem persists after updating then the next step is to disable KMS (Kernel Mode Setting) for the kernel.

1.  Get to a text based terminal or ssh session on the system and edit (as the root user) /etc/default/grub.

2.  Locate the line starting with "GRUB_CMDLINE_LINUX_DEFAULT=".  At the end of that line, before the ending " add nomodeset.  The line would look similar to this:

GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda1 splash=silent quiet crashkernel=224M-:112M  showopts nomodeset"

Save and exit the editor.

3.  Run grub2-mkconfig to add the change to the grub configuration.  As root:

grub2-mkconfig -o /boot/grub2/grub.cfg

4.  Reboot for the kernel to run with the new parameter.  After the system is booted confirm the parameter was included by running "cat /proc/cmdline" and verify that "nomodeset" shows up correctly.

With nomodeset in place the graphics should be displayed correctly and the display settings should allow a better selection for the resolution.

Cause

Some hardware/driver combinations do not work well with the kernel enabled mode setting.  Turning KMS off for the kernel turns the responsibility over to Xorg and the graphics card driver (in this case vmwgfx).  This problem does not seem to be happening (or at least not reported at this time) with later versions of ESXi (later than 6.0).

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7018820
  • Creation Date: 20-Apr-2017
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.