LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 05-14-2005, 09:28 AM   #1
improverrr
Member
 
Registered: Apr 2005
Posts: 34

Rep: Reputation: 15
kate in the console


in other distros I can type the "kate /file path/file_name" command and the editor will open in a GUI window. but in kubuntu I get the following error:

any ideas to fix this?


root@ubuntu:/home/freak # kate /etc/samba/smb.conf
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kded: cannot connect to X server :0.0
kded: ERROR: KUniqueApplication: Registering failed!
kded: ERROR: Communication problem with kded, it probably crashed.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kate: cannot connect to X server :0.0
kate: ERROR: KUniqueApplication: Registering failed!
kate: ERROR: Communication problem with kate, it probably crashed.
 
Old 05-14-2005, 10:00 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
You can use emacs or vi for editing text in a console. If you really want to use kate as root or another user, you will have to do,
Code:
$xhost +localhost
$su
#kate filename
 
Old 05-14-2005, 01:18 PM   #3
improverrr
Member
 
Registered: Apr 2005
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by reddazz
You can use emacs or vi for editing text in a console. If you really want to use kate as root or another user, you will have to do,
Code:
$xhost +localhost
$su
#kate filename
this didnt quite work on my machine, but this did ( i got this from another forum)....appreciate the help though! (i hit your thanks button )



1 - Open Konsole
2 - Session --> New Shell
3 - Type--> xhost + [ENTER]
4 - View --> Shell
 
Old 05-14-2005, 02:10 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Its more or less the same command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kate for windows? LucidParody Linux - Software 5 10-27-2005 04:19 AM
whereis kate shanenin Linux - Software 4 09-15-2005 02:42 PM
Kate Is Not Working, Kate editor is not starting in Redhat 9 apur Linux - General 4 05-11-2004 09:52 AM
Kate Crashing cli_man Linux - Software 3 06-28-2003 11:15 PM
kate can not save dude Linux - Newbie 2 05-15-2002 05:08 AM


All times are GMT -5. The time now is 01:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration