I try to change locale for a program to run my native language with root. I don't know what I made, but can't open gui programs from konsole with root account. It appear this error:
Code:
root@laptop:/etc/profile.d# mousepad
(process:4284): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
No protocol specified
(mousepad:4284): Gtk-WARNING **: cannot open display: :0.0
root@laptop:/etc/profile.d#
When type locale, it appear:
Code:
root@laptop:/etc/profile.d# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_EN
LC_CTYPE="en_EN"
LC_NUMERIC="en_EN"
LC_TIME="en_EN"
LC_COLLATE=C
LC_MONETARY="en_EN"
LC_MESSAGES="en_EN"
LC_PAPER="en_EN"
LC_NAME="en_EN"
LC_ADDRESS="en_EN"
LC_TELEPHONE="en_EN"
LC_MEASUREMENT="en_EN"
LC_IDENTIFICATION="en_EN"
LC_ALL=
root@laptop:/etc/profile.d#
It seems all ok, because I changed LANG with bg_BG, but there is some problem with monitor "(mousepad:4284): Gtk-WARNING **: cannot open display: :0.0"
Yesterday I make run level 4 to skip typing startx in console, and login directly to KDE.
Could be that the problem?