LINUX.ORG.RU
решено ФорумAdmin

Не запускается software-center, ubuntu 14.04.3

 , ,


0

1

Запускаю с консоли:


root@server:~# 
root@server:~# software-center
2015-09-24 20:53:15,890 - softwarecenter.ui.gtk3.app - ERROR - could not initiate dbus
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1250, in setup_dbus_or_bring_other_instance_to_front
    bus = dbus.SessionBus()
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__
    mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed.

2015-09-24 20:53:15,917 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
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 140, in find_oauth_token_sync
    sso = self. _get_login_backend_and_connect()
  File "/usr/share/software-center/softwarecenter/backend/ubuntusso.py", line 132, in _get_login_backend_and_connect
    _(SOFTWARE_CENTER_SSO_DESCRIPTION))
  File "/usr/share/software-center/softwarecenter/backend/login.py", line 80, in get_login_backend
    sso_class = LoginBackendDbusSSO(window_id, appname, help_text)
  File "/usr/share/software-center/softwarecenter/backend/login_impl/login_sso.py", line 46, in __init__
    self.bus = dbus.SessionBus()
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__
    mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed.

root@server:~# 

Не знал, что такая попоболь случается. Захожу на свежий инстанс по VNC. VNC терминал запущен от рута

Ответ на: комментарий от legobillyjoe

И, да. sudo от обычного пользователя из группы sudoers не прокатывало.

legobillyjoe ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.