[opensuse] ssh, cd, watch X die
Ok, here's a "special" one. Brand new 12.3 install. In all other respects, quite happy. Now, this does NOT happen on all remote hosts, but just one. 1) ssh dmz host 2) ssh internal host 3) type cd /somewhere - hit enter 4) my local X session crashes. This is remarkably consistent with the above sequence. Any ideas what to look for? How to debug? Thanks. Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/29/2013 05:03 AM, Michael Fischer wrote:
Now, this does NOT happen on all remote hosts, but just one.
0) which terminal are you using locally? xterm, gnome-terminal, ...
1) ssh dmz host 2) ssh internal host
Does that mean that you are opening a connection from that dmz-host to another internal-host (probably in the DMZ), or that you open a new SSH session in another local terminal?
3) type cd /somewhere - hit enter
sounds innocent ... but some shells try to change the terminal's title to reflect PWD - using control sequences. See $PS1 which e.g. calls the function ppwd() here.
4) my local X session crashes.
Depending on the above control sequence, the terminal might send trash to the X server.
This is remarkably consistent with the above sequence.
Any ideas what to look for? How to debug?
... in the X server's logfile? Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, May 29, Bernhard Voelker wrote:
On 05/29/2013 05:03 AM, Michael Fischer wrote:
Now, this does NOT happen on all remote hosts, but just one.
0) which terminal are you using locally? xterm, gnome-terminal, ...
xterm
1) ssh dmz host 2) ssh internal host
Does that mean that you are opening a connection from that dmz-host to another internal-host (probably in the DMZ), or that you open a new SSH session in another local terminal?
The former.
3) type cd /somewhere - hit enter
sounds innocent ... but some shells try to change the terminal's title to reflect PWD - using control sequences. See $PS1 which e.g. calls the function ppwd() here.
Do you mean a custom $PS1? I have such, but it has never caused any such crash before.
4) my local X session crashes.
Depending on the above control sequence, the terminal might send trash to the X server.
This is remarkably consistent with the above sequence.
Any ideas what to look for? How to debug?
... in the X server's logfile?
Pity how that one gets overwritten on startx... Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/29/2013 03:31 PM, Michael Fischer wrote:
3) type cd /somewhere - hit enter
sounds innocent ... but some shells try to change the terminal's title to reflect PWD - using control sequences. See $PS1 which e.g. calls the function ppwd() here.
Do you mean a custom $PS1? I have such, but it has never caused any such crash before.
My PS1 is '$(ppwd \l)\u@\h:\w> ' which will do something like this: printf "\e]2;user@host:/some/where\007\e]1;host\007" > /dev/pts/1 Please note that PS1 on that 2x-remote host could be something different than on your PC. Depending on the shell on that host, does X still crash when you set PS1 to something static like '$ '?
... in the X server's logfile?
Pity how that one gets overwritten on startx...
A nice puzzle shouldn't be too easy. ;-) Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-05-29 at 09:31 -0400, Michael Fischer wrote:
... in the X server's logfile?
Pity how that one gets overwritten on startx...
Don't you get a .old one? - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlGmGKEACgkQtTMYHG2NR9XXLACfbhWB0SKromSdEfuNeOgZW4Gh pLQAn1ETXcgx4vD0IoUykLdIvjkiTe6R =X/jb -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, May 29, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday, 2013-05-29 at 09:31 -0400, Michael Fischer wrote:
... in the X server's logfile?
Pity how that one gets overwritten on startx...
Don't you get a .old one?
Yes, but it didn't contain the crash either... Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Bernhard Voelker
-
Carlos E. R.
-
Michael Fischer