Ubuntu Software Center не загружается через VNC

Я использую Ubuntu 14.04 Trusty, в котором я не в состоянии открыть Ubuntu Software Center через VNC клиент. После нажатия на Application Menu >> System >> Ubuntu Software Center через клиент RealVNC он просто не открывается.

когда я запускаю software-center из терминала, он говорит:

vnc@ip-172-31-12-90:/$ software-center
2015-03-18 13:02:47,361 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/netstatus.py', 122, '__init_network_state')'
2015-03-18 13:02:47,361 - root - WARNING - failed to init network state watcher 'org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files'
2015-03-18 13:02:47,540 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/netstatus.py', 144, 'test_ping')'
2015-03-18 13:02:47,540 - root - INFO - Attempting one time ping of screenshots.ubuntu.com to test if internet connectivity exists.

(software-center:24120): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(software-center:24120): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.
2015-03-18 13:02:47,619 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'

(software-center:24120): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(software-center:24120): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

(software-center:24120): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.
2015-03-18 13:02:47,695 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/netstatus.py', 160, 'test_ping')'
2015-03-18 13:02:47,695 - root - INFO - ping output: 'Internet connection available!
PING screenshots.ubuntu.com (91.189.94.41) 56(84) bytes of data.
64 bytes from backoo.canonical.com (91.189.94.41): icmp_seq=1 ttl=51 time=145 ms

--- screenshots.ubuntu.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 145.333/145.333/145.333/0.000 ms
'

Traceback (most recent call last):
  File "/usr/bin/software-center", line 130, in <module>
    app = SoftwareCenterAppGtk3(options, args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 338, in __init__
    self.icons)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/appmanager.py", line 66, in __init__
    self.oauth_token = helper.find_oauth_token_sync()
  File "/usr/share/software-center/softwarecenter/backend/ubuntusso.py", line 141, in find_oauth_token_sync
    sso.find_credentials()
  File "/usr/share/software-center/softwarecenter/backend/login_impl/login_sso.py", line 74, in find_credentials
    self.proxy.find_credentials(self.appname, self._get_params())
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken

пожалуйста, руководство.
Спасибо

20
задан S R
05.05.2023 7:16 Количество просмотров материала 2874
Распечатать страницу

1 ответ

решил сам. Мне просто нужно было сменить владельца /run/user/1000 моему пользователю VNC, т. е. vnc. Ниже приведена команда, чтобы сделать это:

sudo chown -R vnc:vnc 1000/

это решило проблему.

надеюсь, что помогает кто-то!

спасибо

3
отвечен S R 2023-05-06 15:04

Постоянная ссылка на данную страницу: [ Скопировать ссылку | Сгенерировать QR-код ]

Ваш ответ

Опубликуйте как Гость или авторизуйтесь

Имя
Вверх