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

List:       kde-bugs-dist
Subject:    [kate] [Bug 340544] New: launching kate as user root results in kate crashing
From:       Ubu the Tech Guru <ubuntuaddictedubu () gmail ! com>
Date:       2014-11-01 0:45:59
Message-ID: bug-340544-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=340544

            Bug ID: 340544
           Summary: launching kate as user root results in kate crashing
           Product: kate
           Version: Git
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-null@kde.org
          Reporter: ubuntuaddictedubu@gmail.com

i like to use kate to edit conf files. i tried to setup kdesu and thought i set
it up correctly but when issuing kdesu kate /etc/dhcpd.conf nothing ever
happens and then i have a defunct process of kdesu so to get around that i
first switch user to root using su, then after i'm root i type in kate in my
bash terminal and kate will crash the first time I try it but if i type in kate
again it opens without crashing.

Reproducible: Always

Steps to Reproduce:
1.open konsole as normal user
2. switch user to root
3. type in kate and hit the enter key

Actual Results:  
kate crashes and the kde crash handler opens.

Expected Results:  
kate should open with root privileges allowing me to edit any file owned by
root

it may be important to note that I installed my arch system from another linux
system using chroot and I choose to only install kdebase versus the entire KDE
package. root has a ~/.profile file and within it i have                        
export DISPLAY=:0.0

here's the output from the konsole terminal as well
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
kate(25209)/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
KCrash: Connect sock_file=/root/.kde4/socket-archytahr/kdeinit4__0

[1]+  Stopped                 kate

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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