Bug 810971

Summary: Garbled character when logging into the installation system
Product: [openSUSE] openSUSE 12.2 Reporter: Hannes Reinecke <hare>
Component: BasesystemAssignee: E-mail List <gnome-bugs>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: forgotten_cAXlJ_FoSf, ncutler, werner
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SLES 11   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2-ssh-installation.png

Description Hannes Reinecke 2013-03-22 09:11:46 UTC
When starting an ssh installation I get a garbled character after logging via ssh into the installation system:

SUSE Linux Enterprise Server 11 Installation

- use 'extend' to load extensions (remove with 'extend -r'); extensions are:
    o bind, gdb

/usr/bin/xauth:  creating new authority file /root/.Xauthority
[11;0]Welcome to the inst-sys on 10.121.157.30 3.0.68-0.9-default s390x

run yast to start the installation

inst-sys:~ # yast
0
*** Starting YaST2 ***

The '[11;0]' is displayed quite odd, see the attached screenshot.
Comment 1 Hannes Reinecke 2013-03-22 11:08:45 UTC
Created attachment 531193 [details]
yast2-ssh-installation.png

Screenshot from the ssh session.
Comment 2 Fei Xiang Zhang 2013-03-25 02:26:45 UTC
please attach y2logs.if you are in doubt follow:
http://en.opensuse.org/openSUSE:Bugreport_YaST
thanks
Comment 3 Dr. Werner Fink 2013-04-08 07:05:24 UTC
IMHO the escape sequence was written by the same program/script which has also written the message ``Welcome to the inst-sys ...''
Comment 5 Hannes Reinecke 2013-04-08 07:14:17 UTC
hexdump -C /tmp/xterm.log 
00000000  0d 0a 53 55 53 45 20 4c  69 6e 75 78 20 45 6e 74  |..SUSE Linux Ent|
00000010  65 72 70 72 69 73 65 20  53 65 72 76 65 72 20 31  |erprise Server 1|
00000020  31 20 49 6e 73 74 61 6c  6c 61 74 69 6f 6e 0d 0a  |1 Installation..|
00000030  0d 0a 2d 20 75 73 65 20  27 65 78 74 65 6e 64 27  |..- use 'extend'|
00000040  20 74 6f 20 6c 6f 61 64  20 65 78 74 65 6e 73 69  | to load extensi|
00000050  6f 6e 73 20 28 72 65 6d  6f 76 65 20 77 69 74 68  |ons (remove with|
00000060  20 27 65 78 74 65 6e 64  20 2d 72 27 29 3b 20 65  | 'extend -r'); e|
00000070  78 74 65 6e 73 69 6f 6e  73 20 61 72 65 3a 0d 0a  |xtensions are:..|
00000080  20 20 20 20 6f 20 62 69  6e 64 2c 20 67 64 62 0d  |    o bind, gdb.|
00000090  0a 0d 0a 1b 5b 31 31 3b  30 5d 57 65 6c 63 6f 6d  |....[11;0]Welcom|
000000a0  65 20 74 6f 20 74 68 65  20 69 6e 73 74 2d 73 79  |e to the inst-sy|
000000b0  73 20 6f 6e 20 73 33 39  30 76 73 6c 30 34 32 2e  |s on s390vsl042.|
000000c0  73 75 73 65 2e 64 65 20  33 2e 30 2e 37 30 2d 30  |suse.de 3.0.70-0|
000000d0  2e 39 2d 64 65 66 61 75  6c 74 20 73 33 39 30 78  |.9-default s390x|
000000e0  0d 0a 0d 0a 72 75 6e 20  79 61 73 74 20 74 6f 20  |....run yast to |
000000f0  73 74 61 72 74 20 74 68  65 20 69 6e 73 74 61 6c  |start the instal|
00000100  6c 61 74 69 6f 6e 0d 0a  0d 0a 1b 5b 3f 31 30 33  |lation.....[?103|
00000110  34 68 69 6e 73 74 2d 73  79 73 3a 7e 20 23 20 65  |4hinst-sys:~ # e|
00000120  78 69 74 0d 0a 6c 6f 67  6f 75 74 0d 0a           |xit..logout..|
Comment 6 Hannes Reinecke 2013-04-08 07:24:16 UTC
echo -en "\e[11;0]"

triggers this issue directly. Turns out this is an issue with the 'Terminal' terminal emulator; plain xterm displays things just nicely.
Comment 7 Hannes Reinecke 2013-04-08 07:25:29 UTC
# rpm -qi Terminal
Name        : Terminal
Version     : 0.4.8
Release     : 8.1.2
Architecture: x86_64
Install Date: Mon 01 Oct 2012 09:14:09 AM CEST
Group       : System/X11/Terminals
Size        : 722099
License     : GPL-2.0+
Signature   : RSA/SHA256, Tue 17 Jul 2012 04:20:37 AM CEST, Key ID b88b2fd43dbdc284
Source RPM  : Terminal-0.4.8-8.1.2.src.rpm
Build Date  : Tue 17 Jul 2012 04:20:06 AM CEST
Build Host  : build21
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://goodies.xfce.org/projects/applications/terminal
Summary     : Terminal Emulator for the Xfce Desktop Environment
Comment 8 Hannes Reinecke 2013-04-08 07:27:43 UTC
So this is not an issue with the ssh server, but rather the client displaying this characters. Reassigning to correct product.
Comment 9 Forgotten User cAXlJ_FoSf 2013-04-08 08:25:38 UTC
Well some script prints \e[11;0] which isn't interpreted by vte (the terminal emulator widget used by Terminal/gnome-terminal) but printed verbatim, if you look closely at the screenshot you can see that the "garbled" character is the unicode character for ESC (001B). Since this character is probably substituted from a non-proportional font it has different metrics than the main proportional font and is overlapping with adjacent characters. So I'm not sure whether to even consider this a bug but feel free to assign this the vte maintainers.
Comment 10 Nathan Cutler 2017-08-14 14:49:39 UTC
Closing as WONTFIX for openSUSE 12.2, which is now out of maintenance. If the issue is still reproducible, please open a new bug against a more recent openSUSE version.