Hello Magnus, I am unable to reproduce on my Kubuntu 14.04. For me there is no command `kdesu`. I use `kdesudo`. Running `kdesudo -dt dolphin` I get the required behavior.
Regards, Vedant. On Sun, May 25, 2014 at 5:41 PM, Magnus Larsson <k.magnus.lars...@tele2.se>wrote: > Dear kde-devel@kde.org > > kdesu does not work. > > uname -a > Linux lfs 3.14.1 #2 SMP Sat Apr 19 07:20:05 CEST 2014 x86_64 GNU/Linux > > Kde-4.13.0, /dev using systemd. Init through sysvinit. > > I have compiled kde-4.13.0 from source. Kde works fine as normal user. > > I can not start kde applications using kdesu. > > Steps to repeat: > 1: start Konsole as normal user > 2: kdesu -dt dolphin > > Konsole output: > kdesu(1540)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ > /source/kdelibs-4.13.0/kdesu/process.cpp : 293 ] Running "/bin/su" > kdesu(1540)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ > /source/kdelibs-4.13.0/kdesu/su.cpp : 259 ] Read line "Password: " > kdesu(1540)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ > /source/kdelibs-4.13.0/kdesu/process.cpp : 293 ] Running "/bin/su" > kdesu(1540)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ > /source/kdelibs-4.13.0/kdesu/su.cpp : 259 ] Read line "Password: " > kdesu(1540)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ > /source/kdelibs-4.13.0/kdesu/process.cpp : 379 ] Child pid 1545 > kdesu(1540)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ > /source/kdelibs-4.13.0/kdesu/su.cpp : 259 ] Read line "" > kdesu(1540)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ > /source/kdelibs-4.13.0/kdesu/su.cpp : 259 ] Read line "kdesu_stub" > kdesu(1540)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ > /source/kdelibs-4.13.0/kdesu/process.cpp : 293 ] Running "/bin/su" > kdesu(1540)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ > /source/kdelibs-4.13.0/kdesu/su.cpp : 259 ] Read line "Password: " > kdesu(1540)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ > /source/kdelibs-4.13.0/kdesu/process.cpp : 379 ] Child pid 1548 > kdesu(1540)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ > /source/kdelibs-4.13.0/kdesu/su.cpp : 259 ] Read line "" > kdesu(1540)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ > /source/kdelibs-4.13.0/kdesu/su.cpp : 259 ] Read line "kdesu_stub" > dolphin(1552)/kdeui (kdelibs): Session bus not found > To circumvent this problem try the following command (with Linux and bash) > export $(dbus-launch) > KCrash: Application 'dolphin' crashing... > KCrash: Attempting to start /opt/kde/lib/kde4/libexec/drkonqi from kdeinit > sock_file=/root/.kde/socket-lfs/kdeinit4__0 > Warning: connect() failed: : No such file or directory > KCrash: Attempting to start /opt/kde/lib/kde4/libexec/drkonqi directly > drkonqi(1553)/kdeui (kdelibs): Session bus not found > To circumvent this problem try the following command (with Linux and bash) > export $(dbus-launch) > > My .xinitrc starts the d-bus session daemon. > exec dbus-launch --exit-with-session startkde > > The d-bus system daemon is started trough an init script /etc/init.d/dbus > > === start dbus-start-script === > # Description: Starts message bus. > # X-LFS-Provided-By: LFS > ### END INIT INFO > > . /lib/lsb/init-functions > > #$LastChangedBy: bdubbs $ > #$Date: 2012-05-02 20:39:55 +0000 (Wed, 02 May 2012) $ > > pidfile=/run/dbus/pid > socket=/run/dbus/system_bus_socket > > case "$1" in > start) > log_info_msg "Starting the D-Bus Messagebus Daemon..." > mkdir -p /run/dbus > /usr/bin/dbus-uuidgen --ensure > start_daemon /usr/bin/dbus-daemon --system > evaluate_retval > ;; > <...snip...> > === end dbus-start-script === > > This works as a workaround in Konsole. I run as root and export. > su > export $(dbus-launch) > dolphin > > How can I resolve this? > > Magnus > > > > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > unsubscribe << >
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<