Google 地球已停止运行

Google 地球已停止运行

当从终端运行时我得到这个

Failed to load "/opt/google/earth/free/libmeasure.so" because "/opt/google/earth/free/libmeasure.so: cannot open shared object file: Too many open files"
Failed to load "/opt/google/earth/free/libprintmodule.so" because "/opt/google/earth/free/libprintmodule.so: cannot open shared object file: Too many open files"
Failed to load "/opt/google/earth/free/libwebbrowser.so" because "/opt/google/earth/free/libwebbrowser.so: cannot open shared object file: Too many open files"
Failed to load "/opt/google/earth/free/libgps.so" because "/opt/google/earth/free/libgps.so: cannot open shared object file: Too many open files"
Failed to load "/opt/google/earth/free/libbasicingest.so" because "/opt/google/earth/free/libbasicingest.so: cannot open shared object file: Too many open files"
Failed to load "/opt/google/earth/free/libsearchmodule.so" because "/opt/google/earth/free/libsearchmodule.so: cannot open shared object file: Too many open files"
Failed to load "/opt/google/earth/free/libinput_plugin.so" because "/opt/google/earth/free/libinput_plugin.so: cannot open shared object file: Too many open files"
Failed to load "/opt/google/earth/free/libflightsim.so" because "/opt/google/earth/free/libflightsim.so: cannot open shared object file: Too many open files"
Failed to load "/opt/google/earth/free/libviewsync.so" because "/opt/google/earth/free/libviewsync.so: cannot open shared object file: Too many open files"
zaax@Tower:~$ ^C
zaax@Tower:~$

答案1

我发现了这个讨论。 http://ubuntuforums.org/archive/index.php/t-2148211.html

他们说:

你可以试试

gksudo -k -u root /opt/google/earth/free/google-earth %f

或者

  1. 编辑 sudoers 文件:

gksudo gedit /etc/sudoers

-添加此行:

您的用户名 ALL= NOPASSWD: /path/to/the/command

将 /path/to/the/command 替换为 /opt/google/earth/free/google-earth

  1. 使用以下命令在启动器或终端中运行您的应用:

sudo google-earth

相关内容