Thursday, April 28, 2016

GUI is not working on Linux RedHat 6.7 and 6.8 after yum update machine on virtual box

I have recently done yum update on my virtual machine running from Virtual box with RedHat Linux 6.7 and 6.8 .

The out come was as below, GUI was blank.


Looks like some issues in X. The solution is simple just move the xorg.conf file as below and restart the virtual machine.

[root@racdr1 ~]# ls -lah /etc/X11/xorg.conf
-rw-r--r--. 1 root root 534 Apr 22 16:07 /etc/X11/xorg.conf
[root@racdr1 ~]#
[root@racdr1 ~]#
[root@racdr1 ~]#
[root@racdr1 ~]# cat /etc/X11/xorg.conf
# VirtualBox generated configuration file
# based on /etc/X11/xorg.conf.

Section "Monitor"
  Identifier   "Monitor[0]"
  ModelName    "VirtualBox Virtual Output"
  VendorName   "Oracle Corporation"
EndSection

Section "Device"
  BoardName    "VirtualBox Graphics"
  Driver       "vboxvideo"
  Identifier   "Device[0]"
  VendorName   "Oracle Corporation"
EndSection

Section "Screen"
  SubSection "Display"
    Depth      24
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection
[root@racdr1 ~]#
[root@racdr1 ~]#



[root@racdr1 ~]# mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
[root@racdr1 ~]# shutdown -r now



No comments: