Всех приветствую! Подскажите пожалуйста, что у меня за проблемы со службой D-Bus, такое ощущение что она как будто бы не работает для Root пользователя, а для обычного вроде как нормально - ситуация такова что если запускаю из терминала некоторые программы то они запускаются нормально а если запускаю их из терминала через SUDO то тоже все нормально а если в терминале захожу в сеанс root через
SU то потом при их запуске эти проги запускаются но терминал пишет ругательства всякие, но проги вроде бы запускаются только потом не все функции в них работают в частности эти проги - файловые менеджеры Krusader и Double commander (да и другие наверно тоже будут с такими же проблемами работать)
При запуске Krusader root terminal ругается так:
root@HATA-PC:/home/user# krusader
Cannot connect to the D-BUS session bus.
To start it, run:
eval `dbus-launch --auto-syntax`
Trying to convert empty KLocalizedString to QString.
DBus Error: org.freedesktop.DBus.Error.Disconnected, Not connected to D-Bus server
DBus Error: org.freedesktop.DBus.Error.Disconnected, Not connected to D-Bus server
DBus Error: org.freedesktop.DBus.Error.Disconnected, Not connected to D-Bus server
DBus Error: org.freedesktop.DBus.Error.Disconnected, Not connected to D-Bus server
А при запуске Krusader root terminal ругается так:
root@HATA-PC:/home/user# doublecmd
Starting GuiMessageQueue
Starting Double Commander
Double Commander 0.7.1 beta
Revision: 6739
Build: 2016/04/07
Lazarus: 1.6.0.4
Free Pascal: 3.0.0
Platform: x86_64-Linux-gtk2
System: Ubuntu 16.04.4 LTS
Desktop Environment: KDE
Widgetset library: GTK 2.24.30
This program is free software released under terms of GNU GPL 2
(C)opyright 2006-2016 Alexander Koblov (alexx2000@mail.ru)
and contributors (see about dialog)
Executable directory: /usr/lib/doublecmd/
Loading configuration from /root/.config/doublecmd/
Loading lng file: /usr/lib/doublecmd/language/doublecmd.en.po
WDX: LOAD: /usr/lib/doublecmd/plugins/wdx/deb_wdx/deb_wdx.wdx
WDX: LOAD: /usr/lib/doublecmd/plugins/wdx/rpm_wdx/rpm_wdx.wdx
Error loading configuration file /root/.config/doublecmd/favoritetabs.xml
RabbitVCS: Cannot acquire connection to DBUS session bus: 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.
PollThread: Start polling
PollThread: AddPoll 10
Creating PixmapManager
Loading icon theme DCTheme
Error: pixmap [/usr/lib/doublecmd/doublecmd] not loaded!
PollThread: AddPoll 17
UDev: Begin monitoring
Detecting mounts through /proc/self/mounts
PollThread: AddPoll 18
Creating TFileSystemFileSource
FileSystemWatcher thread starting
frmMain.frmMainShow
Error loading configuration file /root/.config/doublecmd/highlighters.xml
а потом и еще в процессе выполнения вот так
ConfigBase::load: Unable to open /root/.config/terminator/config ([Errno 2] Нет такого файла или каталога: '/root/.config/terminator/config')
Warning: python-keybinder is not installed. This means the hide_window shortcut will be unavailable
Unable to bind hide_window key, another instance/window has it.
Плагин ActivityWatch отсутствует: пожалуйста, установите python-notify
PluginRegistry::load_plugins: Importing plugin activitywatch.py failed: 'module' object has no attribute 'AVAILABLE'
PluginRegistry::load_plugins: Importing plugin __init__.py failed: 'module' object has no attribute 'AVAILABLE'
(x-terminal-emulator:3058): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
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.
(x-terminal-emulator:3058): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
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.
Traceback (most recent call last):
File "/usr/bin/x-terminal-emulator", line 118, in <module>
TERMINATOR.create_layout(OPTIONS.layout)
File "/usr/share/terminator/terminatorlib/terminator.py", line 265, in create_layout
window, terminal = self.new_window()
File "/usr/share/terminator/terminatorlib/terminator.py", line 192, in new_window
terminal = maker.make('Terminal')
File "/usr/share/terminator/terminatorlib/factory.py", line 94, in make
output = func(**kwargs)
File "/usr/share/terminator/terminatorlib/factory.py", line 106, in make_terminal
return(terminal.Terminal())
File "/usr/share/terminator/terminatorlib/terminal.py", line 178, in __init__
self.reconfigure()
File "/usr/share/terminator/terminatorlib/terminal.py", line 782, in reconfigure
self.titlebar.update()
File "/usr/share/terminator/terminatorlib/titlebar.py", line 113, in update
title_font = pango.FontDescription(self.config.get_system_prop_font())
File "/usr/share/terminator/terminatorlib/config.py", line 371, in get_system_prop_font
'/desktop/gnome/interface/font_name')
glib.GError: Служба D-BUS не запущена
Спрашиваю потому что устанавливал другие линуксы, даже kubuntu, да и в убунте тоже насколько я помню до переустановки
там было все нормально - то есть что запускаешь прогу в терминале как обычный юзер, что через SUDO что через SU, все работало нормально сразу после установки линукса, тут вот переустановил Ubuntu и вот те на.
Правила форума
1.4. Листинги и содержимое текстовых файлов следует добавлять в сообщение с помощью тегов [spoiler]...[/spoiler] или [code]...[/code], либо прикреплять к сообщению в виде отдельного файла. Длинные гиперссылки следует оформлять при помощи тега [url=]...[/url]
--Aleksandru