首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Windows上运行gnome软件

在Windows上运行gnome软件
EN

Ask Ubuntu用户
提问于 2018-10-15 21:05:05
回答 1查看 2.7K关注 0票数 2

我在Windows 10中安装了Ubuntu (使用WSL),我安装了一个X服务器VcXsrv。我在试着经营Gnome软件中心。

我从终点站运行gnome-software

该窗口将出现,但没有显示图形和错误消息。

无法获得更新列表:未能获得refesh:未能连接的更新:没有这样的文件或目录

终端中的错误如下:

代码语言:javascript
复制
$ gnome-software
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
20:58:54:0575 GLib-GObject invalid (NULL) pointer instance
20:58:54:0576 GLib-GObject g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
20:58:54:0576 GLib-GObject g_object_unref: assertion 'G_IS_OBJECT (object)' failed
20:58:54:0578 GLib-GObject invalid (NULL) pointer instance
20:58:54:0579 GLib-GObject g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
20:58:54:0581 GLib-GObject g_object_unref: assertion 'G_IS_OBJECT (object)' failed
20:58:54:0661 Gs  enabled plugins: desktop-categories, fwupd, os-release, packagekit-local, packagekit-offline, packagekit-proxy, packagekit-refine-repos, packagekit-refresh, packagekit-upgrade, packagekit-url-to-app, packagekit, systemd-updates, ubuntuone, appstream, desktop-menu-path, generic-updates, hardcoded-blacklist, hardcoded-featured, hardcoded-popular, modalias, packagekit-refine, rewrite-resource, steam, ubuntu-reviews, provenance, icons, provenance-license, key-colors, key-colors-metadata
20:58:54:0662 Gs  disabled plugins: dpkg, dummy, repos, shell-extensions, epiphany, odrs, packagekit-history, snap
20:58:54:0828 Gs  failed to connect to upower: Could not connect: No such file or directory
20:58:54:0828 Gs  not GsPlugin error from plugin fwupd g-io-error-quark:1: Failed to connect to system D-Bus: Could not connect: No such file or directory
20:58:54:0829 Gs  failed to call gs_plugin_refresh on fwupd: Failed to connect to system D-Bus: Could not connect: No such file or directory
20:58:54:0831 Gs  failed to call gs_plugin_refresh on packagekit-refresh: failed to get updates for refresh: Could not connect: No such file or directory
20:58:54:0901 Gs  failed to call gs_plugin_add_updates on fwupd: Failed to connect to system D-Bus: Could not connect: No such file or directory
20:58:54:0912 Gs  failed to call gs_plugin_refine on packagekit-refine: failed to search file /usr/share/metainfo/org.gnome.Software.Plugin.Epiphany.metainfo.xml: Could not connect: No such file or directory
20:58:54:0945 Gs  Only 0 apps for recent list, hiding
20:58:54:0946 Gs  hiding category audio-video featured applications: found only 0 to show, need at least 9
20:58:54:0961 Gs  hiding category productivity featured applications: found only 0 to show, need at least 9
20:58:54:0966 Gs  failed to get featured apps: no apps to show
20:58:54:0972 Gs  Only 0 apps for popular list, hiding
20:58:55:0046 Gs  failed to call gs_plugin_add_updates_historical on fwupd: Failed to connect to system D-Bus: Could not connect: No such file or directory

不幸的是我不明白这是怎么回事。有人知道怎么让它工作吗?

因为某种原因,在Windows上运行这个程序是个坏主意吗?Windows警告不要使用Windows工具修改Linux文件,所以我想我应该试试Linux工具。

EN

回答 1

Ask Ubuntu用户

发布于 2019-06-24 11:41:46

我正好得到了你上面引用的错误。

我解决了这个问题,我在https://askubuntu.com/a/1005055/148933上安装并配置了与长答案对应部分的DBUS。

下面是在运行在XWindow上的VcXsrv中的样子。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1084053

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档