debian(wheezy) gvim GConf-WARNING **: Client failed to connect to the D-BUS daemon:

최근에 tmux를 열 때 루트로 잘라서 gvim xxx를 실행할 때 오류가 발생합니다
oot@debian:/# gvim 1.txt

(gvim:6040): 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.

(gvim:6040): 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.

(gvim:6040): 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.

(gvim:6040): 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.

(gvim:6040): 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.

(gvim:6040): 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.

(gvim:6040): 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.

(gvim:6040): 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.

D-bus 수호 프로세스가 열리지 않았다는 뜻입니다. 관건은 루트로 활성화된 것입니다.예전에는 나타나지 않았어요.요즘 너무 빨리 자르는 것 같아서 Alias의 sr=su root를 썼는데 su를 안 썼어요.
루트 로그인 환경이 없습니다.즉, 로딩이 적게 됩니다~/.bash_프로필, 상응하는 권한 부여 지원이 부족합니다. 
그래서 간단합니다. 알리스의 sr=su root를 su-또는su-root로 바꾸면 됩니다.
또는/usr/bin/gvim를 dbus-launch--exit-with-session/usr/bin/gvim로 바꿔서 gvim를 시작합니다. 그러나 이것은session을 받지 못해서 오류가 발생합니다.
(gvim:6642): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

좋은 웹페이지 즐겨찾기