LinuxForum.Fans
Тема

Как автоматически выполнять команды при входе в систему(dbus)

Автор: mkone112 2 сообщений 943 просмотров
#352323

Предыстория:
Поставил себе Debian 7 из netinstall при установке отказался от всего от чего мог отказаться и получил голую систему весом ~100mb.Далее поставил x-server и xfce-4.12 и еще кое-какое по в том числе файловые менеджеры Dolphin и Krusader.
Теперь при попытке запуска Dolphin или Krusader через терминал из под рута вылезает следующее сообщение.

text

(process:3187): 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.

(process:3187): 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.

(process:3187): 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. QGtkStyle was unable to detect the current GTK+ theme. Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed dolphin(3187)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) KCrash: Application 'dolphin' crashing... KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit sock_file=/root/.kde/socket-debian-pc/kdeinit4__0 Warning: connect() failed: : Нет такого файла или каталога KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly

(process:3188): 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.

(process:3188): 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.

(process:3188): 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. QGtkStyle was unable to detect the current GTK+ theme. drkonqi(3188)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch)

Если ввести в терминале # export $(dbus-launch) то dolphin или krusader запускается.
Теперь вопросы:
1.Как сделать чтобы мне не приходилось каждый раз выполнять эту команду вручную(Пожайлуста максимально пошагово я зеленый новичек).
2.И вообще правильно ли будет добавить export $(dbus-launch) в автозагрузку.Или есть какое-то более правильное решение?

Войдите или зарегистрируйтесь, чтобы ответить.