Hi,
I faced a problem with sudo and made a thread for that. And finally, i got a suggestion to reinstall sudo. Now, sudo works right for wvdial. But, when I type sudo dolphin or some other application I receive error messages. Also, when I get super user privileged by su and typing password, and then type sudo dolphin, it returns some bus error.
and tells to input something called “export $(dbus-launch)” and then try sudo, and when i do it it comes right. Now, what is wrong with my sudo?
Here is the complete output.
anish@thinkpad:/etc/sysconfig> sudo kwrite displaymanager
kwrite: cannot connect to X server
anish@thinkpad:/etc/sysconfig> kwrite displaymanager
anish@thinkpad:/etc/sysconfig> su
Password:
thinkpad:/etc/sysconfig # kwrite displaymanager
kwrite(3614)/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-thinkpad.openSUSE/kdeinit4__0
Warning: connect() failed: : Connection refused
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi directly
drkonqi(3615)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
thinkpad:/etc/sysconfig # export $(dbus-launch)
thinkpad:/etc/sysconfig # kwrite displaymanager
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
thinkpad:/etc/sysconfig # kbuildsycoca4 running...
kbuildsycoca4(3899) parseLayoutNode: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file.
Thankyou,
Anish