You are not logged in.
Pages: 1
I booted my computer this morning (Acer Aspire 6920, Arch x86_64) after updating last night before shutdown. I ran startx to see Awesome WM had updated, everything had been set back to default and I could not open a terminal. I quit awesome through its gui, and ran vim /etc/xdg/awesome/rc.lua to see what may have gone amok. About halfway through scrolling down the file all the characters on my screen changed to hieroglyphics, as in characters I type are displayed as something different. I was able to :q! out of vim (even though the characters displayed were not what I had input the command still functions) and now my bash prompt is also displayed in alternate characters. Commands such as cd and ls still function however all characters are changed on the display. When I log out the login prompt is also altered. Rebooting the machine causes it to function properly (character displayed == input) for a few minutes, but opening a file and scrolling through it always causes breakage.
I know this probably isn't enough information for you guys to help me, what else should I provide? I am currently logged into the computer running a copy of backtrack 5 r3 I have on a usb stick.
Thank you for whatever help/advice you have!
Offline
Further research into issue:
I booted back in as root, installed DWM via pacman to see if this is an awesome related issue, edited my xinitrc without issue, startx and DWM also would not open a terminal. ctrl+alt+backspace would not exit DWM so I had to reboot with power button.
Offline
The ascii code/characters make me think that perhaps something has gone wrong with your locale.
Try using an install disk to boot arch and check if your locale is OK.
R,
Offline
I doubt it is a locale issue - it sounds like something is echoing an escape code. Try the first of the following two commands at a functioning terminal to see if it reliably recreates the issue. If it does, the second (which you'll have to type "blindly") will fix it:
echo -e "\033(0"
echo -e "\033(B"If that is in fact the problem then you need to figure out what is echoing the problematic escape code and/or why. I'm pretty sure the "why" would be because you have set the TERM environment variable somewhere ... don't.
If this regularly happens while in vim, I am even more confident in my interpretation - it's the "thanks for flying vim" message.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Trilby, the commands you provided produce a similar effect, albeit with different characters. The error caused by vim is not rectified by the second command however, it changes the characters involved, but not back to readable.
I believe the problem may have to do with my use of rxvt-unicode, which is what I think you may be referring to with your implication of the TERM environment variable. When I run printenv the TERM variable is linux. My linuxFu is not that great though so I do not know where to begin attacking this problem from. Further evidence which I believe supports this hypothesis is nano does not replace black space while scrolling after rapidly scrolling through a document, it will replace a "ghosted" character with another character, but not with black space. Midnight Commander also malfunctions, the background and text blinks, and the file/directory names are gibberish until highlighted, once highlighted they stay readable even when moving to another item.
At this point I do not believe the problem is related to locale.
Thank you all for your continued help in this matter, I will update as progress is made.
Last edited by tubesontubes (2013-04-03 05:12:37)
Offline
I believe the problem may have to do with my use of rxvt-unicode ... When I run printenv the TERM variable is linux.
Are these issues in terminal emulators in X (urxvt), or in tty consoles, or both? Originally I thought you were saying this was only on ttys, but how does urxvt fit in then?
If you are in a tty (Ctrl-Alt-F(n) to get to tty #n) when you run printenv, or simply "$echo TERM" the TERM value should be "linux". When you are using urxvt, it should be something else starting with "rxvt-unicode".
Can you describe which environment the error happens in and which environment(s) you've check the value of $TERM?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
So far I can only access tty consoles. Both DWM and Awesome WM are inoperable at this time. Sorry for the confusion, as I said my linuxFu is not that great.
Offline
You really need to provide pacman's log of what was updated prior to this all going south.
If your awesome setup* was working well prior to this, then the packages in that update (and any .pacnews or error messages) will provide the most solid leads.
* Reminds me what a really unfortunate choice for a wm name...
Offline
Pacman.log from the past few days:
[2013-03-31 21:37] Running 'pacman -Syu'
[2013-03-31 21:37] synchronizing package lists
[2013-03-31 21:37] starting full system upgrade
[2013-03-31 21:38] upgraded boost-libs (1.52.0-3 -> 1.53.0-2)
[2013-03-31 21:38] upgraded sqlite (3.7.16-1 -> 3.7.16.1-1)
[2013-03-31 21:38] upgraded xproto (7.0.23-1 -> 7.0.24-1)
[2013-04-01 17:35] Running 'pacman -Syu'
[2013-04-01 17:35] synchronizing package lists
[2013-04-01 17:35] starting full system upgrade
[2013-04-01 17:35] upgraded awesome (3.5-2 -> 3.5.1-1)
[2013-04-01 17:35] upgraded libpulse (3.0-2 -> 3.0-3)
[2013-04-01 17:35] upgraded ffmpeg (1:1.2-1 -> 1:1.2-2)
[2013-04-01 17:35] upgraded libxkbcommon (0.2.0-3 -> 0.3.0-1)
[2013-04-02 07:08] Running 'pacman -Syu' ##-------------------I think this is where I began experiencing breakage, tried updating to see if it was a problem that had been patched
[2013-04-02 07:08] synchronizing package lists
[2013-04-02 07:08] starting full system upgrade
[2013-04-02 07:11] upgraded linux-api-headers (3.7.4-1 -> 3.8.4-1)
[2013-04-02 07:11] Generating locales...
[2013-04-02 07:11] en_US.UTF-8... done
[2013-04-02 07:11] Generation complete.
[2013-04-02 07:11] upgraded glibc (2.17-3 -> 2.17-4)
[2013-04-02 07:11] upgraded binutils (2.23.1-3 -> 2.23.2-1)
[2013-04-02 07:11] upgraded gcc-libs (4.7.2-4 -> 4.8.0-1)
[2013-04-02 07:11] upgraded gcc (4.7.2-4 -> 4.8.0-1)
[2013-04-02 07:11] upgraded lib32-glibc (2.17-2 -> 2.17-4)
[2013-04-02 07:11] upgraded lib32-gcc-libs (4.7.2-4 -> 4.8.0-1)
[2013-04-02 07:11] upgraded libltdl (2.4.2-7 -> 2.4.2-8)
[2013-04-02 07:11] upgraded libtool (2.4.2-7 -> 2.4.2-8)
[2013-04-02 07:11] Running 'pacman -S lyn' ##-------------------This is where I began installing cli tools to try and diagnose breakage
[2013-04-02 07:11] Running 'pacman -S lynx'
[2013-04-02 07:11] installed lynx (2.8.7-6)
[2013-04-02 11:00] Running 'pacman -Syu'
[2013-04-02 11:00] synchronizing package lists
[2013-04-02 11:00] starting full system upgrade
[2013-04-02 17:48] Running 'pacman -Syu'
[2013-04-02 17:48] synchronizing package lists
[2013-04-02 17:48] starting full system upgrade
[2013-04-02 17:52] Running 'pacman -S dwm'
[2013-04-02 17:52] -- Edit config.h in dwm's PKGBUILD directory (generally /var/abs/community/dwm/)
[2013-04-02 17:52] -- and rebuild package if you want to change settings.
[2013-04-02 17:52] installed dwm (6.0-1)
[2013-04-02 20:19] Running 'pacman -S mc'
[2013-04-02 20:19] installed slang (2.2.4-2)
[2013-04-02 20:19] installed mc (4.8.7-1)Offline
And this system had run flawlessly for how long before that update?
Can you please paste the output of `locale` and the contents of your /etc/locale.conf?
Offline
First line of pacman.log
[2013-02-23 15:21] Running 'pacman -r /mnt -Sy --cachedir=/mnt/var/cache/pacman/pkg base base-devel' Contents of /etc/locale.conf: LANG=en_US.UTF-8
I'll boot and run locale to get the output for you.
Update: Output of locale
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESSES="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=Last edited by tubesontubes (2013-04-03 18:34:42)
Offline
So your locale looks fine. Next I would focus on your shell and how that is set up: look through your shell initialization files (the Wiki has the details for both bash and zsh, depending on which one you use).
Revert them to the defaults and see if the errors persist.
Offline
I am just re-installing, thanks for the suggestions guys!
Offline
Pages: 1