问题描述:
在模拟终端root权限下用kwrite无法打开log文件。请问这个文件如何打开呢 谢谢。
以下是我在模拟终端复制的内容
inux-qn0a:/home/lx # ls /var/log/samba/
cores log.smbd
linux-qn0a:/home/lx # kwrite /var/log/samba/log.smbd
kwrite(3434)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
KCrash: Application ‘kwrite’ crashing…
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/root/.kde4/socket-linux-qn0a.site/kdeinit4__0
Warning: connect() failed: : 没有那个文件或目录
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi directly
drkonqi(3435)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)