Mailinglist Archive: opensuse (1487 mails)

< Previous Next >
Re: [opensuse] 11.3 - kwrite and kate not working for su?
  • From: Will Stephenson <wstephenson@xxxxxxx>
  • Date: Sun, 1 Aug 2010 12:50:31 +0200
  • Message-id: <201008011250.31579.wstephenson@xxxxxxx>
On Sunday 01 August 2010 12:28:51 HG wrote:
I like to use kate for system
management file editing... i.e. I su to
root and then open kate that
conveniently saves sessions of multiple
files. In 11.3 I get this:


loota:/data1/home> su
Password:
loota:/data1/home # kate &
[1] 4373

loota:/data1/home # kate(4373): Session bus not found

KCrash:
Application 'kate' crashing...

sock_file=/root/.kde4/socket-loota/kdeinit4__0
Warning: connect() failed:
: No such file or directory
KCrash cannot reach kdeinit, launching
directly.
drkonqi(4374): Session bus not found


[1]+ Exit 253
kate
loota:/data1/home #

And the same happens for kwrite.
Both work for the main user though
(when started from the terminal). What
should I do? Currently I'm
editing the files in good ol emacs

As your
normal user:

"kdesu /usr/bin/kate"

This starts kate as root, but preserves
the environment needed.

Will

--
Will Stephenson, openSUSE Team
SUSE LINUX
Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References