O Ubuntu Software Center não carrega através do VNC

1

Estou usando o Ubuntu 14.04 Trusty, no qual não consigo abrir Ubuntu Software Center através do VNC Client. Depois de clicar em Application Menu >> System >> Ubuntu Software Center através do cliente RealVNC, ele simplesmente não será aberto.

Quando eu executo software-center do terminal, ele diz:

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

Por favor, guie. Obrigado

    
por S R 18.03.2015 / 14:06

1 resposta

3

Resolvi eu mesmo. Eu só tive que mudar a propriedade do /run/user/1000 para o meu usuário VNC, ou seja, vnc . Abaixo está o comando para fazer isso:

sudo chown -R vnc:vnc 1000/

Isso resolveu o problema.

Espero que ajude alguém!

Obrigado

    
por 18.03.2015 / 15:04