从16.04升级到16.10后,当我单击启动器中的“文件”图标时,它照常打开,但立即又关闭。我无法浏览文件系统,这有点麻烦。我可以重新安装“文件”应用程序吗?
nautilus
从终端运行,它打开然后再次关闭,将其留在终端窗口中:
$ sudo nautilus
[sudo] password for mike:
(nautilus:8973): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Initializing nautilus-dropbox 2015.10.28
**
ERROR:nautilus-canvas-container.c:6032:finish_adding_new_icons: assertion failed: (!container->details->auto_layout)
Aborted (core dumped)
这是内容/var/log
:
total 6884
-rw-r--r-- 1 root root 1845 Nov 16 18:36 alternatives.log
-rw-r--r-- 1 root root 31487 Oct 28 19:01 alternatives.log.1
-rw-r--r-- 1 root root 681 Sep 29 19:32 alternatives.log.2.gz
-rw-r--r-- 1 root root 500 Sep 1 17:17 alternatives.log.3.gz
-rw-r--r-- 1 root root 4614 Jul 21 15:31 alternatives.log.4.gz
-rw-r----- 1 root adm 2179 Nov 16 19:08 apport.log
-rw-r----- 1 root adm 2535 Nov 16 01:00 apport.log.1
-rw-r----- 1 root adm 387 Nov 15 15:58 apport.log.2.gz
-rw-r----- 1 root adm 233 Nov 14 19:49 apport.log.3.gz
-rw-r----- 1 root adm 232 Nov 13 15:09 apport.log.4.gz
-rw-r----- 1 root adm 229 Nov 12 16:36 apport.log.5.gz
-rw-r----- 1 root adm 301 Nov 11 20:14 apport.log.6.gz
-rw-r----- 1 root adm 233 Nov 10 18:57 apport.log.7.gz
drwxr-xr-x 2 root root 4096 Nov 16 18:36 apt
-rw-r----- 1 syslog adm 35106 Nov 16 19:17 auth.log
-rw-r----- 1 syslog adm 28808 Nov 13 15:08 auth.log.1
-rw-r----- 1 syslog adm 4419 Nov 7 16:09 auth.log.2.gz
-rw-r----- 1 syslog adm 4737 Oct 30 18:00 auth.log.3.gz
-rw-r----- 1 syslog adm 4933 Oct 23 16:55 auth.log.4.gz
-rw-r--r-- 1 root root 4440 Oct 20 19:34 boot.log
-rw-r--r-- 1 root root 57457 Apr 20 2016 bootstrap.log
-rw------- 1 root utmp 0 Nov 1 18:27 btmp
-rw------- 1 root utmp 0 Oct 1 17:00 btmp.1
drwxr-xr-x 2 root root 4096 Nov 16 17:36 cups
drwxr-xr-x 2 root root 4096 Oct 23 17:13 dist-upgrade
-rw-r----- 1 root adm 31 Apr 20 2016 dmesg
-rw-r--r-- 1 root root 135150 Nov 16 18:36 dpkg.log
-rw-r--r-- 1 root root 1965153 Oct 28 20:29 dpkg.log.1
-rw-r--r-- 1 root root 16088 Sep 29 19:32 dpkg.log.2.gz
-rw-r--r-- 1 root root 15937 Sep 1 17:17 dpkg.log.3.gz
-rw-r--r-- 1 root root 157812 Jul 31 17:55 dpkg.log.4.gz
-rw-r--r-- 1 root root 32032 Oct 23 18:20 faillog
-rw-r--r-- 1 root root 4562 Oct 23 18:29 fontconfig.log
drwxr-xr-x 2 root root 4096 Apr 20 2016 fsck
-rw-r--r-- 1 root root 1988 Nov 16 17:30 gpu-manager.log
-rw-r--r-- 1 root root 288 Jul 4 22:12 gufw.log
drwxr-xr-x 3 root root 4096 Jul 2 22:36 installer
drwx------ 2 root root 4096 Nov 15 15:59 iptraf
-rw-r----- 1 syslog adm 821402 Nov 16 19:26 kern.log
-rw-r----- 1 syslog adm 944399 Nov 13 15:11 kern.log.1
-rw-r----- 1 syslog adm 292954 Nov 7 16:10 kern.log.2.gz
-rw-r----- 1 syslog adm 234709 Oct 30 18:04 kern.log.3.gz
-rw-r----- 1 syslog adm 242290 Oct 23 16:54 kern.log.4.gz
-rw-rw-r-- 1 root utmp 292292 Oct 23 18:20 lastlog
drwxr-xr-x 2 root root 4096 Nov 16 17:36 lightdm
-rw-r----- 1 root root 305760 Jul 4 21:14 lynis.log
-rw-r----- 1 root root 82228 Jul 4 21:14 lynis-report.dat
drwx------ 2 speech-dispatcher root 4096 Feb 18 2016 speech-dispatcher
-rw-r----- 1 syslog adm 41328 Nov 16 19:41 syslog
-rw-r----- 1 syslog adm 752716 Nov 16 17:36 syslog.1
-rw-r----- 1 syslog adm 43507 Nov 15 15:59 syslog.2.gz
-rw-r----- 1 syslog adm 46339 Nov 14 19:50 syslog.3.gz
-rw-r----- 1 syslog adm 46572 Nov 13 15:11 syslog.4.gz
-rw-r----- 1 syslog adm 39367 Nov 12 16:38 syslog.5.gz
-rw-r----- 1 syslog adm 63941 Nov 11 20:16 syslog.6.gz
-rw-r----- 1 syslog adm 53450 Nov 10 19:00 syslog.7.gz
drwxr-s--- 2 debian-tor adm 4096 Nov 16 17:36 tor
-rw-r----- 1 syslog adm 0 Jul 10 17:14 ufw.log
-rw-r----- 1 syslog adm 5134 Jul 4 22:10 ufw.log.1
drwxr-x--- 2 root adm 4096 Nov 1 18:27 unattended-upgrades
drwxr-xr-x 2 root root 4096 Feb 29 2016 upstart
-rw-rw-r-- 1 root utmp 50688 Nov 16 17:34 wtmp
-rw-rw-r-- 1 root utmp 104064 Nov 1 18:23 wtmp.1
-rw-r--r-- 1 root root 61639 Nov 16 17:35 Xorg.0.log
-rw-r--r-- 1 root root 61643 Nov 15 20:11 Xorg.0.log.old
这是nautilus
不运行sudo
以下命令后的输出:
Initializing nautilus-dropbox 2015.10.28
(nautilus:8659): NA-core-WARNING **: na_settings_content_load_keys: /home/mike/.config/nautilus-actions/nautilus-actions.conf (2) Permission denied
**
ERROR:nautilus-canvas-container.c:6032:finish_adding_new_icons: assertion failed: (!container->details->auto_layout)
Aborted (core dumped)
另外,您实际上不应该运行诸如
nautilus
root(sudo
)之类的图形应用程序。它可能会弄乱文件权限等。如果您要使用root身份以root身份运行它sudo
,那么请按照以下步骤运行它:sudo -H nautilus
。因为这有望防止此类权限问题。尽管我仍然建议不要以root身份运行Nautilus。
@ParanoidPanda:甚至比
—
大卫·佛斯特
sudo -H <GRAPHICAL_APPLICATION>
是gksudo <GRAPHICAL_APPLICATION>
(或gksu
-它们是相同的)。
您能否在
—
大卫·佛斯特
nautilus
没有 sudo
终端的情况下运行并将输出包含在您的问题中?
nautilus
吗?