Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3424

Graphical Environments & Desktops • garbage printed in xterms on reboot

$
0
0
Ever seen anything like this?

Only upon reboot, all my autostarted xterm windows print a series of garbage lines before the bash prompt, and the number of garbage lines happens to equal the length of the prompt string.

I log in in text mode and startx through a .xsession file. This is X11, not wayland, and I configre two X displays as :0.0 and :0.1, each running openbox and tint2 instances. My xterm autostart from .xsession looks like

Code:

# ----------------------------------------------------------------------# setup xterms, supplying the proper screen offsetsxterms() {    ofs=${1:-+200+100}    cd $HOME    xterm -title "MISC-xterm" -ls -sb -sl 2000 -bg blue4 -fg white -fn 10x20 \        -geometry 150x40${ofs} &    xterm -title "BUFFER-xterm" -ls -sb -sl 2000 -bg DarkGreen -fg yellow2 -fn 10x20 \        -geometry 150x40${ofs} &    ( # tally canvas    cd /tally    xterm -title "TALLY-xterm" -ls -sb -sl 2000 -bg darkred -fg yellow2 -fn 10x20 \        -geometry 150x40${ofs} &    )}
exiting X11 to text mode and running startx again and the garbage lines dont appear. They only appear after a fresh reboot.

For purposes of testing PS1='user@\h:\w$ ' as set in /etc/bashrc.


Any clues?
screen.jpg

Statistics: Posted by kent_dorfman766 — 2024-12-17 05:39 — Replies 0 — Views 28



Viewing all articles
Browse latest Browse all 3424

Trending Articles