Jump to content

xhost+ (wireshark saw network packets exchange), but fail display


Recommended Posts

Guest javanoob
Posted

Hi all,

 

1) I got 2 VMs running linux centos 6.5 in my office remotely.

 

2) With vsphere client, i logined to the individual console for vmNode1, and vmNode2.

 

3) Both nodes are on the same subnet, and can be ping from one another

 

4) Both nodes have their iptables turn off

 

5) Both nodes have x11-apps installed and i can run xclock before i change the $DISPLAY variable value.

 

-----------

 

nodeA ip = 192.168.123.243

nodeB ip = 192.168.123.233

 

1) Now, with nodeA as server, i done an xhost+ due to desperation to disable control list access.

 

2) with nodeB, i issue this command

export DISPLAY=192.168.123.243:0.0

 

3) within nodeB terminal, i done a xclock expecting the clock to be showing in nodeA, but have this error "Can't open Display:192.168.123.243:0.0"

 

4) within nodeA terminal, i ssh to node B and issue a xclock expecting the clock to be showing in nodeA, but still having the same error.

 

5) wireshark running on both nodes shows sending and receiving of the following message below

 

 

577 487.305938000 192.168.123.133 192.168.123.143 TCP 74 41530 > x11 [sYN] Seq=0 Win=14600 Len=0 MSS=1460 SACK_PERM=1 TSval=31909316 TSecr=0

WS=128

 

578 487.306376000 192.168.123.143 192.168.123.133 TCP 60 x11 > 41530 [RST, ACK] Seq=1 Ack=1 Win=0 Len=0

 

-----------------------

 

Q1) Not really sure what it meant, but the xServer (nodeA) seems to be resetting the connection ? (is RST reset ?)

 

Q2) Is my concept correct ? nodeA = Xserver nodeB = client

 

(nodeB) client set display to point to Xserver(nodeA)

 

Q3) or am i, on my local pc running the vsphere client's 2 consoles to see my nodeA and nodeB being the Xserver ??? (dont make sense to me).

 

Please advise!

 

Regards,

Noob!

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...