Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
breathe_easyOffline
15 Post subject: no editor as root  PostPosted: 11.12.2010, 18:31



Joined: 2010-12-11
Posts: 8

Status: Offline
Cannot open kate or kwrite as root. Always get this warning:

KCrash: Application 'kate' crashing...
sock_file=/root/.kde/socket-madmachine/kdeinit4__0
Warning: connect() failed: : Datei oder Verzeichnis nicht gefunden
KCrash cannot reach kdeinit, launching directly.
drkonqi(16670): Session bus not found


Last edited by breathe_easy on 12.12.2010, 15:14; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
seagullOffline
Post subject: RE: no editor as root  PostPosted: 11.12.2010, 18:40



Joined: 2010-09-11
Posts: 38

Status: Offline
try "# dbus-launch kwrite "
 
 View user's profile Send private message  
Reply with quote Back to top
breathe_easyOffline
Post subject: RE: no editor as root  PostPosted: 11.12.2010, 18:51



Joined: 2010-12-11
Posts: 8

Status: Offline
o.k. warning message changes to:

No protocol specified
kate: cannot connect to X server :0.0
 
 View user's profile Send private message  
Reply with quote Back to top
seagullOffline
Post subject: RE: no editor as root  PostPosted: 11.12.2010, 19:30



Joined: 2010-09-11
Posts: 38

Status: Offline
dbus-launch works after you sux'ed in a konsole window.
So try:
$ sux
<password>
# dbus-launch kate

see also:
http://manual.aptosid.com/en/term-konsole-en.htm#sux
 
 View user's profile Send private message  
Reply with quote Back to top
breathe_easyOffline
Post subject: RE: no editor as root  PostPosted: 11.12.2010, 19:38



Joined: 2010-12-11
Posts: 8

Status: Offline
o.k.
thanks a lot! Smile
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject: RE: no editor as root  PostPosted: 11.12.2010, 20:03



Joined: 2010-09-13
Posts: 497
Location: Pößneck / Thüringen
Status: Offline
Alt + F2 ==> kdesu kate
 
 View user's profile Send private message  
Reply with quote Back to top
dptOffline
Post subject: Re: RE: no editor as root  PostPosted: 12.12.2010, 20:32



Joined: 2010-09-11
Posts: 281
Location: New Delhi
Status: Offline
      towo wrote:
Alt + F2 ==> kdesu kate


I use this to edit all the time, kwrite instead of kate.
 
 View user's profile Send private message AIM Address  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio