Page 1 of 1

[SOLVED] Programs not running under supervisor

PostPosted: Feb 2nd, '13, 21:56
by sjaglin
Hi,
I used to be a Mandrake and Mandriva user, went to ubuntu for a couple of years and am getting back to Mageia2. I have installed it easily using the live CD. All is working well but I get a problem when I try to run programs under "su".

This is for example what I get for Kate:

Code: Select all
[root@localhost stephane]# kate
kate(3438)/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/.kde4/socket-localhost/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
drkonqi(3439)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
[root@localhost stephane]#



Any suggestion?

Thanks ;)

Re: Programs not running under supervisor

PostPosted: Feb 2nd, '13, 22:09
by alf
to become root use "su -" not "su".

Re: Programs not running under supervisor

PostPosted: Feb 2nd, '13, 22:15
by sjaglin
Thanks, it did the trick, great!