You are not logged in.
Pages: 1
Everytime I log into a freshly installed Arch, I get this error:
-bash: $'\337\376\032\274up_write': command not found
I do get a working prompt and everything seems to work just fine. But it bothers me that apparently something isn't right and I can't figure out what it is?
Anyone knows where this error comes from?
Last edited by mariourk (2012-05-03 10:14:42)
Always be wary of any helpful item that weighs less than its operating manual.
Offline
What do you have in your ~/.bashrc and ~/.bash_profile?
Burninate!
Offline
.bashrc
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
.bash_profile
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
I doubt it's in these files, because I have this error regardless as what user I login (currently only as a regular user and root). But of cource I could be wrong.
Always be wary of any helpful item that weighs less than its operating manual.
Offline
Try to insert
set -x
at the beginning of /etc/profile (after the first line). This should give much more verbose information about things happening during login.
Offline
Apperantly the error is caused by /etc/profile.d/gpm.sh
+ for profile in '/etc/profile.d/*.sh'
+ test -r /etc/profile.d/gpm.sh
+ . /etc/profile.d/gpm.sh
++ $'\337\376\032\274up_write'
-bash: $'\337\376\032\274up_write': command not found
/etc/profile.d/gpm.sh seems to contain some sort of binairy code?
^Zup_write^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@୵adown_write^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
What is the function of /etc/profile.d/gpm.sh? Can I just delete it?
Always be wary of any helpful item that weighs less than its operating manual.
Offline
Reinstalling gpm made the error disappear. Also, /etc/profile.d/gpm.sh now shows something sane
case $( /usr/bin/tty ) in
/dev/tty[0-9]*) [ -n "$(pgrep gpm)" ] && /usr/bin/disable-paste ;;
esac
I have no idea what went wrong here, but it seems to fixed.
Thanks!
Always be wary of any helpful item that weighs less than its operating manual.
Offline
Pages: 1