remote application X11 forewording not working
I have done this a lot, but on other systems, I configured the 2 I am currently using from the ground up in gentoo from a stage 1 install.
on the computer I wish the application to be displayed on I type:
access control disabled, clients can connect from any host
I then type:
ssh 192.168.3.1 (IP address of the host that will run the application)
I then try to run the application:
I get this error:
_X11TransSocketOpen: socket() failed for tcp
_X11TransSocketOpenCOTSClient: Unable to open socket for tcp
_X11TransOpen: transport open failed for tcp/192.168.3.2:0
** CRITICAL **: Unable to open display
I have done this successfuly several times and am not sure why it is not working on my current configuration.
Should it not be: ssh -X 192.168.3.1 ?
same error (and I still had to use export command) like I said I have done it this way many many times, but it was on slackware.
Shouldn't you do the "xhost +" on the host running the application (192.168.3.1)? Since the app is running there, it would be using the X services on that machine, and the remote computer (192.168.3.2) would be the one opening a client into the host's X server.
Probably wrong, probably stupid, but easy to try if you've got nothing else!
lol, I thaught it was clean, I used xhost + on the machine that was going to disoplay the program, and export on the machine that was runnign the program, that is also the correct way to do it, let me state once again, I manually typesd these commands to load xmms on these 2 machines for 3 months before changing them to gentoo, at which point the exact same commands in exact same sequence no longer worked, I am not lookinmg for command correction, I am looking for the problem, the syntax is correct and tested.
Sorry, didn't read carefully enough. Is there a default firewall setup? If one X has IPv6, do both have it (sounds like you configured both the same, though)? Does "strace xterm" give any more info?
strace isn't found, also I use eterm not xterm.
Finally not too busy at work, so ....
On remote host:
sshd_config has X11Forwarding yes
on the local host:
ssh -X remotehost
And that worked fine
I did not do an "xhost +" on remote host
Both are Redhat AS2.1, remotehost is in runlevel 3 and only serving vnc displays. On those displays, "xhost" reports "access control enabled - only authorized hosts can connect"
Hope this gets you closer to a solution.
|All times are GMT -5. The time now is 06:56 PM.|