Page 1 of 1

[SOLVED] starting dolphin as root produces a lot of text

PostPosted: Aug 4th, '13, 15:21
by Silver22
Here's what I did. Can't tell if this indicates a problem somewhere...

Code: Select all
[*****@localhost ~]$ su -
Password: ******
[root@localhost ~]# dolphin &
[1] 27530
[root@localhost ~]# Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
kbuildsycoca4(27553) KConfigGroup::readXdgListEntry: List entry Keywords in "k3bsetup.desktop" is not compliant with XDG standard (missing trailing semicolon).
Module  "resources" is registered
Module  "activities" is registered
Module  "features" is registered
This is the current thread id for Activities 140731113010944 QThread(0x19016c0)
These are the disabled plugins: ("activitymanager_plugin_dummy", "activitymanager_plugin_nepomuk")
Initializing plugin: "activitymanager_plugin_slc"
Initializing plugin: "activitymanager_plugin_globalshortcuts"
This is the current thread id for Activities 140731608205184 QThread(0x18b1270)
Initializing plugin: "activitymanager_plugin_virtualdesktopswitch"
VirtualDesktopSwitch::init
Module  "org.kde.ActivityManager.VirtualDesktopSwitch" is registered
Initializing plugin: "activitymanager_plugin_sqlite"
Module  "org.kde.ActivityManager.Resources.Scoring" is registered
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
Failed to open the database "/root/.kde4/share/apps/activitymanager/resources/database" QSqlError(-1, "Driver not loaded", "Driver not loaded")
QSqlQuery::exec: database not open
The database doesn't exist, it is being created
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
Upgrading the database version to 1.01
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /root/.kde4/share/config/activitymanager-pluginsrc
Initializing plugin: "activitymanager_plugin_activityranking"
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
Can't open sqlite database QSqlError(-1, "Driver not loaded", "Driver not loaded") "/root/.kde4/share/apps/activitymanager/activityranking/database"
running in thread ActivityRanking

Re: Upon opening Dolphin in terminal, I got a lot of text...

PostPosted: Aug 4th, '13, 17:08
by doktor5000
It indicates that dolphin will start/inherit a KDE environment for the root user. Actually you shouldn't do this.
Either use kdesu to start dolphin as root or krusader - krusader offers a separate menu entry for it to be started as root.

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks

Re: [SOLVED] starting dolphin as root produces a lot of text

PostPosted: Aug 4th, '13, 19:40
by Silver22
Thanks. Would you mind giving an example of kdesu usage? Thanks.

Re: [SOLVED] starting dolphin as root produces a lot of text

PostPosted: Aug 4th, '13, 19:45
by jkerr82508
In the Menu, or right-click click on the desktop, select the Run command (or just hit Alt-F2) and enter
Code: Select all
kdesu dolphin
Enter the root password when asked, and a Root-dolphin instance will be launched.

Jim

Re: [SOLVED] starting dolphin as root produces a lot of text

PostPosted: Aug 4th, '13, 19:45
by tom_
Code: Select all
/usr/lib64/kde4/libexec/kdesu dolphin