jlightner, thank you very much for your answer.
Quote:
Originally Posted by jlightner
Can you open xterm on the bad client all by itself? (That is to say when you are at a command line prompt on the ubuntu client NOT after the ssh.)
|
Of course. I do that all the time. In fact, I first open an xterm, then type ssh -X user@server.
Quote:
Originally Posted by jlightner
When you DO ssh -X from the two clients what does "echo $DISPLAY" show for each of them?
|
From the bad client: localhost:10.0
From the good client: localhost:11.0
(I ssh-ed from the good client, shortly I ssh-ed from the bad one and both have ssh sessions running concurrently. Could that explain the different numbers?)
Quote:
Originally Posted by jlightner
Have you verified nothing in the login (bashrc, profile etc...) sets DISPLAY and overrides the tunnel DISPLAY you're trying to use?
|
Huh???
The login is the same for both (after all it's the same exact server).
Quote:
Originally Posted by jlightner
Have you compared firewall (iptables usually) configuration of the two clients to see if there are differences?
|
Where do I check iptables configuration on Ubuntu? One of the beauties of Ubuntu is that it allows its users to be clueless about its inneworkings. I am currently in such state in certain areas. When I posted this same question on the Ubuntu forums, I got 0 responses, which may suggest that I am not alone...
Quote:
Originally Posted by jlightner
Is either client running with SELinux enabled? Is the other?
|
As far as I know, none of the clients is running with SELinux enabled (how do I verify that?)
Quote:
Originally Posted by jlightner
Is there an internal router/firewall that needs to be configured?
|
No.
Interestingly enough, after going through all these steps (not changing anything in the systems - just checking, of course), ssh -X now seems to be working identically on both clients! This is crazy. I have no idea what happened since I last posted my request for help. Could it be that I only have this problem if I "su" on the server? No - I just did "su" on the server (after ssh-ing from the "bad" client) and it let me invoke Emacs in X (running on the server but displayed on the client). This is crazy. I don't understand what's happening. I can swear that I did not imagine the problem.
Thanks,
Alex