LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-27-2008, 06:17 AM   #1
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
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
 
Old 04-27-2008, 07:01 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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").
 
Old 04-27-2008, 07:24 AM   #3
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Original Poster
Rep: Reputation: 37
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.
 
Old 04-27-2008, 08:27 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Have you tried removing ~/.googleearth?
 
Old 04-27-2008, 08:34 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.
 
Old 04-27-2008, 11:39 AM   #6
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Original Poster
Rep: Reputation: 37
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.
 
Old 04-30-2008, 01:18 AM   #7
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Original Poster
Rep: Reputation: 37
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.
 
Old 08-14-2008, 07:59 PM   #8
anthonyjudd
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
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.
 
Old 08-03-2010, 02:19 PM   #9
Braiinless
LQ Newbie
 
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
Talking

Quote:
Originally Posted by anthonyjudd View Post
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
 
  


Reply

Tags
google



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Ultimate Sudo FAQ — To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 01:36 AM
GoogleEarth JanVYW Linux - General 1 01-28-2008 03:07 PM
GoogleEarth and SuSE10.1 riba43 SUSE / openSUSE 4 09-10-2006 03:50 AM
GoogleEarth wont load android6011 Linux - Software 3 08-05-2006 02:45 PM
How to uninstall googleearth bt198629 Fedora 3 07-19-2006 06:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration