Locale or run level - cannot open display message
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 When type locale, it appear: Code:
root@laptop:/etc/profile.d# locale Yesterday I make run level 4 to skip typing startx in console, and login directly to KDE. Could be that the problem? |
Try, from your own account:
Code:
kdesu mousepad To change locale, edit /etc/profile.d/lang.sh change en_US Code:
export LANG=en_US |
I want to run gui programs from konsole, as before. I don't know what I do, but can't run mousepad directly with root account. Something messed up. In lang.sh everything seems ok.
How can I fix "Using the fallback 'C' locale." Which locale should I change to what? |
I actually found a solution at (the first post of Nikos_M)
http://ubuntuforums.org/archive/index.php/t-166863.html but after restating it happen again The error is Invalid MIT-MAGIC-COOKIE-1 key (mousepad:3943): Gtk-WARNING **: cannot open display: :0.0 Can I delete that key and make it again or something ? |
Are you logging in as root, then trying kdesu? Log in as your regular user to use kdesu mousepad (or whatever GUI).
|
I log in as user and then su and pass to log in as root to make install or something else. I was able before to mousepad from root account, but after make some locale changes this error appear. I didn't make an image (but I have to) of the previous condition and I now I want to get back as before was.
|
All times are GMT -5. The time now is 09:46 PM. |