You are not logged in.
I’m running Arch linux on a Thinkpad T40 laptop with e17 as a desktop environment, but I use LXTerminal as a terminal emulator for now.
Today I start LXTerminal, and it displays a cursor, but no prompt, and I cannot type anything in it. I do know that:
it worked yesterday,
Xterm still works,
LXTerminal works if started as root from xterm (but not as a user),
and I can su to my user account from this root terminal.
The following packages have been upgraded between then and now, but none of them looks very promising to me:
glibc
binutils
curl
firefox
gcc-libs
gcc-fortran
ghostscript
girara-common
girara-gtk2
iputils
linux
logrotate
mupdf
run-parts
syslog-ng
valgrind
vim-runtime
vim
zathura
None of ~/.bashrc, ~/.bash_profile, or /etc/bash.bashrc has changed recently, but i can reproduce them below. /etc/bash.bashrc has my PS1 definition in it. I have been unable to find a config file for lxterminal itself.
Help or advice would be greatly appreciated. Thank you.
# ~/.bashrc
# modified commands:
alias diff='colordiff' #requires colordiff package
alias grep='grep --color=auto'
alias more='less'
alias df='df -h'
alias du='du -c -h'
alias vi='vim'
alias ping='ping -c 3'
alias mkdir='mkdir -pv'
# ls:
alias ls='ls -hF --color=always'
alias ll='ls -l'
alias la='ls -A'
# safety:
alias chown='chown --preserve-root'
alias chmod='chmod --preserve-root'
alias chgrp='chgrp --preserve-root'
alias rm='rm -Iv'
alias ln='ln -i'
alias cp='cp -iv'
alias mv='mv -iv'
# new things:
alias up='cd ..'
alias upp='cd ../..'
alias uppp='cd ../../..'
alias upppp='cd ../../../..'
alias openports='netstat --all --numeric --programs --inet'
alias size='du -hs'
# for colored manpages:
man () \
{
env \
LESS_TERMCAP_mb=$(printf "\e[1;37m") \
LESS_TERMCAP_md=$(printf "\e[1;37m") \
LESS_TERMCAP_me=$(printf "\e[0m") \
LESS_TERMCAP_se=$(printf "\e[0m") \
LESS_TERMCAP_so=$(printf "\e[1;47;30m") \
LESS_TERMCAP_ue=$(printf "\e[0m") \
LESS_TERMCAP_us=$(printf "\e[0;36m") \
man "$@"
}
# ignore duplicate and blank entries in history:
export HISTCONTROL=ignoreboth
# tab completion for sudo commands:
complete -cf sudo
# run skype in a sandbox:
alias skype='xhost +SI:localuser:skype && su skype -c skype'
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
#
# /etc/bash.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
PS1='[\u@\h \W]\$ '
PS2='> '
PS3='> '
PS4='+ '
case ${TERM} in
xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
;;
screen)
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
;;
esac
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
Last edited by iemcd (2013-08-19 22:13:58)
Offline
Remove devpts fro your fstab?
Offline
Remove devpts fro your fstab?
No, it's still there. Should I?
Offline
Yes.
Offline
This needs to be front page on www.archlinux.org. I was told this today on IRC I should've removed this years ago but it was never in the news so how could I possibly know? Also, it was the installer that added it because I certainly didn't. Adding the two together means a lot of older-time people upgrading glibc will get burned.
Offline
I agree. I was burned by this as well. I didn't know what to do either, so I just downgraded glibc.
Offline
The question is, why did you have dwvpts in your fstab in the first place?
https://bbs.archlinux.org/viewtopic.php … 1#p1313371
Offline
The question is, why did you have dwvpts in your fstab in the first place?
https://bbs.archlinux.org/viewtopic.php … 1#p1313371
Like the thread you linked to says, it's always been there. I do have a pacnew file, but the formatting is the same and it's empty, so evidently I just kept using the one I had.
Thanks though Jason, that does seem to have been the issue. And I'm glad to know I wasn't the only one caught off guard.
I'm marking this solved now, thanks everyone.
Offline
Thanks for this thread. I was just burned by this as well in Konsole.
Offline
Seriously why is this not front page news, an old default is now killing something on up-to-date systems and it's packages that almost everyone have installed. TeXLive makes the front page but /etc/fstab is not important enough. Just put it there, it can't take more than a couple of minutes.
D:
Offline
Because the front page is for news: people not dealing with pacnews is not news, it is neglect.
If you want handholding, etc...
Offline
Hey, it was pretty hidden that /dev/pts wasn't required anymore, at least for me. Plus /etc/fstab.pacnew said nothing about removing /dev/pts, and in its absence I copied over all the entries from my previous fstab. Anyway, the number of users affected should be noted when considering if things should be news and there seems to be quite a few threads about for this problem.
D:
Offline
After last update I have the same problem but only after I do (as part of a chroot):
sudo mount -t devpts pts newroot/dev/pts
Only solution is reboot. Any ideas?
Last edited by doru001 (2013-08-25 16:20:30)
Offline
After last update I have the same problem but only after I do (as part of a chroot):
sudo mount -t devpts pts newroot/dev/pts
Only solution is reboot. Any ideas?
Have you tried
mount -t devpts -o rw,nosuid,noexec,gid=5,mode=620,ptmxmode=000 devpts dev/pts
Offline
Have you tried
mount -t devpts -o rw,nosuid,noexec,gid=5,mode=620,ptmxmode=000 devpts dev/pts
Thank you, that does it. The page changed since I visited it.
Man, you were fast.
Offline