Graphic display old theme problem in Ubuntu 11.04
-
- Volunteer
- Posts: 590
- Joined: 10. May 2007, 20:03
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu, Windows XP
Graphic display old theme problem in Ubuntu 11.04
Hi,
today I have installed Ubuntu 11.04 guest on Windows XP sp3 host under VirtualBox 4.0.6. I have installed Ubuntu as default and rebooted guest after install. In login screen I have selected "Ubuntu Classic" (this is classical Gnome 2.x desktop) and Ubuntu logged.
What I see I have some kind of problems of graphical card or something. The default display of windows is an old-style window which is not a default Ubuntu style (see e.g. Firefox back and forward buttons).
I have asked the same question on forums.ubuntu.com and got answer that this may be a VirtualBox problem. Any idea if this is VirtualBox problem and if it is how to fix it?
P.S. I have reinstalled Ubuntu one more time and the problem is exactly the same.
Regards
today I have installed Ubuntu 11.04 guest on Windows XP sp3 host under VirtualBox 4.0.6. I have installed Ubuntu as default and rebooted guest after install. In login screen I have selected "Ubuntu Classic" (this is classical Gnome 2.x desktop) and Ubuntu logged.
What I see I have some kind of problems of graphical card or something. The default display of windows is an old-style window which is not a default Ubuntu style (see e.g. Firefox back and forward buttons).
I have asked the same question on forums.ubuntu.com and got answer that this may be a VirtualBox problem. Any idea if this is VirtualBox problem and if it is how to fix it?
P.S. I have reinstalled Ubuntu one more time and the problem is exactly the same.
Regards
- Attachments
-
- screen.png (118.39 KiB) Viewed 34446 times
Last edited by abcuser on 29. Apr 2011, 09:54, edited 2 times in total.
-
- Volunteer
- Posts: 590
- Joined: 10. May 2007, 20:03
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu, Windows XP
Re: Graphic display old theme problem in Ubuntu 11.04
I have solved the problem, I did the following:
1. Install dkms package
2. Install guest additions
3. Check if VirtualBox graphic driver is installed
I have checked the "System | Administration | Additional Drivers" and there is driver
"Oracle VM VirtualBox Guest Additions for Linux Module" which is activated and currently in use, this is OK.
4. Create a xorg.conf file
xorg.conf file does NOT exists on my system (which is OK, because by default this file does not exists anymore):
And copy the following text into the file:
5. Logout and login again
Problem solved
1. Install dkms package
Code: Select all
sudo apt-get install dkms
Code: Select all
cd /media/VBOXADDITIONS_4.0.6_71344
sudo ./VBoxLinuxAddditions.run
sudo reboot
I have checked the "System | Administration | Additional Drivers" and there is driver
"Oracle VM VirtualBox Guest Additions for Linux Module" which is activated and currently in use, this is OK.
4. Create a xorg.conf file
xorg.conf file does NOT exists on my system (which is OK, because by default this file does not exists anymore):
Code: Select all
gksudo gedit /etc/X11/xorg.conf
Code: Select all
Section "Device"
Identifier "Configured Video Device"
Driver "vboxvideo"
EndSection
Problem solved
-
- Volunteer
- Posts: 590
- Joined: 10. May 2007, 20:03
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu, Windows XP
Re: Graphic display old theme problem in Ubuntu 11.04
Hi,
after setting xorg.conf file and log out everything was working fine. But after installing Unity-2d the problem reappears.
I did the following to install Unity 2D:
and logged out and logged in again.
The problem reappears. I have checked the /etc/X11/xorg.conf file and the settings that I have copied in previous thread is still there, but problem with "old theme" reappeared.
There is maybe some bug in VirtualBox that is not supporting Unity-2d, is it? Any idea how to fix this problem?
Thanks
after setting xorg.conf file and log out everything was working fine. But after installing Unity-2d the problem reappears.
I did the following to install Unity 2D:
Code: Select all
sudo apt-get install unity-2d
The problem reappears. I have checked the /etc/X11/xorg.conf file and the settings that I have copied in previous thread is still there, but problem with "old theme" reappeared.
There is maybe some bug in VirtualBox that is not supporting Unity-2d, is it? Any idea how to fix this problem?
Thanks
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Graphic display old theme problem in Ubuntu 11.04
I don't have a problem running 11.04 in either unity, or the fallback unity 2d. Funny thing is the fallback is installed by default called Ubuntu classic but you say you had to actually install it.
I also checked to be certain and I do not have an xorg.conf. That being said it could indicate the problem. What video card are you using on your host?
I also checked to be certain and I do not have an xorg.conf. That being said it could indicate the problem. What video card are you using on your host?
-
- Volunteer
- Posts: 590
- Joined: 10. May 2007, 20:03
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu, Windows XP
Re: Graphic display old theme problem in Ubuntu 11.04
After installing Ubuntu 11.04 there are two shells installed (if you ignore rescue shells). Default shell is named Ubuntu, this is Unity shell (sometimes referred as Unity 3D). Second is Ubuntu Classic which is actually Ubuntu with Gnome 2.x shell. If you would like to have a Unity 2D shell, you have to installed it separately!, it is not included in default install, nor on install CD. So I am little bit confused, that you have written, that you did not need to install it. (I have attached print-screen of Ubuntu login window)Perryg wrote:I don't have a problem running 11.04 in either unity, or the fallback unity 2d. Funny thing is the fallback is installed by default called Ubuntu classic but you say you had to actually install it.
I also didn't have a xorg.conf file after default install, but I have created it manually, because this is my very old virtualbox note: if video-card problem appears then create xorg.conf file etc. But now I have tested several options. With or without this file my video is not working correctly. By the way, Unity 2D worked fine in Ubuntu 10.10 using VirtualBox 4.0.6.Perryg wrote:I also checked to be certain and I do not have an xorg.conf.
My graphic card on host is "Intel Mobile 945gm".Perryg wrote:That being said it could indicate the problem. What video card are you using on your host?
- Attachments
-
- login_screen.png (18.46 KiB) Viewed 33876 times
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Graphic display old theme problem in Ubuntu 11.04
OK I see what you are referring to now. Sorry for my confusion.
I will install the 2D and see what happens. IIRC though the Intel 945 series always had issues and needed to have a driver upgrade to work properly if it was going to work at all. That could be why I do not have this issue as I am using nVidia.
I will install the 2D and see what happens. IIRC though the Intel 945 series always had issues and needed to have a driver upgrade to work properly if it was going to work at all. That could be why I do not have this issue as I am using nVidia.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Graphic display old theme problem in Ubuntu 11.04
That works too. I would suspect the hosts video card.
-
- Posts: 4
- Joined: 25. Apr 2011, 10:48
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Windows 7, Ubuntu 10.10
- Location: Bor, Serbia
Re: Graphic display old theme problem in Ubuntu 11.04
Hi abcuser, I had the same, very frustrating problem after installing Ubuntu 11.04 on VirtualBox`s virtual machine, but luckily, after some (a lot, actually :P) googling, I solved it successfully ;) (without a need to install Unity 2d)
After this, your theme should refresh, and stay good... well, for good ;)
Please have in mind that I`m pretty new to both VirtualBox and Linux, but this worked for me on two different computers (desktop and laptop). If it doesn`t for you, I`m sorry :( ... but I hope it will work :)
Here is Ubuntu 11.04 with Unity on my Windows XP SP3 (32 bit) host (click to enlarge):
- First, make sure you have VirtualBox 4.0.6 (latest version).
- Create a new virtual machine, choose Linux > Ubuntu as OS
- After creating the machine, go to Settings > Display and check (tick) "Enable 3d Acceleration"
- Run the machine, install Ubuntu 11.04
- Once you have Ubuntu up and running (don`t pay attention if Unity is still not working right), open terminal (Ctrl + Alt + T) and type:
, press Enter, wait for reboot
Code: Select all
sudo apt-get update; sudo apt-get install virtualbox-ose-guest-utils -y; sudo reboot
- Just to be sure that Unity is the chosen one, log out, select your user, select "Ubuntu" in the drop-down menu (abcuser gave the picture), and log-in again.
Code: Select all
sudo gnome-settings-daemon
Please have in mind that I`m pretty new to both VirtualBox and Linux, but this worked for me on two different computers (desktop and laptop). If it doesn`t for you, I`m sorry :( ... but I hope it will work :)
Here is Ubuntu 11.04 with Unity on my Windows XP SP3 (32 bit) host (click to enlarge):
-
- Posts: 7
- Joined: 2. Dec 2009, 16:52
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Ubuntu 10.04 32-bit
Re: Graphic display old theme problem in Ubuntu 11.04
The two above fixes failed to work for me.
Fix attempt 1:
Result: Works 100% until the user reboots the box.
Fix attempt 2:
Result: Works until you open a window and see the theme inside the window.
Fix attempt 1:
Code: Select all
sudo apt-get update; sudo apt-get install virtualbox-ose-guest-utils -y; sudo reboot
Fix attempt 2:
Code: Select all
sudo gnome-settings-daemon
-
- Volunteer
- Posts: 590
- Joined: 10. May 2007, 20:03
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu, Windows XP
Re: Graphic display old theme problem in Ubuntu 11.04
I have tested several options and at my computer it works if I type command:
(note: without 'sudo')
but this works until reboot. I have tried several different methods to run this command at start-up, but it never did successfully. It looks like this command should be executed very very late at boot process. Any idea how to start-up this command on Ubuntu reboot?
Code: Select all
killall gnome-settings-daemon ; gnome-settings-daemon
but this works until reboot. I have tried several different methods to run this command at start-up, but it never did successfully. It looks like this command should be executed very very late at boot process. Any idea how to start-up this command on Ubuntu reboot?
-
- Volunteer
- Posts: 590
- Joined: 10. May 2007, 20:03
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu, Windows XP
Re: Graphic display old theme problem in Ubuntu 11.04
I have tested in deep and the following programs started to display correctly:
- Firefox,
- terminal.
But the following still does not work (old theme):
- Nautilus
- right click on desktop
It is strange, some applications are displayed correctly and some are not.
Any idea how to fix this problem?
- Firefox,
- terminal.
But the following still does not work (old theme):
- Nautilus
- right click on desktop
It is strange, some applications are displayed correctly and some are not.
Any idea how to fix this problem?
Last edited by abcuser on 2. May 2011, 07:16, edited 1 time in total.
-
- Posts: 7
- Joined: 10. Feb 2008, 15:22
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Elementary
- Location: Brazil
- Contact:
Re: Graphic display old theme problem in Ubuntu 11.04
I have the same problem of abcuser.
I tried isntall all package theme.
And the appearence is the same.
Any ideas?
[]'s
j.
I tried isntall all package theme.
And the appearence is the same.
Any ideas?
[]'s
j.
-
- Posts: 13
- Joined: 2. May 2011, 05:32
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Debian, Xubuntu, Windows XP
Re: Graphic display old theme problem in Ubuntu 11.04
Ok. I'm running Ubuntu 11.04 on virtualbox 4.0.6 too and had the same problem. BUT this solution worked for me and it seems the theme remains stable so far.
Let's get started:
Open a terminal window, go to your home folder (don't forget that) and type:
sudo gedit .gtkrc-2.0 (DO NOT forget the dot in the beginning of the filename)
Type your password and when gedit opens copy/paste the following two entries in that new file.
include "/usr/share/themes/Ambiance/gtk-2.0/gtkrc"
gtk-icon-theme-name = "ubuntu-mono-dark"
The second line will fix the icons in Nautilus.
Save the file, close gedit and restart your VM and...
Let's hope it'll work for you too guys although I think it locks the system to use Ambiance only, I think. Maybe you should experiment with the word Ambiance in the 1st line and use another theme name instead, and another icon name in the 2nd line and see what happens. Most probably, you must relogon or restart after every change. The quotes in both lines MUST be included.
Thank you!
Let's get started:
Open a terminal window, go to your home folder (don't forget that) and type:
sudo gedit .gtkrc-2.0 (DO NOT forget the dot in the beginning of the filename)
Type your password and when gedit opens copy/paste the following two entries in that new file.
include "/usr/share/themes/Ambiance/gtk-2.0/gtkrc"
gtk-icon-theme-name = "ubuntu-mono-dark"
The second line will fix the icons in Nautilus.
Save the file, close gedit and restart your VM and...
Let's hope it'll work for you too guys although I think it locks the system to use Ambiance only, I think. Maybe you should experiment with the word Ambiance in the 1st line and use another theme name instead, and another icon name in the 2nd line and see what happens. Most probably, you must relogon or restart after every change. The quotes in both lines MUST be included.
Thank you!
Nothing worth doing is easy!
-
- Volunteer
- Posts: 590
- Joined: 10. May 2007, 20:03
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu, Windows XP
Re: Graphic display old theme problem in Ubuntu 11.04
alexsecret, I have removed all my previous "hacks" and follow your step-by-step instructions and it works fine for me for all applications I have tried out. Excellent, problem solved. Thanks a lot for help.
Just wondering, is this a VirtualBox problem or Ubuntu problem?
Just wondering, is this a VirtualBox problem or Ubuntu problem?
-
- Posts: 13
- Joined: 2. May 2011, 05:32
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Debian, Xubuntu, Windows XP
Re: Graphic display old theme problem in Ubuntu 11.04
abcuser wrote:alexsecret, I have removed all my previous "hacks" and follow your step-by-step instructions and it works fine for me for all applications I have tried out. Excellent, problem solved. Thanks a lot for help.
Just wondering, is this a VirtualBox problem or Ubuntu problem?
I am glad it worked for you too!
It seems it's a Ubuntu 11.04 bug because it happens to many standalone installations and on different graphics cards. What bothers me is that it was happening since the beta versions and it seems it's not fixed on the final unfortunately!
Nothing worth doing is easy!