Hi,
sorry i think my question is not clear enough.
I am logging in as a user.
I su as root to open a file with kate
Below are the error it projected onto the terminal
Code:
bash-4.2$ su root
Password:
bash-4.2# kate /etc/slackpkg/mirrors
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kate(4257)/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/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/root/.kde/socket-linuxcm/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
drkonqi(4258)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)