This forum has been archived. All content is frozen. Please use KDE Discuss instead.

After logout, Unable to start konquer, dolphin yast as root.

Tags: None
(comma "," separated)
User avatar
tyreed
Registered Member
Posts
40
Karma
0
OS
Hello,
I logged out and back in ( I changed the inode-direcotry icon and wanted to see if I liked it)..
After logging back in (Not restart, just log out) konqueror and dolphin will not start with 'run as diff user' root.
I also can not start YasT.
I opened konsole and typed sudo konqueror and it did not start. I did # su (password) and as root in konsole I was unable to start konqueror.
This is the output :
Code: Select all
# konqueror
konqueror(3193)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
KCrash: Application 'konqueror' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/root/.kde4/socket-Linux-D630.landisreed.com/kdeinit4__0
Warning: connect() failed: : Connection refused
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
drkonqi(3194)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)


Any ideas? I did Nothing to the user root or any files except changing inode-directory.png icon and have changed it back to default icon.
I was using konqureor as root just before I logged out, as I had copied the 'new' directory icon to the sys icon dir.

Thank you in advance,
TY.
User avatar
tyreed
Registered Member
Posts
40
Karma
0
OS
I logged out, logged in as root. Went through starting konqueror and yast, checked for updates, found none.
Shutdown. Powered up and all seems fine except that navigating to forums.kde.org in konqueorer seemed to want to set up a 'new' kwallet as if I hadn't one.
I canceled it and used konqueror to go to one of my webservers and logged into kwallet there and then all seemed fine.

Thanks,
Landis.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
As a general note - running KDE applications as root is not recommended.

In this case, you have not fully switched to root, as the user environment has been left intact. This prevented your root executed Konqueror or Dolphin from launching properly.

If you do want to run applications as root, please make sure you use "kdesu" to do so, or alternately make sure you executed "su -" instead of "su" to ensure the environment is fully cleared.
Code: Select all
kdesu konqueror

Code: Select all
su - -c konqueror


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]