Rendering of GUI x11

EdStevens

    Ok, I've created scores of VMs on Windows hosts, but now I'm into new territory.  Just got a new laptop, purpose-built with Ubuntu.  Installed Vbox.  Created a VM running OL6.  Easy-peasy, just like doing it in Windows.  Installed the guest additions, with the following results:

     

    [root@vblnx6-01 cdrom]# ./VBoxLinuxAdditions.run 
    Verifying archive integrity... All good. 
    Uncompressing VirtualBox 5.1.8 Guest Additions for Linux........... 
    VirtualBox Guest Additions installer 
    Removing installed version 5.1.8 of VirtualBox Guest Additions... 
    vboxadd-service.sh: Stopping VirtualBox Guest Addition service. 
    vboxadd.sh: Stopping VirtualBox Additions. 
    Copying additional installer modules ... 
    Installing additional modules ... 
    vboxadd.sh: Building Guest Additions kernel modules. 
    vboxadd.sh: Starting the VirtualBox Guest Additions. 
    
    Could not find the X.Org or XFree86 Window System, skipping. 
    [root@vblnx6-01 cdrom]#
    

     

    Not sure what to do about line 13, but since this is a first-trial, decided to press on.  Was able to mount a couple of host shared directories, exactly like I do with a windows host.  No problems there.

     

    Then, from the host desktop (Ununtu, running the Cinnamon desktop) connected to the VM with putty.  Went to one of the mounted host share directories to unzip the installation media for Oracle dbatabase.  Couldn't unzip it in place as 'oracle' because the directory permissions were 775, when on a Windows host they are 777.  Pressing, on I created a 'download' directory in the root of the vm, owned by oracle:oinstall and unzipped there.  Now things got totally unworkable.  The Installer launched, but the first dialog screen looks like this:

     

    As you can see, a lot of missing text.  I'm guessing it might have to do with missing fonts, possibly related to the error produced when installing Guest Addtions, but I'm out of ideas on how to proceed.

      • 1. Re: Rendering of GUI x11
        Dude!

        Seems like you you have a combination of problems. I'm not saying that it does or doesn't, but the missing text in the installer window does not necessarily have to be font related, but can also be a problem of the video driver, screen resolution or an issue with 2D/3D hardware acceleration not functioning properly.

         

        1. What version of Ubuntu do you have installed?

         

        2. Where did you attempt to install the guest additions, vm or host system?

         

        I don't see why you would need any video driver, unless you attempt to display x11 app inside the VM guest system, hence using the X11 server inside the guest system. If I remember correctly, you can run the vbox guest additions installer using the -nox11 parameter to skip installing a video driver.

         

        3. How did you invoke the oracle installer exactly.

         

        Are you using PuTTy on Ubuntu, using X11 forwarding? It is certainly possible that Ubuntu does not have some of the Xorg bitmap fonts installed, but as far as I understand, it should not be necessary and scalable outline fonts are preferred.

         

        Perhaps it might be worth trying to change your screen resolution to see if it affects the displaying of text.

        • 2. Re: Rendering of GUI x11
          Dude!

          By the way, you might want to check the following:

           

          xorg - How do I fix fonts not rendering and missing letters? - Ask Ubuntu

          • 3. Re: Rendering of GUI x11
            EdStevens

            Dude! wrote:

             

            Seems like you you have a combination of problems. I'm not saying that it does or doesn't, but the missing text in the installer window does not necessarily have to be font related, but can also be a problem of the video driver, screen resolution or an issue with 2D/3D hardware acceleration not functioning properly.

             

            1. What version of Ubuntu do you have installed?

             

            Ubuntu 16.04 LTS

             

            2. Where did you attempt to install the guest additions, vm or host system

            On the Oracle Linux vm guest.  (wondering why one would vb guest additions on the host?)

             

             

            I don't see why you would need any video driver, unless you attempt to display x11 app inside the VM guest system, hence using the X11 server inside the guest system. If I remember correctly, you can run the vbox guest additions installer using the -nox11 parameter to skip installing a video driver.

            Hmm. well, the x11 app is the Oracle db installer (runInstall)  I'm treating this just like I do all of my Linux vm's on a Windows host, as well as all of my physical Linux servers in my data center.  The x11 app forwards to an x-server running on the host desktop.  With a windows host, that is xming.  Now, on this Ubuntu host, no additional x-server needed as that is part and parcel of runnning a *nix with a GUI desktop.  It's my understanding that the GUI desktop of a linux machine is just x-11 as well.

             

            3. How did you invoke the oracle installer exactly.

            Just like any other time ...

            [oracle@vblnx6-01 OracleDatabase_112010]$ cd database 
            [oracle@vblnx6-01 database]$ ll 
            total 36 
            drwxr-xr-x. 12 oracle oinstall 4096 Aug 17  2009 doc 
            drwxr-xr-x.  4 oracle oinstall 4096 Aug 15  2009 install 
            drwxrwxr-x.  2 oracle oinstall 4096 Aug 15  2009 response 
            drwxr-xr-x.  2 oracle oinstall 4096 Aug 15  2009 rpm 
            -rwxr-xr-x.  1 oracle oinstall 3226 Aug 15  2009 runInstaller 
            drwxrwxr-x.  2 oracle oinstall 4096 Aug 15  2009 sshsetup 
            drwxr-xr-x. 14 oracle oinstall 4096 Aug 15  2009 stage 
            -rw-r--r--.  1 oracle oinstall 5402 Aug 17  2009 welcome.html 
            [oracle@vblnx6-01 database]$ ./runInstaller 
            Starting Oracle Universal Installer...
            

             

             

            Are you using PuTTy on Ubuntu, using X11 forwarding? It is certainly possible that Ubuntu does not have some of the Xorg bitmap fonts installed, but as far as I understand, it should not be necessary and scalable outline fonts are preferred.

            Yes, putty on the Ubunto host, with x11 forwarding.  Also, fwiw, tried simply 'ssh -x oracle@myguest'.  Same result.  The GUI installer came up (proving that the x11 forwarding is fundamentally working), but some text in the windows not rendering.

             

             

            Perhaps it might be worth trying to change your screen resolution to see if it affects the displaying of text.

            Will give that a shot, though given my current resolution (which otherwise is ideal) that would not be an ideal solution. 

             

            -- follow up - tried 3 different screen resolutions.  No effect.

            • 4. Re: Rendering of GUI x11
              EdStevens

              OK, I've tried several different screen resolutions, and several desktops, (Cinnamon, gnome, Unity) with no change. So let's go back a step and focus on the issue while installing the guest additions.

               

              Again, the installation of guest additions returned "

               

              vboxadd.sh: Starting the VirtualBox Guest Additions. 

              Could not find the X.Org or XFree86 Window System, skipping.

               

              But it appears the package installed on the host.

              # dpkg -l xorg
              Desired=Unknown/Install/Remove/Purge/Hold
              | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
              |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
              ||/ Name          Version      Architecture Description
              +++-==============-============-============-=================================
              ii  xorg          1:7.7+13ubun amd64        X.Org X Window System
              #
              

               

              And on the guest:

              [root@vblnx6-01 ~]# yum list installed |grep org
              xorg-x11-drv-ati-firmware.noarch   7.5.99-3.el6               @anaconda-OracleLinuxServer-201507280245.x86_64/6.7
              xorg-x11-font-utils.x86_64         1:7.2-11.el6               @anaconda-OracleLinuxServer-201507280245.x86_64/6.7
              xorg-x11-fonts-Type1.noarch        7.2-11.el6                 @anaconda-OracleLinuxServer-201507280245.x86_64/6.7
              xorg-x11-utils.x86_64              7.5-6.el6                  @anaconda-OracleLinuxServer-201507280245.x86_64/6.7
              xorg-x11-xauth.x86_64              1:1.0.2-7.1.el6            @anaconda-OracleLinuxServer-201507280245.x86_64/6.7
              [root@vblnx6-01 ~]# 
              
              • 5. Re: Rendering of GUI x11
                Dude!

                Have you tried installing the guest additions using "-nox11" parameter?

                 

                Did you check my 2nd post, which shows a link to the Ubuntu discussion forum, how to disable font aliasing, etc.

                • 6. Re: Rendering of GUI x11
                  EdStevens

                  I've just completed what should be a definitive test of where the problem lies, but I'm at a loss as to the fix.

                   

                  Here's the setup . . .

                  Two physical machines - call them winhost and lnxhost.

                  winhost running Win7 Home Premium, 64 bit.  This has been my personal  laptop for about 3 years and on which I have created several vm's under VBox.

                  lnxhost is running Ubuntu 16.04 LTS, 64 bit.  This is my new Linux laptop.

                   

                  On each physical machine I create identical VM's.  2048 mb ram, 20 gb disk, two NICs.  First NIC is NAT, the second is bridged, on the wifi network.  On each, installed OL 6 and configured eth1 (the bridged adapter) with a fixed IP address.  All options installing the OS were identical, and except for the IP address on eth1, all default options taken.  Even though they are both running OL, let's call the one running on winhost  'winguest' and the one running on lnxhost, 'lnxguest'.

                   

                  Once both vms were up and running, I established an ssh (putty) session to each, from each of the host desktops.  lnxhost can ssh to both lnxguest and winguest, and winhost can ssh to both lnxguest and winguest.

                   

                  Results:

                  On winhost, ssh to winguest and launch runInstaller.  GUI interface is perfectly normal.

                  On winhost, ssh to lnxguest and launch runInstaller.  GUI interface is perfectly normal.

                  On lnxhost, ssh to winguest and launch runInstaller.  GUI interface is "broken", as shown in my original post.

                  On lnxhost, ssh to lnxguest and launch runInstaller.  GUI interface is "broken", as shown in my original post.

                   

                  From the above I conclude that the problem is not with the guest OS configuration, nor with what OS is hosting the guest.

                  Since even the "broken" gui is showing the overall window and some text,  I'm strongly leaning toward the idea of some required font package that is missing from lnxhost.

                   

                  I feel I've also eliminated any VBox issues, which takes it out of the subject of this space, but since I started here ....  I'll be glad to post in some other space, or even an entirely different forum if anyone has good suggestion.   I've previously posted in an Ubuntu forum, and just updated that thread with the same information as in this post, but given past reaction , am not hopeful of getting any help there.

                  • 7. Re: Rendering of GUI x11
                    Dude!

                    If you're using putty to run the Oracle installer on winguest and lnxguest you are using X11 forwarding. The X server that is used in both cases must therefore run on your host system winhost and lnxhost.

                     

                    Have you compared the virtual machine settings of lnxguest and winguest? In particular regarding the configuration of display memory and hardware acceleration? Are the settings identical? Have you tried to turn off any 2D/3D support?

                     

                    If the VM settings are the same, there could still be an issue with the X server or system video driver on lnxhost. Did you try to disable anti-aliasing on the Ubuntu system as outlined earlier?

                     

                    Have you tried using VNC instead, which you can easily tunnel through SSH?

                    • 8. Re: Rendering of GUI x11
                      EdStevens

                      Dude! wrote:

                       

                      If you're using putty to run the Oracle installer on winguest and lnxguest you are using X11 forwarding. The X server that is used in both cases must therefore run on your host system winhost and lnxhost.

                       

                      The x-server on winhost is xming.  On lnxhost it is whatever is native to that linux installation.  It is my understanding that the graphical desktop on a linux box is itself x-11, so if the host is running at run level 5, not 'extras' (like xming) are needed.

                       

                      Have you compared the virtual machine settings of lnxguest and winguest? In particular regarding the configuration of display memory and hardware acceleration? Are the settings identical? Have you tried to turn off any 2D/3D support?

                       

                      The only difference in display settings is that winhost defaulted to video memory of 12 mb, while lnxhost defaulted to 16 mb.  I didn't catch that difference when creating them, but rather doubt that it would affect this.  I'm willing to be proven wrong.

                       

                      Also worth mentioning is that the versions of VBox itself is not the same.  On winhost it is 5.0.30 r112061, while on lnxhost it is 5.1.10 r112026.  When checking for updates, they both report they are the latest.

                       

                      As for 2d/3d acceleration, they are both off by default, but I've tried it both ways and no impact.

                       

                       

                      If the VM settings are the same, there could still be an issue with the X server or sstem video driver on lnxhost. Did you try to disable anti-aliasing on the Ubuntu system as outlined earlier?

                       

                      I have not yet, that will be my next line of attack.  I wanted to make sure that everything else was eliminated first, particularly to get this side-by-side test where I could the same machine (not just a supposedly "identical" machine) from either host.

                       

                       

                      Have you tried using VNC instead, which you can easily tunnel through SSH?

                      I have not.  It's been years since I last used VNC (very early in my linux learning).  At this point it's not just a matter of finding a way to get OUI to display correctly, but satisfying my curiosity about why this method is not working -- when it very well should.

                      • 9. Re: Rendering of GUI x11
                        EdStevens

                        Update.

                        1) I tried to follow the discussion linked to the Ubuntu forum (askubuntu.com).  Was not able to get the 'ubuntu-tweak' package.  Posted my own question at that site and got a suggestion to download the MS TrueType fonts.  Took a bit of work there, but finally got them installed.  And that did not fix the issue.

                         

                        2) As another experiment, I created a vm running Win7.  When I used that vm as my desktop to run the oracle installer on the linux vm, the interface rendered properly.  I did this both from the direct vbox console to the Windows vm, and using Remmina as a remote desktop from the Ubuntu host to the Windows vm.  I'm not sure what this proves, if anything, but find it interesting.

                        • 10. Re: Rendering of GUI x11
                          Dude!

                          I still suspect a problem with font rendering and anti-aliasing on your Linux Ubuntu host, which might be a combination of problems involving the X server / GUI platform and video driver on the Ubuntu side.

                           

                          Was not able to get the 'ubuntu-tweak' package.

                          Have you seen How can I install Ubuntu tweak on Ubuntu 16.04 - Ask Ubuntu

                           

                          Sadly, pretty much very OS vendor has gone mad during the last few years - changes for the sake of changes without paying any respect to software quality and usability. 30 years ago it was challenge to draw anything nice using a pixel matrix, now we end up having the same result in higher resolutions.

                           

                          Have you tried rebuilding the fonts cache on Ubuntu? Can you try a older version of Ubuntu on your Laptop, like Ubuntu 14.

                          • 11. Re: Rendering of GUI x11
                            EdStevens

                            Dude! wrote:

                             

                            I still suspect a problem with font rendering and anti-aliasing on your Linux Ubuntu host, which might be a combination of problems involving the X server / GUI platform and video driver on the Ubuntu side.

                             

                            Was not able to get the 'ubuntu-tweak' package.

                            Have you seen How can I install Ubuntu tweak on Ubuntu 16.04 - Ask Ubuntu

                             

                            Sadly, pretty much very OS vendor has gone mad during the last few years - changes for the sake of changes without paying any respect to software quality and usability. 30 years ago it was challenge to draw anything nice using a pixel matrix, now we end up having the same result in higher resolutions.

                             

                            Have you tried rebuilding the fonts cache on Ubuntu? Can you try a older version of Ubuntu on your Laptop, like Ubuntu 14.

                            I had not seen that link.  Will follow up the next chance I get .. may be a few days.

                            I'll also research how to rebuild the fonts cache.

                            Trying an older version is really not an option.  At least not on this machine.  It's a purpose-built Ubuntu machine (System76) and I'd be loathe to install something else.  One of the reasons I went that way - as opposed to buying a cheap Windows machine for the purpose of installing Ubuntu myself - was to have some assurance that the hardware and driver combinations were correct.  I do have an old 'throw-away' Toshiba laptop that I used for my initial evaluations and testing of Ubuntu (as well as some other Linux products) but it didn't support virutalization, so was unable to test Vbox on that.

                            • 12. Re: Rendering of GUI x11
                              MarkPW

                              I am attempting to install Oracle 12c onto OpenSUSE - no VMs involved - and I'm running into the same missing text issue. My install window looks identical to the screenshot posted by the original poster. I've run ssh -X oracle@localhost before running ./runInstall, and I've confirmed that xclock is working. Well, that's where I'm at currently.

                              • 13. Re: Rendering of GUI x11
                                EdStevens

                                MarkPW wrote:

                                 

                                I am attempting to install Oracle 12c onto OpenSUSE - no VMs involved - and I'm running into the same missing text issue. My install window looks identical to the screenshot posted by the original poster. I've run ssh -X oracle@localhost before running ./runInstall, and I've confirmed that xclock is working. Well, that's where I'm at currently.

                                Interesting.

                                I haven't looked at it in a while, but am planning on comparing the java installations on my problem machine vs. the one that is working correctly.

                                My current work-around is that I have installed Win7 in a VM, and use that when I need to run OUI on one of my Linux vm's.

                                 

                                I'm beginning to think this is something that should be raised with Oracle.  I think I'll start poking around on MOS.

                                • 14. Re: Rendering of GUI x11
                                  MarkPW

                                  Maybe I'll try your workaround - thanks for mentioning it. Hope you find something!

                                  1 2 3 上一个 下一个