I have a client A (192.168.1.1)(vncviewer) accessing Server B (192.168.2.1) (RHEL6) to run a installer. The installation pre-requisite is to set the xhost and DISPLAY properly.
Q1) Please correct me if I am wrong for the following
- Xserver should be running in clientA
- DISPLAY should be set in Server B
- DISPLAY should be set to 192.168.1.1 (of client A's IP)
- Xhost on clientA should be set to allow Server B's IP (192.168.2.1)
Q2) Overhere, although I am running the installer over a network, I am using VNC to do it, and not using X. Do I still need to set the xhost and DISPLAY parameters ? If not, what value should be provided respectively for these parameters ?
Q3) In terms of X11 forwarding, what are the configurations that should be done on client A and Server B ?
Hope to hear your advices soon.
Regards,
Noob