Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-27-2008, 06:17 AM
|
#1
|
Member
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353
Rep:
|
sudo googleearth - weird
Hi everyone,
Running Ubuntu Hardy Heron (8.04),
I have just installed Google Earth and have found some weird behaviour with it. Wondering if someone knows the solution.
When I launch Google Earth from either a desktop icon or from the application menu, the Google Earth splash screen appears, then the application appears but then something odd happens. The 'tips' window does not appear and not planet Earth appears. I can see the stars and move around what appears to be the universe, but there is no planet Earth to be found.
Also, the options are all greyed out in the options menu.
BUT...If I type in: sudo googleearth from a command line, then Google Earth works perfectly.
I have tried chmodding /usr/local/google-earth with 777 but that makes no difference. I still find myself having to sudo googleearth.
Strange, hope someone here can help.
Regards,
Greenie
|
|
|
04-27-2008, 07:01 AM
|
#2
|
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847
Rep: 
|
I think you're seeing the stars and sky because you're in the "sky" mode. Click on View > Switch to Earth. That should get you back to the default setting of looking down, rather than up.
The reason it works OK when you run it with sudo is that you're then running it as root, using root's google earth preferences (which haven't been changed to "sky").
|
|
|
04-27-2008, 07:24 AM
|
#3
|
Member
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353
Original Poster
Rep:
|
Quote:
I think you're seeing the stars and sky because you're in the "sky" mode
|
No its not. Besides why would all the options be greyed out if that was just the case.
Quote:
The reason it works OK when you run it with sudo is that you're then running it as root, using root's google earth preferences (which haven't been changed to "sky").
|
No thats not the reason.
I accept that there is a permissions problem somewhere, but I have chmodded all the files directly related to googleearth that I know of, which should resolve permissions problems, but alas, I cannot run Google Earth properly from the applications menu, I can only run it properly by typing sudo googleearth.
Also, when Google Earth appears to be having this problem, it appears that it cannot sign in to the Google Earth server either. But it will sign in when running Google Earth with sudo.
|
|
|
04-27-2008, 08:27 AM
|
#4
|
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847
Rep: 
|
Have you tried removing ~/.googleearth?
|
|
|
04-27-2008, 08:34 AM
|
#5
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
In the GUI, look at the actual command that is being used--it may be passing some parameters. You can typically see the actual command by rt-clicking on the launcher and going to properties or configure.
|
|
|
04-27-2008, 11:39 AM
|
#6
|
Member
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353
Original Poster
Rep:
|
Looked at the Launcher settings for the icon. No parameters are being passed.
Do you think it could be permissions on a device in /dev that could be causing the problem? It seems it doesn't want to or rather cannot, contact the Google Earth server.
|
|
|
04-30-2008, 01:18 AM
|
#7
|
Member
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353
Original Poster
Rep:
|
After a bit of googling, it appears that other users are also having this problem.
Example, see this thread: http://groups.google.com/group/earth...a0fe2595f18de#
In the above thread, someone mentions to install lib32nss-mdns. But this is in the case of a 64 bit version of Ubuntu.
This package does not exist for the 32 bit version, which package would be the equivalent for the 32bit version of Hardy Heron?
Also hoping that someone else may have seen this problem by now and know of a fix.
|
|
|
08-14-2008, 07:59 PM
|
#8
|
LQ Newbie
Registered: Aug 2008
Posts: 1
Rep:
|
sudo googleearth - wierd
Hi found this answer at tombuntu.com.
Here’s how to fix the “only works with sudo” problem
in your homedir, cd .config/Google, then do ’sudo chown [you user name] GoogleEarthPlus.conf’
Next time you run googleearth, it’ll show you an error message about not being able to write to /root/.googleearth, and that it will use your homedir instead…
This worked great for me on Hardy.
|
|
|
08-03-2010, 02:19 PM
|
#9
|
LQ Newbie
Registered: Aug 2010
Posts: 1
Rep:
|
Quote:
Originally Posted by anthonyjudd
Hi found this answer at tombuntu.com.
Here’s how to fix the “only works with sudo” problem
in your homedir, cd .config/Google, then do ’sudo chown [you user name] GoogleEarthPlus.conf’
Next time you run googleearth, it’ll show you an error message about not being able to write to /root/.googleearth, and that it will use your homedir instead…
This worked great for me on Hardy.
|
It worked for me too. Using Ubuntu 10.04 - the Lucid Lynx
Thanks
|
|
|
All times are GMT -5. The time now is 10:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|