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. |
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 |
Quote:
1 - Open Konsole 2 - Session --> New Shell 3 - Type--> xhost + [ENTER] 4 - View --> Shell |
Its more or less the same command.
|
All times are GMT -5. The time now is 12:36 PM. |