LinuxForum.Fans
Тема

Иероглифы в консоли после запуска Х

Автор: demonust 4 сообщений 3149 просмотров
#55751

уже вроде всё перепробовал, но никак не могу решить данную проблему.
После запуска иксов, в терминале, вместо кириллицы, появляются кракозябры, если искы не запускались, то всё будет нормально. Завершение иксов не приводит к восстановлению шрифта.
Федора 12
вывод locale:
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=

#55752

Может не в терминале, а в консоли?

#55793

в консоли, я не знаю разницы между терминалом и консолью, так как везде пишется и терминал и консоль

#55805

попробуйте перед X запустить
savetextmode
а после выхода
textmode

похоже на это:

DESCRIPTION
These are simple scripts to save the SVGA register state when in textmode to the files /tmp/fontdata and
/tmp/textregs or to restore it from these files.

The actual utilities used are restorefont(1), restoretextmode(1), and restorepalette(1).

The purpose of these scripts program is usually to recover from a crashed console due to an svgalib, Xfree
or other program bug.

You do this by being a smart guy and running savetextmode right after booting of your machine, prior to
any problems. Then, in case the SVGA state is hosed and you sit in front of a blank or useless console,
change VC (maybe login) to get to a shell. Or exist the currently running program with <Ctrl>-C,
<Ctrl>-<Alt>-<Backspace>, or whatever applies. Once you got a shell, run textmode and it will hopefully
render your console useable again.

To make it clear: You do all this while not seeing anything on your console screen, you enter this infor‐
mation blindly or after logging in from a network. Also, if the keyboard is left in raw mode, nothing can
really help you as you cannot enter anything which a shell will understand.
Войдите или зарегистрируйтесь, чтобы ответить.