[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    [kde-linux] KDESU doesn't work again with 4.10
From:       James Tyrer <jrtyrer () earthlink ! net>
Date:       2013-04-20 20:06:18
Message-ID: 5172F53A.3090105 () earthlink ! net
[Download RAW message or body]

I installed the link to: "kdesu" and I found that a desktop fine that 
used it doesn't work.  The file had:

Exec=kdesu -c "konqueror --profile filemanagement /" --caption "SU Root KFM"

{that is one line}

Instead of Konqueror, I get a window titled: "Konqueror - The KDE Crash 
Handler" reporting that Konqueror crashed.  So KDESU must have worked 
and called Konqueror, but not correctly as it immediately crashed.

Since I had previously fixed the bug in KDESU that prevented it from 
working, I was a bit disappointed. :-(

Could this be something that I am doing differently?  Before I finished 
building KDE, I was using TWM with X11 and I noticed while running as my 
user account, I opened an Xterm, did: "su -" and attempted to open 
konqueror that it crashed with a message that I had to first enter an 
instruction to so that D-Bus was running.  So, I followed the 
instructions in Beyond Linux From Scratch to have BASH start and stop 
D-Bus with the profile and logout scripts -- something I had not done in 
my previous installation.  That cured that problem.

I also note that this hack:

  Exec=kdesu -c 'bash -l -c "konqueror --profile filemanagement /"' 
--caption "SU Root KFM"

{again, this is one line}

makes my desktop file open Konqueror as root with the "filemanagement" 
profile and the "/" directory just fine.  However, if this isn't 
specific to my system and how I am handling starting D-Bus, it appears 
that this hack is a work around for a bug and that KDESU should check to 
see if D-BUS is running and if it isn't, it should start it before 
calling the application that is to be opened.

I also note that the: startkde script fails to detect that D-Bus is 
running and there are two of them running.  But, that is a minor bug.

-- 
James Tyrer

Linux (mostly) From Scratch

-- 
James Tyrer

Linux (mostly) From Scratch
___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic