Using kate editor as root (su) give me errors.
Hi guys. After installing kate i can use it to open files as normal user, but when i enter in su suer mode (with su and then password) i cant use kate. Give me errors:
[root@localhost user]# kate /etc/yum.cong
kate(3117)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) KCrash: Application 'kate' crashing... KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit sockfile=/root/.kde/socket-localhost.localdomain/kdeinit4_0 Warning: connect() failed: : No such file or directory KCrash: Attempting to start /usr/libexec/kde4/drkonqi directly drkonqi(3118)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch)
Thank you.