Just wondering if this is possible. Say I have two computers, Server A and Server B, both on the same network.
Server A: 192.168.1.2/24
Server B: 192.168.1.3/24
On Server A, I setup a user's X with "xhost 192.168.1.3"
On Server B, I setup another user's X with "xhost 192.168.1.2"
So this gives the user on Server A permission to open windows on Server B and vice versa.
Now when I'm on Server A, is there a way I can open an X window on Server B?
Something like
Code:
xclock -display 192.168.1.3:0
Can I do that? What's the correct syntax if so?
Would be neat to do the following from Server A
Code:
xmessage -display 192.168.1.3:0 "hey don't forget to bring the book"
Sure you can always text but this would be way more fun.
Also if this is possible, and Server A and Server B were on different networks and both behind NATd environments, which port would I have to forward on each router's end?